/* www.fpr.dk – styles der kun hører til dette site.
   Farver, typografi, header/footer, knapper og formularfelter kommer fra Fpr.Blazor.Shared (fpr.css). */

/* Forside – hero */
.hero { color: #fff; background: #1C333B url("img/bg-bold.jpg") right top / auto 100% no-repeat; }
.hero__inner { display: flex; flex-direction: column; gap: 28px; padding-block: 56px 72px; }
.hero__intro { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.hero .eyebrow { color: var(--blue-100); margin: 0; }
.hero__lead { margin: 0; font-size: 18px; color: var(--blue-50); max-width: 520px; }
.hero__photo { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; }
.hero__cta { border-top: 1px solid var(--steel); padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.hero__cta p { margin: 0; max-width: 520px; color: var(--blue-50); }
.hero__cta strong { font-weight: 600; color: #fff; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--blue-50); }
.steps__no { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .8; color: var(--blue); }

/* Forside – ydelser */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--blue-50); color: var(--navy); text-decoration: none; }
a.card:hover { color: var(--navy); background: var(--blue-100); }
.card__media { height: 220px; display: flex; flex-direction: column; justify-content: center; padding: 28px; gap: 4px; }
.card__media--petrol { background: var(--petrol); color: #fff; }
.card__media--navy { background: var(--navy); color: #fff; align-items: center; text-align: center; font-size: 22px; }
.card__media--blue { background: var(--blue); }
.card__media--placeholder { background: var(--blue-200); align-items: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.card__media small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-100); }
.card__media .display { font-size: 40px; line-height: .9; }
.card__body { padding: 22px 24px 28px; }
.card__body h3 { margin: 0 0 6px; font-size: 22px; }
.card__body p { font-size: 15px; }

/* Forside – filosofi */
.quote { margin: 0; font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; }

/* De 10 bud */
.bud-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.bud { display: flex; gap: 24px; padding: 40px 36px; min-height: 260px; font-size: 15px; }
.bud--sage { background: var(--sage-light); }
.bud--blue { background: var(--blue); }
.bud--mid { background: var(--blue-200); }
.bud--pale { background: var(--blue-50); }
.bud__no { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: .8; flex: none; width: 110px; }
.bud h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.15; }
.duties { background: var(--sand-dark); padding: clamp(32px, 6vw, 72px); }
.duties .display { font-size: clamp(34px, 4vw, 52px); margin-bottom: 28px; }
.duties ol { margin: 0; padding: 0; list-style: none; counter-reset: d; display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.duties li { counter-increment: d; font-size: 15px; }
.duties h3 { margin: 0 0 6px; font-size: 20px; }
.duties h3::before { content: counter(d) ". "; font-family: var(--font-display); font-weight: 800; font-size: 28px; }

/* Bliv kunde */
.signup { background: linear-gradient(100deg, var(--blue-100) 0%, var(--blue-100) 45%, var(--steel) 100%); }
.signup__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 72px; align-items: center; padding-block: 80px; }
.form-card { background: var(--blue-50); padding: 32px; border-radius: 10px; margin-top: 24px; }
.form-card .display { font-size: clamp(36px, 10vw, 52px); margin-bottom: 20px; }
.form-card .btn { width: 100%; margin-top: 20px; font-family: var(--font-cond); font-size: 20px; }
.notice { background: #fff; padding: 24px; font-size: 16px; }
.notice h2 { margin: 0 0 8px; font-size: 26px; }

/* Q&A */
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px 64px; align-items: start; }
.qa__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 14vw, 180px); line-height: .8; color: var(--petrol); }
.qa details { border-bottom: 1px solid var(--steel); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-block: 12px; font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: var(--petrol); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-right: 8px; border-right: 4px solid var(--pink); border-bottom: 4px solid var(--pink); transform: translateY(-4px) rotate(45deg); transition: transform .15s; }
.qa details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.qa__answer { padding: 0 48px 20px 0; font-size: 15px; }

@media (max-width: 800px) { .qa { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .bud { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

/* Ankerlinks (fx bliv-kunde#qa) */
.qa { scroll-margin-top: 24px; }

/* Forside – Q&A-kortet: billedet fylder feltet og beholder sine proportioner */
.card__media--qa { padding: 0; background: #8db1d1; }
.card__media--qa img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.card__body h3 { line-height: 1.15; }

/* Forside – Mennesker-kortet: udsnit af holdbilledet */
.card__media--people { padding: 0; background: var(--steel) url("img/holdet.jpg") 50% 68% / 300% auto no-repeat; }

/* Mennesker */
.people-photo { width: 100%; aspect-ratio: 27 / 10; object-fit: cover; object-position: 50% 76%; }
.people-text .display { font-size: clamp(32px, 3.5vw, 48px); margin-bottom: 20px; }
.people-text p { max-width: 900px; }

/* Forside – "Hvem er vi"-kortet: forstørret udsnit af brancheforsikringsmærket */
.card__media--seal { padding: 0; overflow: hidden; background: var(--navy); }
.card__media--seal svg { display: block; width: 100%; height: 100%; fill: #fff; font-family: var(--font-body); font-size: 46px; letter-spacing: 1px; }

/* Hvem er vi */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.promise { padding: 40px 36px; }
.promise--blue { background: var(--blue); }
.promise--pale { background: var(--blue-50); }
.promise h2 { margin: 0 0 16px; font-size: 26px; }
.promise ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.value-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.value-grid li { border-top: 3px solid var(--petrol); padding-top: 16px; font-size: 15px; }
.value-grid h3 { margin: 0 0 8px; font-size: 22px; }

/* Forside – "International kapacitet & kompetence"-kortet: logobilledet fylder feltet over et gråblåt forløb og beholder sine proportioner */
.card__media--sp { padding: 0; background: linear-gradient(to right, #b6cbd9, #97a8b3); }
.card__media--sp img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.about-intro { display: flex; flex-direction: column; gap: 32px; }
.about-intro__bold { width: min(260px, 70%); align-self: center; }
@media (max-width: 800px) { .about-intro__bold { width: 180px; align-self: flex-start; } }

/* Forside – lang side: sektioner med "Læs mere"-links */
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--petrol); text-decoration: none; }
.more-link::after { content: "→"; transition: transform .2s ease; }
.more-link:hover { color: var(--navy); }
.more-link:hover::after { transform: translateX(4px); }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.band--pale { background: var(--blue-50); }
.band--mid { background: var(--blue-200); }
.cta-band { color: #fff; background: var(--navy); }
.cta-band .eyebrow { color: var(--blue-100); }
.cta-band .prose { color: var(--blue-50); }
.cta-band .lead { color: #fff; }
.qa__more { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .more-link::after { transition: none; } }

/* Bliv kunde – sektioner fra "Samarbejde – overblik og hvad får man" */
.explain { padding-block: 40px; font-size: 16px; }
.explain p { max-width: 1000px; margin: 0; }
.explain--cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.explain--cta p { flex: 1 1 520px; }
.btn--pink { background: var(--pink); color: #fff; text-transform: none; letter-spacing: 0; font-size: 20px; padding: 12px 40px; }
.btn--pink:hover { background: #d94d6a; color: #fff; }

.overview { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); align-items: center; }
.overview__cover { position: relative; z-index: 1; width: 125%; max-width: 460px; margin-right: -25%; }
.overview__table { width: 100%; border-collapse: collapse; font-size: 18px; font-weight: 600; }
.overview__table thead th { background: var(--navy); color: #fff; text-align: center; padding: 10px 16px; }
.overview__table thead th:first-child { text-align: left; padding-left: 90px; }
.overview__table tbody th { text-align: left; font-weight: 600; padding: 8px 16px 8px 90px; }
.overview__table td { text-align: center; padding: 8px 16px; width: 1%; white-space: nowrap; }
.overview__table tbody tr:nth-child(even) { background: var(--blue-200); }
.mark { display: inline-block; width: 26px; height: 26px; vertical-align: middle; background: center / contain no-repeat; }
.mark--yes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238DA184' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13l6 6L21 4'/%3E%3C/svg%3E"); }
.mark--rec { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003144' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13l6 6L21 4'/%3E%3C/svg%3E"); }
.mark--no { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC627E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E"); }

.practical img { width: 100%; max-width: 1000px; margin: 0 auto; }
.practical__list { list-style: none; margin: 16px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: center; font-weight: 600; font-size: 20px; line-height: 1.2; }
.practical__cta { text-align: center; margin: 0; }

.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.partner__lead { margin: 0 0 24px; font-weight: 600; font-size: 22px; line-height: 1.3; color: #BE3657; }
.partner__sub { margin: 0 0 8px; font-weight: 600; font-size: 20px; }
.partner ul { margin: 0; padding-left: 1.1em; font-weight: 600; font-size: 19px; line-height: 1.45; }
.worlds { width: 100%; max-width: 1000px; }

@media (max-width: 800px) {
    .overview { grid-template-columns: minmax(0, 1fr); }
    .overview__cover { max-width: 200px; margin: 0 auto -24px; }
    .overview__table { font-size: 15px; }
    .overview__table thead th:first-child, .overview__table tbody th { padding-left: 12px; }
    .overview__table td, .overview__table thead th { padding-inline: 6px; }
    .partner { grid-template-columns: minmax(0, 1fr); }
    .practical__list { font-size: 15px; }
}
@media (max-width: 520px) {
    .overview__table { font-size: 14px; }
    .overview__table thead th { font-size: 12px; padding: 8px 4px; }
    .overview__table thead th:first-child, .overview__table tbody th { padding-left: 8px; padding-right: 4px; }
    .overview__table td { padding-inline: 4px; }
    .mark { width: 20px; height: 20px; }
}
@media (max-width: 520px) { .form-card { padding: 24px 20px; } }

/* Bliv kunde – fejlbesked, når henvendelsen ikke kunne sendes */
.form-error { margin: 0 0 20px; padding: 16px 20px; background: #FCE8EC; border-left: 4px solid #B3261E; color: #5C1A14; font-size: 15px; }
.form-error p { margin: 0 0 6px; }
.form-error a { color: #5C1A14; }
