/* ============================================================
   /inserieren: landing page for the free employer profile
   (EmployerLandingController, employer-landing/landing.html.twig).
   Phone first; portal colours from the relaunch variables, with
   fallbacks for portals without them.
   ============================================================ */

.el { margin: 0 0 48px; color: #1f2933; }  /* full container width, level with the header (user 26.11.) */
.el h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--rl-accent, #144f7a); }
.el h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #1f2933; }
.el p { margin: 0 0 10px; line-height: 1.55; }
.el-section { margin: 40px 0 0; }
.el-lead { max-width: 680px; color: #4a5560; }
.el-small { font-size: 14px; color: #5f6b76; }
.el-center { margin-top: 20px; text-align: center; }
/* the boxes in a row are equally high; the signup button sits at the bottom of the Abo box */
.el-prices .el-price { display: flex; flex-direction: column; }
.el .el-price__cta { margin: auto 0 0; padding-top: 20px; text-align: center; }
.el-price__cta .el-btn { width: 100%; }
.el .el-service__cta { margin: 32px 0 0; }

/* buttons */
.el-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
    border-radius: 10px; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.el-btn:hover, .el-btn:focus-visible { text-decoration: none; }
.el-btn--solid { background: var(--rl-cta, #007186); color: #fff; }
.el-btn--solid:hover, .el-btn--solid:focus-visible { background: var(--rl-cta-dark, #005a6b); color: #fff; }
.el-btn--outline { border: 1.5px solid var(--rl-accent, #144f7a); background: #fff; color: var(--rl-accent, #144f7a); }
.el-btn--outline:hover, .el-btn--outline:focus-visible { background: var(--rl-accent-tint, #e8f0f6); color: var(--rl-accent, #144f7a); }

/* hero */
.el-hero { margin: 16px 0 0; padding: 28px 20px; border-radius: 16px; background: var(--rl-accent-tint, #e8f0f6); }
.el-hero__kicker { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
    color: var(--rl-accent, #144f7a); }
.el .el-hero h1 { position: static; margin: 0 0 12px; padding: 0; background: none; font-size: 28px; line-height: 1.2;
    font-weight: 800; color: #10273a; }
.el-hero__text { max-width: 640px; font-size: 17px; color: #33414d; }
.el-hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 18px 0 12px; }
.el-hero__login { align-self: center; font-weight: 600; color: var(--rl-accent, #144f7a); }
.el-hero__note { margin: 0; font-size: 14px; color: #4a5560; }
.el-hero__note .fa { color: var(--rl-cta, #007186); }

/* benefits */
.el-benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.el-benefit { padding: 18px; border: 1px solid var(--rl-line, #e3e3e3); border-radius: 14px; background: #fff; }
.el-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    margin: 0 0 10px; border-radius: 10px; background: var(--rl-accent-tint, #e8f0f6); color: var(--rl-accent, #144f7a); font-size: 20px; }
/* headings only: icon and heading side by side */
.el-benefit { display: flex; align-items: center; gap: 14px; }
.el-benefit__icon { flex: 0 0 auto; margin: 0; }
.el-benefit h3 { margin: 0; font-size: 17px; }

/* steps */
.el-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.el-step { position: relative; padding: 18px 18px 18px 66px; border-radius: 14px; background: #f5f7f9; }
.el-step__num { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--rl-cta, #007186); color: #fff; font-weight: 800; }
.el-step p { margin: 0; color: #4a5560; }

/* prices and service packages */
.el-prices, .el-packages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.el-price, .el-package { position: relative; padding: 20px; border: 2px solid var(--rl-line, #e3e3e3); border-radius: 14px; background: #fff; }
.el-price__amount { margin: 2px 0 10px; font-size: 26px; font-weight: 800; color: #10273a; }
.el-price__amount span { display: block; font-size: 14px; font-weight: 600; color: #5f6b76; }
.el-tiers { margin: 12px 0; padding: 0; list-style: none; border-top: 1px solid var(--rl-line, #e3e3e3); }
.el-tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rl-line, #e3e3e3); }
.el-tiers li strong { white-space: nowrap; }
/* more than three tiers: the list shows three rows and scrolls, the arrow at the bottom scrolls on (user 26.11.) */
.el-tiers-box { position: relative; margin: 12px 0; }
.el-tiers-box .el-tiers { margin: 0; }
.el-tiers-box--more .el-tiers { max-height: calc(3 * 45px + 1px); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; }
.el-tiers-box--more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; transition: opacity .2s; }
.el-tiers-more { position: absolute; line-height: 0; left: 50%; bottom: -14px; z-index: 1; display: inline-flex; align-items: center;
    justify-content: center; width: 32px; height: 32px; margin-left: -16px; padding: 0; border: 1.5px solid var(--rl-accent, #144f7a);
    border-radius: 50%; background: #fff; color: var(--rl-accent, #144f7a); font-size: 13px; cursor: pointer;
    transition: opacity .2s; }
.el-tiers-more:hover, .el-tiers-more:focus-visible { background: var(--rl-accent-tint, #e8f0f6); }
.el-tiers-box--end::after, .el-tiers-box--end .el-tiers-more { opacity: 0; pointer-events: none; }
.el-tiers-box--more + .el-small { margin-top: 26px; }
.el-price__note { margin-bottom: 4px; }
.el-price .el-small .fa { color: var(--rl-cta, #007186); }
.el-service { padding: 24px 20px; border-radius: 16px; background: #f5f7f9; }
.el-package--top { border-color: var(--rl-cta, #007186); box-shadow: 0 6px 20px rgba(16, 42, 67, .10); }
/* the tag sits on the top border: the card content stays level with the other two */
.el-package__tag { position: absolute; top: -13px; left: 18px; padding: 3px 10px; border-radius: 999px;
    background: var(--rl-cta, #007186); color: #fff; font-size: 13px; font-weight: 700; }
.el-package p:last-child { margin: 0; color: #4a5560; }
.el-packages { margin-top: 24px; row-gap: 24px; }
/* advertising channels of the Gold and Platin packages */
.el-package p.el-channels { display: flex; gap: 8px; margin: 12px 0 0; }
.el-channel { display: block; width: 28px; height: 28px; }

/* portal logos next to the Abo box */
.el-logos { padding: 20px; border: 2px solid var(--rl-line, #e3e3e3); border-radius: 14px; background: #fff; }
.el-logos ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: center;
    margin: 14px 0 0; padding: 0; list-style: none; }
.el-logos img { display: block; width: auto; max-width: 100%; height: 24px; object-fit: contain; object-position: left center; }

/* advisor */
.el-advisor { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 0; padding: 20px; border-radius: 16px;
    border: 1px solid var(--rl-line, #e3e3e3); background: #fff; }
.el-advisor h2 { font-size: 20px; }
.el-advisor__photo { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.el-advisor__initials { display: inline-flex; align-items: center; justify-content: center; background: var(--rl-accent-tint, #e8f0f6);
    color: var(--rl-accent, #144f7a); font-size: 22px; font-weight: 800; }
.el-advisor__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 12px 0 0; }
.el-advisor__phone { font-weight: 700; color: var(--rl-accent, #144f7a); }
/* phones: photo and heading side by side, text and buttons below over the full box width (user 26.11.) */
@media (max-width: 639px) {
    .el-advisor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; align-items: center; }
    .el-advisor > div { display: contents; }
    .el-advisor h2 { margin: 0; }
    .el-advisor p { grid-column: 1 / -1; }
    .el-advisor > div > p:first-of-type { margin-top: 14px; }
    .el-advisor__photo { width: 56px; height: 56px; font-size: 19px; }
    .el-advisor__actions { flex-direction: column; align-items: stretch; text-align: center; }
}

/* FAQ */
.el-faq details { border-bottom: 1px solid var(--rl-line, #e3e3e3); }
.el-faq details:first-child { border-top: 1px solid var(--rl-line, #e3e3e3); }
.el-faq summary { position: relative; padding: 14px 32px 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.el-faq summary::-webkit-details-marker { display: none; }
.el-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 400;
    color: var(--rl-accent, #144f7a); }
.el-faq details[open] summary::after { content: "–"; }
.el-faq details p { padding: 0 0 14px; color: #4a5560; }

.el-final { margin: 40px 0 0; text-align: center; }
.el-final .el-btn { width: 100%; }

@media (min-width: 640px) {
    .el-hero { padding: 40px 36px; }
    .el .el-hero h1 { font-size: 36px; }
    .el-hero__actions { flex-direction: row; align-items: center; gap: 20px; }
    .el-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .el-prices { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    /* only the Abo is offered (user 25.11.): one card, not stretched over the full width */
    .el-price:only-child { justify-self: center; width: 100%; max-width: 560px; }
    /* Abo box and portal logos half and half on tablets */
    .el-prices--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .el-price__cta .el-btn { width: auto; }
    .el-final .el-btn { width: auto; }
}
@media (min-width: 900px) {
    .el-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .el-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .el-step { padding: 64px 20px 20px; }
    .el-packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Abo box 2/3, portal logos 1/3 */
    .el-prices--logos { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .el-service { padding: 32px; }
}
