/* RenPortal Forside – Clean, light, professional */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --rph-blue:       #2F80ED;
    --rph-blue-dark:  #1a6fd4;
    --rph-blue-light: #EBF3FD;
    --rph-blue-xlight:#F5F9FF;
    --rph-text:       #111827;
    --rph-muted:      #6B7280;
    --rph-border:     #E5E7EB;
    --rph-bg:         #F9FAFB;
    --rph-white:      #ffffff;
    --rph-dark:       #111827;
    --rph-font:       'Manrope', sans-serif;
    --rph-radius:     8px;
    --rph-max:        1300px;
}

.rp-home * { box-sizing: border-box; margin: 0; padding: 0; }
.rp-home { font-family: var(--rph-font); color: var(--rph-text); overflow-x: hidden; background: var(--rph-white); }
.rp-home a { text-decoration: none; }
.rp-home section { width: 100%; }

/* Stop Elementor entrance animations på vores elementer */
.elementor-widget-shortcode .animated,
.elementor-widget-shortcode .elementor-invisible {
    visibility: visible !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Vores egne animationer skal stadig virke */
.rph-mock-card-front {
    animation: rph-float 5s ease-in-out infinite !important;
}

.rp-home p  { line-height: 1.6; display: block; }
.rp-home h1 { line-height: 1.1; }
.rp-home h2 { line-height: 1.2; display: block; }
.rp-home h3 { line-height: 1.3; display: block; }

.rp-home .rph-btn {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.rph-container {
    max-width: var(--rph-max);
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 640px) { .rph-container { padding: 0 20px; } }

/* ── BUTTONS ── */
.rph-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-family: var(--rph-font);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -.1px;
}

.rph-btn-primary {
    background: var(--rph-blue);
    color: #fff;
    border-color: var(--rph-blue);
}

.rph-btn-primary:hover {
    background: var(--rph-blue-dark);
    border-color: var(--rph-blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47,128,237,.28);
}

.rph-btn-outline {
    background: transparent;
    color: var(--rph-text);
    border-color: var(--rph-border);
}

.rph-btn-outline:hover {
    border-color: var(--rph-blue);
    color: var(--rph-blue);
}

.rph-btn-dark {
    background: var(--rph-dark);
    color: #fff;
    border-color: var(--rph-dark);
}

.rph-btn-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.rph-btn-white {
    background: #fff;
    color: var(--rph-blue);
    border-color: #fff;
}

.rph-btn-white:hover {
    background: var(--rph-blue-light);
    border-color: var(--rph-blue-light);
    color: var(--rph-blue);
}

.rph-btn-outline-white {
    background: transparent;
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.3);
}

.rph-btn-outline-white:hover {
    border-color: rgba(255,255,255,.7);
    color: #fff;
}

.rph-btn-sm { padding: 9px 18px; font-size: 13px; }
.rph-btn-full { width: 100%; justify-content: center; }

/* ── HERO ── */
.rph-hero {
    padding: 100px 0 80px;
    background: var(--rph-white);
    border-bottom: 1px solid var(--rph-border);
}

.rph-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 860px) {
    .rph-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .rph-hero-visual { display: none; }
    .rph-hero { padding: 72px 0 60px; }
}

.rph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-blue);
    margin-bottom: 22px;
}

.rph-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--rph-blue);
    border-radius: 2px;
}

.rph-h1 {
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--rph-text);
    margin-bottom: 24px;
}

.rph-h1 em {
    font-style: normal;
    color: var(--rph-blue);
}

.rph-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--rph-muted);
    margin-bottom: 44px;
    max-width: 420px;
    font-weight: 500;
}

.rph-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.rph-hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 36px;
    border-top: 1px solid var(--rph-border);
    flex-wrap: wrap;
}

.rph-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--rph-text);
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 10px;
}

.rph-stat span {
    font-size: 12px;
    color: var(--rph-muted);
    font-weight: 500;
}

.rph-stat-div {
    width: 1px;
    height: 36px;
    background: var(--rph-border);
}

/* ── Hero visual – mock card ── */
.rph-hero-visual {
    position: relative;
    padding: 20px 0;
}

.rph-card-stack {
    position: relative;
    height: 320px;
}

.rph-mock-card {
    position: absolute;
    border-radius: 16px;
}

.rph-mock-card-back {
    width: 300px; height: 240px;
    top: 40px; right: 0;
    background: var(--rph-blue-xlight);
    border: 1.5px solid var(--rph-blue-light);
    transform: rotate(3.5deg);
}

.rph-mock-card-mid {
    width: 320px; height: 260px;
    top: 20px; right: 16px;
    background: var(--rph-blue-light);
    border: 1.5px solid #C7DFFB;
    transform: rotate(1.5deg);
}

.rph-mock-card-front {
    width: 340px;
    top: 0; right: 32px;
    padding: 22px;
    background: var(--rph-white);
    border: 1.5px solid var(--rph-border);
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
    animation: rph-float 5s ease-in-out infinite;
}

@keyframes rph-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.rph-mock-badge {
    display: inline-block;
    background: var(--rph-blue-light);
    color: var(--rph-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.rph-mock-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--rph-text);
    margin-bottom: 8px;
    letter-spacing: -.2px;
    line-height: 1.3;
}

.rph-mock-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--rph-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.rph-mock-desc {
    font-size: 13px;
    color: var(--rph-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rph-border);
}

.rph-mock-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rph-mock-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.rph-mock-bar {
    flex: 1;
    height: 4px;
    background: var(--rph-border);
    border-radius: 2px;
    overflow: hidden;
}

.rph-mock-fill {
    height: 100%;
    background: var(--rph-blue);
    border-radius: 2px;
}

.rph-mock-meter span { font-size: 11px; color: var(--rph-muted); white-space: nowrap; font-weight: 600; }

.rph-mock-btn {
    background: var(--rph-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 6px;
    white-space: nowrap;
}

/* ── FORDELE ── */
.rph-fordele {
    padding: 120px 0;
    background: var(--rph-bg);
}

.rph-fordele-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 820px) {
    .rph-fordele-grid { grid-template-columns: 1fr; gap: 60px; }
    .rph-fordele-sep  { display: none; }
}

.rph-fordele-sep {
    background: var(--rph-border);
    align-self: stretch;
}

.rph-fordele-col {
    min-width: 0;
}

.rph-flist {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.rph-fitem {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rph-ficon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--rph-blue-light);
    color: var(--rph-blue);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-top: 2px;
}

.rph-ficon-neutral {
    background: #F3F4F6;
    color: var(--rph-text);
}

.rph-ftext {
    display: block;
    min-width: 0;
}

.rph-ftext strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--rph-text);
    margin-bottom: 5px;
    letter-spacing: -.1px;
}

.rph-ftext span {
    display: block;
    font-size: 14px;
    color: var(--rph-muted);
    line-height: 1.55;
}

.rph-fordele-divider { background: var(--rph-border); align-self: stretch; }

.rph-fordele-col {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s, transform .5s;
    min-width: 0;
    overflow: hidden;
}

.rph-fordele-col.rph-visible { opacity: 1; transform: translateY(0); }
.rph-fordele-col:nth-child(3) { transition-delay: .15s; }

.rph-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.rph-label-kunde  { background: var(--rph-blue-light); color: var(--rph-blue); }
.rph-label-firma  { background: #F3F4F6; color: var(--rph-text); }

.rph-h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.6px;
    color: var(--rph-text);
    margin-bottom: 28px;
}

/* ── SÅDAN FUNGERER DET ── */
.rph-how {
    padding: 96px 0;
    background: var(--rph-white);
}

.rph-section-head {
    margin-bottom: 48px;
}

.rph-eyebrow-alt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-blue);
    margin-bottom: 12px;
}

.rph-eyebrow-alt::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--rph-blue);
    border-radius: 2px;
}

.rph-h2-lg {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -.8px;
    color: var(--rph-text);
    line-height: 1.15;
}

.rph-how-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 48px;
    background: var(--rph-bg);
    border: 1.5px solid var(--rph-border);
    border-radius: 9px;
    padding: 4px;
    width: fit-content;
}

.rph-tab {
    padding: 9px 20px;
    border-radius: 6px;
    font-family: var(--rph-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--rph-muted);
    transition: all .15s;
}

.rph-tab:hover { color: var(--rph-text); }

.rph-tab-active {
    background: var(--rph-white) !important;
    color: var(--rph-text) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    font-weight: 700;
}

.rph-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

@media (max-width: 680px) {
    .rph-steps { grid-template-columns: 1fr; }
    .rph-step-arrow { transform: rotate(90deg); text-align: center; padding: 8px 0; }
}

.rph-hidden { display: none !important; }

.rph-step {
    padding: 28px 24px;
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    border: 1.5px solid var(--rph-border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s, transform .45s;
}

.rph-step.rph-visible { opacity: 1; transform: translateY(0); }
.rph-step:nth-child(3) { transition-delay: .1s; }
.rph-step:nth-child(5) { transition-delay: .2s; }

.rph-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-blue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rph-step-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rph-blue-light);
}

.rph-step h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -.2px;
}

.rph-step p {
    font-size: 14px;
    color: var(--rph-muted);
    line-height: 1.55;
}

.rph-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--rph-border);
    font-size: 20px;
}

/* ── FIRMA CTA ── */
.rph-firma-cta {
    padding: 80px 0;
    background: var(--rph-dark);
}

.rph-firma-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.rph-firma-cta-text h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--rph-white);
    margin-bottom: 8px;
    letter-spacing: -.5px;
    display: block;
    line-height: 1.2;
}

.rph-firma-cta-text p {
    font-size: 15px;
    color: rgba(255,255,255,.5);
    max-width: 400px;
    font-weight: 500;
    display: block;
    line-height: 1.6;
}

.rph-firma-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ── Scroll reveal ── */

/* ── Override Elementor --width constraint ── */
.elementor-shortcode .e-con {
    --width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
