/* ldp.group redesign, Push 56 (15.10.2026).
   Picked by Sam and Nicholas in the preview: glass pill navigation, raised buttons with a ghost
   secondary, Montserrat headlines in mixed case with two colours, light stat panel on the homepage.
   Linked on every static page by tools/inject-redesign.py (build step) and on every page of the
   reports app by ldp-reports/app/layout.js. Held by tools/ci/check-redesign.py.
   Design notes: docs/REDESIGN.md. CTA colour stays #3ba5e6 (GLOBAL_RULES 5). */

html:root{
  --font-kinetika:"Montserrat",sans-serif;
  --font-gobold_bold:"Montserrat",sans-serif;
  --font-gobold:"Montserrat",sans-serif;
  --rd-ink:#0f2a3c;
  --rd-blue:#3ba5e6;
  --rd-blue-hi:#74c6f4;
  --rd-blue-lo:#2489c9;
  --rd-deep:#0d5f83;
  --rd-sky:#e9f5fc;
  --rd-line:rgba(15,42,60,.10);
  --rd-muted:#5d7383;
}

/* ===================================================================
   1. Navigation: glass pill on desktop, drawer keeps its place on phones
   =================================================================== */
.rd-ind{display:none}
@media (min-width:992px){
  .main-head:has(.navbar){background:transparent!important;padding:14px 0!important;box-shadow:none!important;pointer-events:none}
  .main-head .navbar{pointer-events:auto;max-width:1240px;margin:0 auto;padding:8px 8px 8px 22px;border-radius:999px;
    background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(15,42,60,.06),0 2px 6px -2px rgba(15,42,60,.10),0 18px 40px -18px rgba(15,42,60,.32)}
  .main-head .navbar .navbar-brand img{max-height:44px;width:auto}
  .main-head .navbar .navbar-nav{position:relative;align-items:center;gap:2px}
  .main-head .navbar .navbar-nav>li{margin:0!important;padding:0!important;position:relative;z-index:1}
  .main-head .navbar .navbar-nav>li>a{display:block;padding:11px 16px;border-radius:999px;font-family:var(--font-Montserrat,"Montserrat"),sans-serif;
    font-size:15px;font-weight:600;letter-spacing:.005em;text-transform:none;line-height:1.2;
    background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--rd-ink);transition:color .2s ease}
  .main-head .navbar .navbar-nav>li>a:after{display:none!important}
  .main-head .navbar .navbar-nav>li>a:hover{color:var(--rd-deep)}
  .main-head .navbar .signup-btn--header{margin-left:14px!important;border-radius:999px!important;padding:11px 22px!important}
}
@media (min-width:992px) and (max-width:1199.98px){
  .main-head .navbar{padding-left:16px}
  .main-head .navbar .navbar-brand img{max-height:38px}
  .main-head .navbar .navbar-nav>li>a{padding:9px 10px;font-size:14px}
  .main-head .navbar .signup-btn--header{margin-left:8px!important;padding:9px 16px!important;font-size:14px!important}
}

/* reports app header (.mh-in), desktop from 901 px */
@media (min-width:901px){
  .main-head:has(.mh-in){background:transparent!important;padding:14px 16px!important;border-bottom:0!important;box-shadow:none!important;pointer-events:none}
  .main-head .mh-in{pointer-events:auto;max-width:1240px;margin:0 auto;padding:8px 8px 8px 22px;border-radius:999px;
    background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(15,42,60,.06),0 2px 6px -2px rgba(15,42,60,.10),0 18px 40px -18px rgba(15,42,60,.32)}
  .main-head .mh-in .navbar-brand img{height:44px}
  .main-head .mh-in .navbar-nav{position:relative;gap:2px}
  .main-head .mh-in .navbar-nav>li{margin:0!important;position:relative;z-index:1}
  .main-head .mh-in .navbar-nav>li>a{display:block;padding:11px 16px;border-radius:999px;font-size:15px;font-weight:600;text-transform:none;line-height:1.2;color:var(--rd-ink);transition:color .2s ease}
  .main-head .mh-in .navbar-nav>li>a:after{display:none!important}
  .main-head .mh-in .navbar-nav>li>a:hover{color:var(--rd-deep)}
  .main-head .mh-in .hdr-signup{margin-left:14px;border-radius:999px;padding:11px 22px}
}
@media (min-width:901px) and (max-width:1199.98px){
  .main-head .mh-in{padding-left:16px}
  .main-head .mh-in .navbar-brand img{height:38px}
  .main-head .mh-in .navbar-nav>li>a{padding:9px 10px;font-size:14px}
  .main-head.mh-de .mh-in .navbar-nav>li>a{padding:8px 7px;font-size:13px}
  .main-head .mh-in .hdr-signup{margin-left:8px;padding:9px 16px;font-size:14px}
}

/* sliding highlight under the link: placed by redesign.js, shown on desktop only */
@media (min-width:901px){
  .main-head .mh-in .rd-ind{display:block}
}
@media (min-width:992px){
  .main-head .navbar .rd-ind{display:block}
}
.main-head .rd-ind{position:absolute;top:0;left:0;height:100%;border-radius:999px;pointer-events:none;z-index:0;opacity:0;
  background:#fff;box-shadow:0 0 0 1px rgba(15,42,60,.07),0 1px 2px rgba(15,42,60,.10),0 6px 14px -8px rgba(15,42,60,.35);
  transition:transform .32s cubic-bezier(.3,.7,.2,1),width .32s cubic-bezier(.3,.7,.2,1),opacity .2s ease,background-color .2s ease}
.main-head .rd-ind.is-hover{background:var(--rd-sky);box-shadow:inset 0 0 0 1px rgba(59,165,230,.25)}
@media (prefers-reduced-motion:reduce){.main-head .rd-ind{transition:none}}

/* phones: drawer (static pages) and dropdown (reports app), same look */
@media (max-width:991.98px){
  .main-head .navbar-collapse .navbar-nav>li>a{text-transform:none;font-weight:600;font-size:17px;display:block;padding:12px 14px;border-radius:14px;
    background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--rd-ink)}
  .main-head .navbar-collapse .navbar-nav>li.current-menu-item>a{background:var(--rd-sky)!important;color:var(--rd-deep)}
  /* the drawer links run edge to edge (mobile-nav.css); the highlight gets room around the word */
  .main-head .navbar-collapse .navbar-nav>li.current-menu-item>a{margin:0 -12px!important;padding-left:12px!important;padding-right:12px!important;width:calc(100% + 24px)!important}
  .main-head .navbar-collapse .navbar-nav>li>a:after{display:none!important}
}
@media (max-width:900px){
  .main-head .mh-in .navbar-nav>li>a{text-transform:none;font-weight:600;font-size:16px}
  .main-head .mh-in .navbar-nav>li.current-menu-item>a{color:var(--rd-deep)}
}

/* ===================================================================
   2. Buttons: raised primary, ghost secondary
   =================================================================== */
.signup-btn,
.prjct-blue-btn:not(.before-after_footer .prjct-blue-btn),
#ldp-ed .btn,
.ldp-ns .ldp-ns-btn:not(.ldp-ns-alt),
body.ldp-wp-tpl .entry-content .btn-primary,
.btn-gold,
.hdr-signup{
  position:relative;
  background:
    radial-gradient(120% 70% at 50% -10%,rgba(255,255,255,.38) 0%,rgba(255,255,255,0) 60%),
    linear-gradient(180deg,var(--rd-blue-hi) 0%,var(--rd-blue) 48%,var(--rd-blue-lo) 100%)!important;
  border:1px solid #1f80bf!important;
  color:#fff!important;
  text-shadow:0 1px 1px rgba(10,70,110,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.60),inset 0 -2px 0 rgba(8,70,112,.22),0 1px 2px rgba(10,70,110,.28),0 10px 22px -10px rgba(36,137,201,.80)!important;
  filter:none;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.signup-btn:hover,
.prjct-blue-btn:not(.before-after_footer .prjct-blue-btn):hover,
#ldp-ed .btn:hover,
.ldp-ns .ldp-ns-btn:not(.ldp-ns-alt):hover,
body.ldp-wp-tpl .entry-content .btn-primary:hover,
.btn-gold:hover,
.hdr-signup:hover{
  transform:translateY(-1px)!important;filter:brightness(1.05) saturate(1.05)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -2px 0 rgba(8,70,112,.22),0 2px 3px rgba(10,70,110,.25),0 16px 28px -12px rgba(36,137,201,.85)!important}
.signup-btn:active,
.prjct-blue-btn:not(.before-after_footer .prjct-blue-btn):active,
#ldp-ed .btn:active,
.ldp-ns .ldp-ns-btn:not(.ldp-ns-alt):active,
body.ldp-wp-tpl .entry-content .btn-primary:active,
.btn-gold:active,
.hdr-signup:active{
  transform:translateY(1px)!important;filter:brightness(.97)!important;
  box-shadow:inset 0 2px 5px rgba(8,70,112,.38),0 1px 1px rgba(10,70,110,.20)!important}

#ldp-ed .btn-outline,
.ldp-ns .ldp-ns-btn.ldp-ns-alt,
.btn-outline{
  background:linear-gradient(180deg,#ffffff 0%,#f2f7fa 100%)!important;
  border:1px solid rgba(15,42,60,.16)!important;
  color:var(--rd-ink)!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(15,42,60,.05),0 1px 2px rgba(15,42,60,.08),0 10px 20px -14px rgba(15,42,60,.45)!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
#ldp-ed .btn-outline:hover,
.ldp-ns .ldp-ns-btn.ldp-ns-alt:hover,
.btn-outline:hover{transform:translateY(-1px);border-color:rgba(59,165,230,.6)!important;
  box-shadow:inset 0 1px 0 #fff,0 0 0 3px rgba(59,165,230,.12),0 2px 3px rgba(15,42,60,.08),0 14px 24px -14px rgba(15,42,60,.5)!important}
#ldp-ed .btn-outline:active,
.ldp-ns .ldp-ns-btn.ldp-ns-alt:active,
.btn-outline:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(15,42,60,.12)!important}

#ldp-ed .ctas{align-items:center}
#ldp-ed .ctas .btn,#ldp-ed .ctas .btn-outline{margin-top:0;margin-bottom:0}

.signup-btn:focus-visible,.prjct-blue-btn:focus-visible,#ldp-ed .btn:focus-visible,#ldp-ed .btn-outline:focus-visible,
.btn-gold:focus-visible,.btn-outline:focus-visible,.hdr-signup:focus-visible{outline:3px solid var(--rd-deep)!important;outline-offset:3px!important}
@media (prefers-reduced-motion:reduce){
  .signup-btn,.prjct-blue-btn,#ldp-ed .btn,#ldp-ed .btn-outline,.btn-gold,.btn-outline,.hdr-signup,.ldp-ns .ldp-ns-btn{transition:none!important}
}

/* ===================================================================
   3. Headlines: Montserrat, mixed case, two colours
   =================================================================== */
h1,.entry-title,#ldp-ed h1{font-family:"Montserrat",sans-serif!important;font-weight:700!important;letter-spacing:-.025em!important;text-transform:none!important}
h1{color:var(--rd-ink);font-size:clamp(32px,4.2vw,56px);line-height:1.1}
.banner-section h1{font-size:clamp(32px,4vw,58px)!important;line-height:1.08!important}
.banner-section h1 span{display:block}
/* Homepage hero H1 in capitals (Sam, 15.10.2026 after go-live); every other headline stays in mixed case */
body.home .banner-section h1{text-transform:uppercase!important;letter-spacing:-.015em!important;font-size:clamp(30px,3.4vw,50px)!important;line-height:1.06!important}
h2,.h2-title{font-family:"Montserrat",sans-serif!important;font-weight:750!important;letter-spacing:-.02em!important;text-transform:none!important}
.cnt-head,.ldp-brief-fact dt,.clndrwrap,.ldp-jobdesc h2,#ldp-ed .cnum,.cc-case-h,
body.ldp-wp-tpl .entry-content h1,body.ldp-wp-tpl .entry-content h2,body.ldp-wp-tpl .entry-content h3,body.ldp-wp-tpl .entry-content h4,
body.ldp-wp-tpl.archive .entry-title{font-family:"Montserrat",sans-serif!important;font-weight:700!important;letter-spacing:-.01em!important;text-transform:none!important}
.cnt-row .cnt-number.h2-title{font-size:clamp(17px,1.55vw,24px)!important}
.cnt-row .cnt-head{font-size:15px!important;line-height:1.3!important}
/* the part of the H1 after the break, set by tools/inject-redesign.py and ldp-reports/components/H1.js */
.h1-accent{background:linear-gradient(92deg,var(--rd-deep) 0%,#1a8fc9 60%,#2196d3 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
@media (forced-colors:active){.h1-accent{background:none;-webkit-text-fill-color:currentColor;color:currentColor}}

/* ===================================================================
   4. Homepage stat panel (static HTML from content/redesign.json)
   =================================================================== */
.ldp-stats{margin:14px 0 0;padding:18px;border-radius:22px;background:#fff;color:var(--rd-ink);font-family:var(--font-Montserrat,"Montserrat"),sans-serif;
  box-shadow:0 0 0 1px rgba(15,42,60,.09),0 2px 4px rgba(15,42,60,.04),0 30px 60px -36px rgba(15,42,60,.45);perspective:1200px}
.ldp-stats-top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:6px 8px 16px;border-bottom:1px solid rgba(15,42,60,.09);margin-bottom:16px;flex-wrap:wrap}
.ldp-stats-loc{font-size:13px;font-weight:600;color:var(--rd-muted);margin:0 0 6px}
.ldp-stats-kpi{display:flex;align-items:baseline;gap:6px 12px;min-height:46px;flex-wrap:wrap;margin:0}
.ldp-stats-kpi-v{white-space:nowrap;font-size:clamp(28px,3vw,40px);font-weight:750;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums;color:var(--rd-ink)}
.ldp-stats-kpi-l{font-size:14px;font-weight:600;color:var(--rd-muted)}
.ldp-stats-kpi-v,.ldp-stats-kpi-l{transition:opacity .35s ease,transform .35s ease}
.ldp-stats.is-swapping .ldp-stats-kpi-v,.ldp-stats.is-swapping .ldp-stats-kpi-l{opacity:0;transform:translateY(6px)}
.ldp-stats-dots{display:none;gap:6px;align-items:center}
.ldp-stats.is-live .ldp-stats-dots{display:flex}
/* the bar is 6 px, the button around it 24 px high, so a thumb can hit it */
.ldp-stats-dots button{width:26px;height:24px;border:0;padding:0;background:none;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent}
.ldp-stats-dots button::before,.ldp-stats-dots button.on::after{content:"";position:absolute;left:0;right:0;top:9px;height:6px;border-radius:6px}
.ldp-stats-dots button::before{background:rgba(15,42,60,.10)}
.ldp-stats-dots button.on::after{background:var(--rd-blue);transform-origin:left;animation:ldpfill 5s linear forwards}
.ldp-stats.is-paused .ldp-stats-dots button.on::after{animation-play-state:paused}
@keyframes ldpfill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ldp-stats-dots button:focus-visible{outline:2px solid var(--rd-deep);outline-offset:2px}
.ldp-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ldp-stats-card{position:relative;padding:16px 16px 14px;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f3f8fb 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 0 0 1px rgba(15,42,60,.09),0 12px 24px -20px rgba(15,42,60,.45);
  transition:box-shadow .35s ease,transform .35s ease;transform-style:preserve-3d}
.ldp-stats-card.is-focus{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 0 0 1px rgba(59,165,230,.45),0 18px 40px -20px rgba(36,137,201,.55);transform:translateY(-2px)}
.ldp-stats-card h3{font-family:var(--font-Montserrat,"Montserrat"),sans-serif!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 2px!important;color:var(--rd-ink)!important;line-height:1.3!important}
.ldp-stats-card .ldp-stats-sub{font-size:12px;color:var(--rd-muted);margin:0 0 12px;min-height:16px;line-height:1.4}
.ldp-stats-tag{display:inline-block;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:999px;background:rgba(59,165,230,.12);color:var(--rd-deep);margin-left:6px;vertical-align:1px}
.ldp-vbars{display:flex;align-items:flex-end;gap:14px;height:130px;padding:0 4px;border-bottom:1px solid rgba(15,42,60,.09)}
.ldp-vbar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.ldp-vbar i{display:block;width:100%;max-width:64px;border-radius:10px 10px 4px 4px;height:var(--h,0%);position:relative;
  background:linear-gradient(180deg,#7fcaf5 0%,#3ba5e6 55%,#2489c9 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -6px 12px rgba(8,60,95,.18),0 10px 18px -12px rgba(36,137,201,.9);
  transition:height .9s cubic-bezier(.2,.8,.2,1)}
.ldp-vbar i::before{content:"";position:absolute;left:18%;right:18%;top:6px;height:3px;border-radius:3px;background:rgba(255,255,255,.75)}
.ldp-vbar.is-muted i{background:linear-gradient(180deg,#d9e4ec 0%,#b9cad6 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 14px -12px rgba(15,42,60,.5)}
.ldp-vbar b{font-size:15px;font-weight:750;margin-bottom:6px;font-variant-numeric:tabular-nums;color:var(--rd-ink);white-space:nowrap}
.ldp-vlabels{display:flex;gap:14px;padding:8px 4px 0;margin:0}
.ldp-vlabels span{flex:1;text-align:center;font-size:12px;color:var(--rd-muted);font-weight:600}
.ldp-div{position:relative;height:130px;display:flex;gap:14px;padding:0 4px}
.ldp-div::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px dashed rgba(15,42,60,.16)}
.ldp-div-col{flex:1;position:relative}
.ldp-div-col i{position:absolute;left:50%;transform:translateX(-50%);width:100%;max-width:64px;height:var(--h,0%);transition:height .9s cubic-bezier(.2,.8,.2,1)}
.ldp-div-col.is-pos i{bottom:50%;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,#7fcaf5 0%,#3ba5e6 55%,#2489c9 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 18px -12px rgba(36,137,201,.9)}
.ldp-div-col.is-neg i{top:50%;border-radius:3px 3px 10px 10px;background:linear-gradient(0deg,#c9d6df 0%,#a9bccb 100%)}
.ldp-div-col b{position:absolute;left:0;right:0;text-align:center;font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;color:var(--rd-ink);white-space:nowrap}
.ldp-div-col.is-pos b{bottom:calc(50% + var(--h,0%) + 4px)}
.ldp-div-col.is-neg b{top:calc(50% + var(--h,0%) + 4px)}
.ldp-hbars{display:flex;flex-direction:column;gap:14px;min-height:130px;justify-content:center}
.ldp-hrow{display:grid;grid-template-columns:1fr;gap:5px}
.ldp-hrow span{font-size:12px;font-weight:600;color:var(--rd-muted);display:flex;justify-content:space-between;gap:8px}
.ldp-hrow span b{color:var(--rd-ink);font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.ldp-htrack{height:16px;border-radius:999px;background:rgba(15,42,60,.08);overflow:hidden}
.ldp-htrack i{display:block;height:100%;width:var(--w,0%);border-radius:999px;background:linear-gradient(90deg,#2489c9 0%,#3ba5e6 60%,#7fcaf5 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);transition:width .9s cubic-bezier(.2,.8,.2,1)}
.ldp-hrow.is-muted .ldp-htrack i{background:linear-gradient(180deg,#d9e4ec 0%,#b9cad6 100%)}
.ldp-roi{margin:2px 0 0;font-size:12px;color:var(--rd-muted)}
.ldp-roi b{color:var(--rd-ink)}
.ldp-stats-foot{margin:14px 8px 2px;font-size:11.5px;line-height:1.5;color:var(--rd-muted)}
/* bars grow when the panel comes into view; without JavaScript they stand at full height */
.ldp-stats.is-pre .ldp-vbar i,.ldp-stats.is-pre .ldp-div-col i{height:0!important}
.ldp-stats.is-pre .ldp-htrack i{width:0!important}
@media (max-width:767px){
  .ldp-stats{padding:14px}
  .ldp-stats-grid{grid-template-columns:1fr}
  .ldp-vbars,.ldp-div{height:112px}
  .ldp-hbars{min-height:0;padding:4px 0}
}
@media (prefers-reduced-motion:reduce){
  .ldp-vbar i,.ldp-div-col i,.ldp-htrack i,.ldp-stats-card,.ldp-stats-kpi-v,.ldp-stats-kpi-l{transition:none}
  .ldp-stats-dots button.on::after{animation:none;transform:scaleX(1)}
}

/* ===================================================================
   5. Content blocks: hero rent card, About client photos, illustrations, team photo
   =================================================================== */
.ldp-rent-card{position:absolute;z-index:3;top:-50px;right:-200px;width:236px;padding:16px 16px 14px;border-radius:14px;
  background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  box-shadow:0 0 0 1px rgba(15,42,60,.05),0 4px 114px rgba(0,0,0,.12),0 18px 36px -24px rgba(15,42,60,.5);transform:rotate(-3deg);font-family:var(--font-Montserrat,"Montserrat"),sans-serif}
.ldp-rent-card .ldp-rent-ic{width:43px;height:43px;border-radius:8px;background:var(--color-green,#7ecbec);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.ldp-rent-card .ldp-rent-v{font-size:22px;font-weight:800;color:#000;letter-spacing:-.01em;line-height:1.1}
.ldp-rent-card .ldp-rent-v small{font-size:13px;font-weight:700;color:#000}
.ldp-rent-card .ldp-rent-l{font-size:13px;font-weight:600;color:#000;margin-top:3px}
.ldp-rent-card .ldp-rent-d{font-size:13px;color:#33505f;margin-top:8px;line-height:1.35}
@media (max-width:1399px){.ldp-rent-card{right:-120px;width:210px}}
@media (max-width:1199px){.ldp-rent-card{width:180px;right:-90px;top:-20px;padding:12px}.ldp-rent-card .ldp-rent-v{font-size:18px}.ldp-rent-card .ldp-rent-ic{width:34px;height:34px;margin-bottom:8px}}
@media (max-width:991px){.ldp-rent-card{position:static;transform:none;width:100%;margin:0 0 20px;order:1}}

.ldp-clients{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding:34px 36px;border-radius:24px;margin-top:10px;
  background:linear-gradient(180deg,#fbfdfe 0%,#f1f8fc 100%);box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(15,42,60,.06),0 24px 50px -36px rgba(15,42,60,.45)}
.ldp-faces{display:flex;align-items:center}
.ldp-faces img{width:78px;height:78px;border-radius:50%;object-fit:cover;object-position:top;border:4px solid #fff;margin-left:-18px;background:#eaf6fc;
  box-shadow:0 1px 2px rgba(15,42,60,.12),0 14px 24px -14px rgba(15,42,60,.55);transition:transform .25s ease}
.ldp-faces img:first-child{margin-left:0}
.ldp-faces img:hover{transform:translateY(-4px)}
.ldp-clients p{margin:0;font-family:var(--font-Montserrat,"Montserrat"),sans-serif;font-size:18px;line-height:1.45;color:var(--rd-ink);font-weight:600;max-width:34ch}
.ldp-clients p span{display:block;font-size:14px;font-weight:500;color:var(--rd-muted);margin-top:4px}
@media (max-width:575px){.ldp-clients{padding:24px 20px;gap:18px}.ldp-faces img{width:62px;height:62px;margin-left:-14px}}

.ldp-hero-side{display:flex;flex-direction:column;gap:22px;min-width:0}
.ldp-illu{margin:0}
.ldp-illu img{display:block;width:100%;height:auto}
/* team photo in the services hero (19.10.2026): the file fades to transparent at its edges, so no frame,
   no shadow; pulled up a little so it sits close under the numbers box */
.ldp-illu-photo{margin-top:-6px}
.ldp-illu-photo img{max-width:100%}
.ldp-team{margin:26px 0 6px;border-radius:20px;overflow:hidden;position:relative;background:#e9eef2;
  box-shadow:0 0 0 1px rgba(15,42,60,.06),0 30px 60px -40px rgba(15,42,60,.6)}
.ldp-team img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover;object-position:50% 30%}
.ldp-team figcaption{position:absolute;left:16px;bottom:14px;font-size:13px;font-weight:600;color:var(--rd-ink);background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:6px 12px;border-radius:999px}
@media (max-width:575px){.ldp-team img{aspect-ratio:4/3}}

/* ===================================================================
   6. Phones and tablets (Sam, 15.10.2026: the new design has to look as good on a phone)
   Checked at 360, 390, 430 and 768 px with tools/redesign-mobile-audit.py.
   =================================================================== */

/* 6a. header: the glass pill on phones and tablets too; the menu stays the drawer.
   The pill is drawn on ::before, because a backdrop-filter on .navbar itself would trap the
   fixed drawer inside the pill. Same total height as before (72 px), so nothing below moves. */
@media (max-width:991.98px){
  .main-head:has(.navbar){background:transparent!important;padding:10px 12px!important;box-shadow:none!important;border-bottom:0!important}
  .main-head .navbar{position:relative;padding:10px 12px 10px 16px!important;border-radius:999px}
  .main-head .navbar::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;pointer-events:none;
    background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(15,42,60,.06),0 2px 6px -2px rgba(15,42,60,.10),0 14px 30px -16px rgba(15,42,60,.32)}
  /* menu button: 33 x 28 px drawn, 49 x 44 px to tap. The theme already positions it (relative in
     the header, absolute as the close button in the drawer, same class), so no position here. */
  .main-head .navbar-toggler-main::after{content:"";position:absolute;inset:-8px}
  /* the closed drawer waits beside the screen; its shadow fell onto the right edge of every page */
  .main-head .navbar-collapse{transition:transform .42s cubic-bezier(.22,1,.36,1),box-shadow .42s ease!important}
  .main-head .navbar-collapse:not(.show){box-shadow:none!important}
}

/* reports app: same pill, the menu opens as a card under it */
@media (max-width:900px){
  .main-head:has(.mh-in){background:transparent!important;padding:10px 12px!important;border-bottom:0!important;box-shadow:none!important}
  .main-head .mh-in{padding:8px 6px 8px 16px;border-radius:999px;
    background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(15,42,60,.06),0 2px 6px -2px rgba(15,42,60,.10),0 14px 30px -16px rgba(15,42,60,.32)}
  .main-head .mh-in .navbar-brand img{height:34px}
  .main-head .mh-in .hdr-signup{order:2;margin-left:auto;border-radius:999px;padding:9px 15px;font-size:13px}
  .main-head .mh-in .mh-toggle{order:3;margin-left:4px;padding:11px 10px}
  .main-head .mh-in .navbar-nav{top:calc(100% + 10px)!important;border-radius:22px!important;
    box-shadow:0 0 0 1px rgba(15,42,60,.06),0 30px 60px -24px rgba(13,20,24,.30)!important}
  /* the highlight span of redesign.js sits last in the list, so :last-child no longer finds the last link */
  .main-head .mh-in .navbar-nav>li:last-of-type{border-bottom:0!important}
}
@media (max-width:374.98px){
  .main-head .mh-in{padding-left:12px}
  .main-head .mh-in .navbar-brand img{height:30px}
  .main-head .mh-in .hdr-signup{padding:8px 11px;font-size:12px}
}
/* below 360 px the button no longer fits beside the logo; the menu and the page keep their own */
@media (max-width:359.98px){.main-head .mh-in .hdr-signup{display:none}.main-head .mh-in .mh-toggle{margin-left:auto}}

/* 6b. homepage hero */
@media (max-width:991.98px){
  /* the two small cards next to the example flat: same icon size and spacing, so their text lines up */
  .bnr-right-outer .flt-left-icon-wrap{width:40px!important;height:40px!important;margin:0 0 12px!important}
  .bnr-right-outer .flt-left-icon-wrap img{max-width:24px;max-height:24px}
}
@media (max-width:575.98px){
  /* headline in capitals: three lines from 360 px up, no word broken off on its own */
  body.home .banner-section h1{font-size:clamp(25px,7.7vw,34px)!important}
  /* counters: "5 Languages" did not fit a third of a phone; two boxes on top, the languages below */
  .cnt-secUp.for-mb .cnt-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0!important}
  .cnt-secUp.for-mb .cnt-row>div{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important;border:0!important}
  .cnt-secUp.for-mb .cnt-row>div:nth-child(3){grid-column:1/-1}
  .cnt-secUp.for-mb .cnt-box{width:100%!important;height:100%}
  .cnt-secUp.for-mb .cnt-row>div:nth-child(3) .cnt-box{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 10px;min-height:0!important;padding:14px 10px!important}
  .cnt-secUp.for-mb .cnt-row>div:nth-child(3) .cnt-number,.cnt-secUp.for-mb .cnt-row>div:nth-child(3) .cnt-head{margin:0!important}
  .cnt-secUp.for-mb .cnt-row>div:nth-child(3) .cnt-head{white-space:nowrap;font-size:14px!important}
}
@media (max-width:379.98px){
  /* "Investment property" and the size badge stay on one line */
  .bnr-txt-top .bnr-sml-head{font-size:14px}
}

/* 6c. showcase slider: on one column the arrows sat in the middle of the stat panel; now beside the photo */
@media (max-width:767.98px){.showcase_slider .swiper-arrow{top:205px!important}}
@media (min-width:768px) and (max-width:991.98px){.showcase_slider .swiper-arrow{top:255px!important}}

/* 6d. stat panel. Tablets: the slide is only 476 px wide, three columns of 137 px squeezed the
   figures out of their cards; two charts side by side, the money bars below across the width. */
@media (min-width:768px) and (max-width:991.98px){
  .ldp-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ldp-stats-grid>.ldp-stats-card:last-child{grid-column:1/-1}
}
/* phones: a little tighter, same content */
@media (max-width:575.98px){
  .ldp-stats{padding:12px;border-radius:18px}
  .ldp-stats-top{padding:4px 6px 14px;margin-bottom:12px}
  .ldp-stats-kpi{min-height:0}
  .ldp-stats-grid{gap:10px}
  .ldp-stats-card{padding:14px 14px 12px}
  .ldp-vbars,.ldp-div{height:104px}
  .ldp-stats-foot{margin:12px 6px 2px}
}

/* 6e. services and client cases: illustration not wider than it needs to be on one column,
   buttons full width on phones */
@media (max-width:991.98px){
  .ldp-illu{width:100%;max-width:460px;margin:0 auto}
  /* the process drawing fills only the lower 60 % of its canvas; on one column the empty top goes */
  .ldp-illu img[src*="illu-process"]{aspect-ratio:640/230;object-fit:cover;object-position:50% 80%}
}
@media (max-width:575.98px){
  #ldp-ed .ctas{flex-direction:column;align-items:stretch!important;gap:12px}
  #ldp-ed .ctas .btn,#ldp-ed .ctas .btn-outline{width:100%;justify-content:center;text-align:center;margin:0!important}
  /* the next-step block styles itself later in the page, so one more class to win */
  body .ldp-ns .ldp-ns-btn{width:100%;align-self:stretch;text-align:center}
}
/* testimonials: the note on the Google reviews sat in a third of the row, 129 px wide on a phone */
@media (max-width:767.98px){.google-rvw-row>.ldp-review-note{width:100%;flex:0 0 100%;max-width:none}}

/* 6f. long words: a German legal term ("Immobiliardarlehensvermittlungsverordnung") and calculator
   names pushed pages a few pixels sideways on small phones. Words break only when they cannot fit. */
@media (max-width:575.98px){
  body{overflow-wrap:break-word}
  html[lang^="de"] h1,html[lang^="de"] h2,html[lang^="de"] h3{-webkit-hyphens:auto;hyphens:auto}
  .grid>*,#ldp-ed .links>*{min-width:0}
}
