:root {
    --navy: #0B1F3A;
    --navy-mid: #14305A;
    --navy-light: #1E4178;
    --accent: #2B6CB0;
    --accent-soft: #E8F1FB;
    --white: #FFFFFF;
    --bg: #F4F6F9;
    --bg-alt: #EEF2F7;
    --border: #D8DEE8;
    --text: #1A2332;
    --muted: #5A6A7E;
    --success: #1B7A4E;
    --success-bg: #E6F5EE;
    --star: #D4A017;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
    --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-serif: "Source Serif 4", "Libre Baskerville", Georgia, "Times New Roman", serif;
    --max: 1100px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body.rdb-front-page,
  .rdb-home {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button, input { font: inherit; }

  

  .wrap {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
  }

  /* —— Header (navy) —— */
  .site-header {
    background: var(--navy);
    border-bottom: none;
  }

  .site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-lockup {
    height: 36px;
    width: auto;
    display: block;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
  }

  .nav a:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

  .nav a.nav-cta {
    background: var(--white);
    color: var(--navy);
    padding: 9px 16px;
  }

  .nav a.nav-cta:hover { background: var(--accent-soft); color: var(--navy); }

  /* —— Hero —— */
  .hero {
    background: var(--white);
    padding: 52px 0 60px;
    border-bottom: 1px solid var(--border);
  }

  .hero-grid {
    display: grid;
    gap: 36px;
    align-items: center;
  }

  @media (min-width: 800px) {
    .hero-grid {
      grid-template-columns: 1.05fr 0.95fr;
      gap: 40px;
    }
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }

  .hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero-lede {
    font-size: clamp(15px, 2.2vw, 17px);
    color: var(--muted);
    max-width: 38em;
    margin-bottom: 28px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
  }

  .hero-actions .btn-primary.btn-lg {
    font-size: clamp(18px, 2.5vw, 22px);
    min-height: 72px;
    padding: 18px 34px;
    width: min(100%, 430px);
    box-shadow: 0 4px 14px rgba(11,31,58,.25);
    font-weight: 700;
  }

  .hero-actions .btn-secondary {
    font-size: 15px;
    min-height: 46px;
    padding: 11px 19px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 650;
    padding: 13px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
  }

  .btn:active { transform: scale(0.98); }

  .btn .btn-arrow {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    transition: transform 0.15s;
  }

  .btn:hover .btn-arrow { transform: translateX(2px); }

  .btn-primary {
    background: var(--navy);
    color: white;
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.25);
  }

  .btn-primary:hover { background: var(--navy-light); }

  .btn-secondary {
    background: white;
    color: var(--navy);
    border-color: var(--navy);
  }

  .btn-secondary:hover {
    border-color: var(--navy-light);
    background: var(--accent-soft);
  }

  .btn-lg { padding: 15px 26px; font-size: 16px; }

  .hero-note {
    font-size: 13px;
    color: var(--muted);
  }

  .hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-art img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-inline: auto;
  }

  .stars {
    display: inline-flex;
    gap: 2px;
    color: var(--star);
    font-size: 14px;
    letter-spacing: 1px;
  }

  .stars span { color: #D8DEE8; }

  .stars .empty { color: #D8DEE8; }

  /* —— Sections common —— */
  .rdb-home section {
    padding: 56px 0;
  }

  .rdb-home section.alt { background: var(--white); }
  .rdb-home section.tint { background: var(--bg-alt); }

  .section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 36px;
  }

  .section-kicker {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A9AAD;
    margin-bottom: 10px;
  }

  .section-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }

  .section-head p {
    font-size: 15px;
    color: var(--muted);
  }

  .label-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--warn, #B45309);
    background: #FEF3C7;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
  }

  /* —— How it works —— */
  .steps {
    display: grid;
    gap: 0;
  }

  @media (min-width: 800px) {
    .steps {
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }
    .step-card + .step-card {
      border-left: 1px solid var(--border);
    }
  }

  .step-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 18px;
    box-shadow: none;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 10px;
    align-items: start;
  }

  @media (max-width: 799px) {
    .steps { gap: 12px; }
    .step-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 18px;
      box-shadow: var(--shadow-sm);
    }
  }

  .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 750;
    font-size: 13px;
    grid-column: 1;
    grid-row: 1;
    margin-top: 10px;
  }

  .step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E8EDF3;
    color: var(--navy);
    display: grid;
    place-items: center;
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .step-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .step-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  @media (min-width: 800px) {
    .step-card {
      grid-template-columns: auto auto 1fr;
      grid-template-rows: auto;
      align-items: center;
      padding: 12px 22px;
      column-gap: 14px;
    }
    .step-num {
      grid-column: 1;
      grid-row: 1;
      margin-top: 0;
    }
    .step-icon {
      grid-column: 2;
      grid-row: 1;
    }
    .step-body {
      grid-column: 3;
      grid-row: 1;
    }
  }

  .step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
  }

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

  /* —— Find —— */
  .find-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    max-width: 640px;
    margin: 0 auto;
  }

  .search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
  }

  .search-row input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.15s;
  }

  .search-row input:focus {
    border-color: var(--accent);
    background: white;
  }

  .search-row input::placeholder { color: #8A9AAD; }

  .search-row .btn {
    flex-shrink: 0;
    padding: 13px 18px;
  }

  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .chips .chip-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    margin-right: 4px;
  }

  .chip {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--navy-mid);
    cursor: pointer;
    transition: all 0.15s;
  }

  .chip:hover { border-color: var(--accent); color: var(--navy); }
  .chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
  }

  .find-hint {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
  }

  /* —— Reviews —— */
  .review-grid {
    display: grid;
    gap: 16px;
  }

  @media (min-width: 700px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
  }

  .review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .review-card .branch-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
  }

  .review-card .branch-loc {
    font-size: 12px;
    color: var(--muted);
    margin-top: -6px;
  }

  .review-card .stars { color: var(--star); font-size: 15px; }
  .review-card .stars .empty { color: #D8DEE8; }

  .review-card blockquote {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    flex: 1;
  }

  .review-card .review-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .example-banner {
    background: #FEF3C7;
    border: 1px solid #F6D98A;
    color: #92400E;
    text-align: center;
    font-size: 12px;
    font-weight: 650;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
  }

  /* —— Differentiator —— */
  .diff-grid {
    display: grid;
    gap: 20px;
    align-items: center;
  }

  @media (min-width: 750px) {
    .diff-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
  }

  .diff-copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }

  .diff-copy p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 14px;
  }

  .diff-list {
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .diff-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text);
  }

  .diff-list .check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--success-bg);
    color: var(--success);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
  }

  .diff-visual {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
  }

  .diff-bank {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .diff-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
  }

  .diff-row:last-child { border-bottom: none; padding-bottom: 0; }
  .diff-row:first-of-type { padding-top: 0; }

  .diff-row .place {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
  }

  .diff-row .place span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
  }

  .score-pill {
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .score-high { background: var(--success-bg); color: var(--success); }
  .score-mid { background: #FEF3C7; color: #92400E; }
  .score-low { background: #FEE2E2; color: #B91C1C; }

  /* —— Privat / Erhverv —— */
  .split-cards {
    display: grid;
    gap: 16px;
  }

  @media (min-width: 650px) {
    .split-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  }

  .split-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .split-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
  }

  .split-card h3 {
    font-size: 18px;
    font-weight: 750;
    color: var(--navy);
  }

  .split-card p {
    font-size: 14px;
    color: var(--muted);
    flex: 1;
  }

  .split-card .link {
    font-size: 14px;
    font-weight: 650;
    color: var(--accent);
  }

  .split-card .link:hover { text-decoration: underline; }

  /* —— Trust —— */
  .trust-grid {
    display: grid;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
  }

  .trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 15px;
  }

  .trust-item strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 2px;
  }

  .trust-item span {
    font-size: 13px;
    color: var(--muted);
  }

  /* —— Bottom CTA —— */
  .cta-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 48px 0;
    color: white;
    text-align: center;
  }

  .cta-strip h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }

  .cta-strip p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 24px;
    max-width: 420px;
    margin-inline: auto;
  }

  .cta-strip .btn-primary {
    background: white;
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }

  .cta-strip .btn-primary:hover {
    background: var(--accent-soft);
  }

  /* —— Footer —— */
  .site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 28px;
    font-size: 13px;
  }

  .footer-grid {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
  }

  @media (min-width: 600px) {
    .footer-grid {
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 40px;
    }
  }

  .footer-brand {
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
  }

  .footer-lockup {
    height: 36px;
    width: auto;
    display: block;
  }

  .footer-about {
    line-height: 1.55;
    max-width: 280px;
  }

  .footer-col h4 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .footer-col ul {
    list-style: none;
    display: grid;
    gap: 8px;
  }

  .rdb-home .site-footer a,
  .site-footer .footer-col a,
  .site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
  }

  .rdb-home .site-footer a:hover,
  .site-footer .footer-col a:hover,
  .site-footer .footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
    font-size: 12px;
  }

  


  /* —— SEO zone (below fold) —— */
  .seo-zone {
    padding: 40px 0 48px;
  }

  .seo-zone-inner {
    max-width: 42rem;
    margin-inline: auto;
  }

  .seo-zone h2 {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .seo-zone-body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
  }

  .seo-zone-body p { margin-bottom: 0.9em; }
  .seo-zone-body p:last-child { margin-bottom: 0; }
  .seo-zone-body a { color: var(--accent); text-decoration: underline; }

  .seo-zone-edit {
    margin-top: 16px;
    font-size: 12px;
  }

  .seo-zone-edit a { color: var(--accent); text-decoration: underline; }

  .seo-zone-placeholder {
    font-size: 13px;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: var(--bg);
  }

  .seo-zone-placeholder a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
  }

  .seo-zone-placeholder span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
  }

  /* —— Mobile ~375px —— */
  @media (max-width: 799px) {
    html, body.rdb-front-page {
      overflow-x: hidden;
    }

    .rdb-home {
      overflow-x: hidden;
    }

    .wrap {
      width: min(100% - 24px, var(--max));
    }

    .site-header .inner {
      flex-wrap: wrap;
      padding: 10px 0;
      gap: 10px;
    }

    .brand-lockup {
      height: 30px;
    }

    .nav {
      width: 100%;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 6px;
    }

    .nav a {
      font-size: 13px;
      padding: 7px 10px;
    }

    .nav a.nav-cta {
      padding: 8px 14px;
      margin-left: auto;
    }

    .hero {
      padding: 28px 0 36px;
    }

    .hero-grid {
      gap: 22px;
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .hero-actions .btn {
      width: 100%;
    }

    .hero-actions .btn-primary.btn-lg {
      width: 100%;
      min-height: 68px;
    }

    .rdb-home section {
      padding: 40px 0;
    }

    .section-head {
      margin-bottom: 24px;
    }

    .section-head h2 {
      font-size: clamp(22px, 6vw, 28px);
    }

    .find-box {
      padding: 18px 14px;
    }

    .search-row {
      flex-direction: column;
    }

    .search-row .btn {
      width: 100%;
    }

    .review-grid,
    .split-cards,
    .trust-grid {
      gap: 12px;
    }

    .review-card,
    .split-card,
    .trust-item {
      padding: 16px;
    }

    .cta-strip {
      padding: 36px 0;
    }

    .cta-strip .btn-lg {
      width: 100%;
      max-width: 360px;
    }

    .site-footer {
      padding: 32px 0 24px;
    }

    .footer-grid {
      gap: 22px;
    }

    .seo-zone {
      padding: 32px 0 40px;
    }
  }

  @media (max-width: 420px) {
    .brand-lockup {
      height: 28px;
      max-width: min(220px, 58vw);
    }

    .nav a:not(.nav-cta) {
      padding: 6px 8px;
      font-size: 12px;
    }

    .hero h1 {
      font-size: 26px;
    }

    .btn-lg {
      padding: 14px 18px;
      font-size: 15px;
    }
  }

/* —— WP / Extendable chrome: shortcode owns full page —— */
/* Theme header/footer visible — chrome owned by child theme */

body.rdb-front-page .entry-header,
body.rdb-front-page .wp-block-post-title,
body.rdb-front-page .page-header {
  display: none !important;
}

body.rdb-front-page {
  background: var(--bg, #F4F6F9);
  margin: 0;
  padding: 0;
}

body.rdb-front-page .entry-content > *:not(.rdb-home),
body.rdb-front-page .wp-block-post-content > *:not(.rdb-home) {
  /* keep shortcode wrapper only if theme wraps */
}

body.rdb-front-page .rdb-home {
  margin: 0;
  max-width: none;
  width: 100%;
}

/* Avoid theme content width constraining home (not header/footer) */
body.rdb-front-page main.wp-block-group,
body.rdb-front-page main .wp-block-post-content,
body.rdb-front-page .entry-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

body.rdb-front-page main,
body.rdb-front-page .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}


