/* ============================================================
   PraxisLeasing × b2b.lease — white-label landing page
   ------------------------------------------------------------
   Re-skins the b2b.lease product surface in PraxisLeasing's
   visual identity. Tokens here are the PraxisLeasing side;
   b2b.lease tokens only appear where they're hard-coded into
   shared components.
   ============================================================ */

:root {
  /* PraxisLeasing brand */
  --pl-accent:      #52646D;   /* primary accent — slate blue-grey */
  --pl-accent-dark: #425057;
  --pl-accent-tint: #EEF0F0;
  --pl-accent-soft: #CBD1D3;

  --pl-bar:         #52646D;   /* utility + footer + hero bar */
  --pl-bar-soft:    #667A84;

  --pl-ink:         #2C3A41;
  --pl-body:        #52646D;
  --pl-muted:       #83949C;
  --pl-text-soft:   #6B7C85;
  --pl-line:        #DDE3E6;
  --pl-line-soft:   #EDF0F2;
  --pl-surface:     #FFFFFF;
  --pl-canvas:      #F4F6F7;

  /* Type */
  --pl-font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  /* Shadow ladder */
  --pl-shadow-sm: 0 2px 8px rgba(44,58,65,.06);
  --pl-shadow-md: 0 6px 20px rgba(44,58,65,.08);
  --pl-shadow-lg: 0 14px 40px rgba(44,58,65,.12);
  --pl-shadow-accent:    0 6px 20px rgba(82,100,109,.30);
  --pl-shadow-accent-lg: 0 10px 30px rgba(82,100,109,.38);

  --pl-radius-sm: 4px;
  --pl-radius-md: 6px;
  --pl-radius-lg: 10px;
  --pl-radius-xl: 16px;

  /* Org vars — consumed by shared component templates */
  --org-primary:          #52646D;
  --org-primary-dark:     #425057;
  --org-primary-light:    #EEF0F0;
  --org-primary-gradient: linear-gradient(135deg, #52646D 0%, #425057 100%);

  --org-shadow-sm: rgba(82, 100, 109, 0.15);
  --org-shadow:    rgba(82, 100, 109, 0.25);
  --org-shadow-md: rgba(82, 100, 109, 0.30);
  --org-shadow-lg: rgba(82, 100, 109, 0.40);

  --cart-primary:         #52646D;
  --cart-primary-dark:    #425057;
}

/* ---------- Tabler alert overrides ---------- */
.alert-info {
  --tblr-alert-color: var(--org-primary);
  background: var(--org-primary-light) !important;
  border-left-color: var(--org-primary) !important;
  color: var(--org-primary-dark) !important;
}

/* ---------- Base reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--pl-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pl-ink);
  background: var(--pl-surface);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.pl-app-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.pl-scroll-area {
  flex: 1 1 auto;
  overflow-y: auto;
}
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}
input { font-family: inherit; }

/* ============================================================
   1) NAVBAR
   ============================================================ */
.pl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pl-surface);
  border-bottom: 1px solid var(--pl-line);
}
.pl-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.pl-nav__brand {
  display: flex; align-items: center;
  cursor: pointer;
}
.pl-nav__logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.pl-nav__menu {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
}
.pl-nav__link {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--pl-ink);
  display: inline-flex; align-items: center;
  border-radius: 4px;
  position: relative;
  transition: color .15s ease;
}
.pl-nav__link:hover { color: var(--pl-accent); text-decoration: none; }
.pl-nav__link.is-active {
  color: var(--pl-accent);
}
.pl-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--pl-accent);
}

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

/* ---------- Buttons ---------- */
.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  transition: all .18s ease;
  white-space: nowrap;
}
.pl-btn--primary {
  background: var(--pl-accent);
  color: var(--pl-surface);
}
.pl-btn--primary:hover {
  background: var(--pl-accent-dark);
  box-shadow: var(--pl-shadow-accent);
  transform: translateY(-1px);
}
.pl-btn--ghost {
  background: #83949C;
  color: var(--pl-surface);
  border: 1px solid #83949C;
}
.pl-btn--ghost:hover {
  background: #6f7f87;
  border-color: #6f7f87;
}

.pl-nav__actions .pl-btn {
  height: 38px;
  padding: 0 18px;
  font-size: 0.8rem;
}

/* ============================================================
   2) PARTNER HERO STRIPE  (b2b.lease × PraxisLeasing)
   ============================================================ */
.pl-partner-hero {
  background: var(--pl-bar);
  color: var(--pl-surface);
  position: relative;
  overflow: hidden;
}
.pl-partner-hero::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: var(--pl-accent);
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.pl-partner-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 32px 12px;
  position: relative;
  z-index: 1;
}
.pl-partner-hero__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 6px;
  max-width: 780px;
}
.pl-partner-hero__title strong { font-weight: 700; }
.pl-hero-light { font-weight: 400; }
.pl-hero-em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,.5);
}
.pl-partner-hero__sub {
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
  max-width: 720px;
  margin: 0;
}

/* ============================================================
   3) MAIN CONTENT WRAPPER
   ============================================================ */
.pl-page {
  background: var(--pl-canvas);
  min-height: calc(100vh - 0px);
}
.pl-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 32px 48px;
}
.pl-grid--stacked {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ============================================================
   4) MERGED "ÜBER UNS" + "IHRE BERATER" CARD
   ============================================================ */
.pl-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pl-accent);
  margin: 0 0 3px;
}
.pl-lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--pl-body);
  margin: 0;
}

.pl-merge {
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-lg);
  box-shadow: var(--pl-shadow-sm);
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}
.pl-merge__part:first-child {
  border-right: 1px solid var(--pl-line-soft);
  padding-right: 28px;
}
.pl-merge .pl-eyebrow { margin: 0 0 5px; }

/* ---- Über uns ---- */
.pl-intro__facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pl-line-soft);
}
.pl-fact { display: flex; gap: 9px; align-items: center; }
.pl-fact__icon {
  width: 26px; height: 26px;
  border-radius: var(--pl-radius-md);
  flex-shrink: 0;
  background: var(--pl-accent-tint);
  color: var(--pl-accent);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.pl-fact__val { font-size: 15.5px; font-weight: 700; color: var(--pl-ink); }
.pl-fact__lbl { font-size: 14.5px; color: var(--pl-text-soft); }

/* ---- Ihre Berater ---- */
.pl-contact__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pl-contact__head .pl-eyebrow { margin: 0; }
.pl-contact__note { font-size: 12.5px; color: var(--pl-text-soft); margin: 0 0 0 auto; }
.pl-people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pl-person {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 9px 12px;
  background: var(--pl-canvas);
  border: 1px solid var(--pl-line-soft);
  border-radius: var(--pl-radius-md);
  transition: all .2s ease;
}
.pl-person:hover { border-color: var(--pl-accent-soft); background: var(--pl-accent-tint); }
.pl-person__photo {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
  background: var(--pl-line-soft);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--pl-line);
}
.pl-person__body { min-width: 0; flex: 1; }
.pl-person__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-ink);
  margin: 0;
  line-height: 1.2;
}
.pl-person__role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pl-accent);
  margin: 0 0 3px;
}
.pl-person__links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pl-person__links a {
  font-size: 12.5px;
  color: var(--pl-body);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.pl-person__links a:hover { color: var(--pl-accent); }
.pl-person__links i { color: var(--pl-accent); font-size: 12px; width: 13px; text-align: center; }

/* ============================================================
   5) SEARCH / IMPORT CARD
   ============================================================ */
.pl-search-card {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-xl);
  box-shadow: var(--pl-shadow-md);
  border: 1px solid var(--pl-line);
  padding: 28px;
}
.pl-search-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pl-ink);
  margin: 10px 0 20px;
}
.pl-search-card__sub {
  display: inline-block;
  color: var(--pl-muted);
  font-size: 14px;
  font-weight: 400;
  margin-left: 14px;
}
.pl-search-card__powered {
  font-size: 11.5px;
  color: var(--pl-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pl-search-card__powered b {
  color: var(--pl-ink);
  font-weight: 700;
}
.pl-search-card__powered i {
  color: var(--pl-accent);
}
.pl-search-card__powered--below {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

/* Let the import bar span the full width of the card, matching the box above */
.pl-search-card--full .search-container-redesign {
  max-width: none;
  margin: 0 0 12px;
}

/* Drop the card frame itself — the search bar sits directly on the page */
.pl-search-card--full {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* ============================================================
   6) SHARED JOURNEY FRAGMENT (org/b2blease/journey_faq.html)
   ============================================================ */
.pl-search-card + .b2bl-journey-section {
  margin-top: -48px;
}
.b2bl-step-num {
  background: var(--pl-accent-tint);
}

/* ============================================================
   7) FOOTER
   ============================================================ */
.pl-footer {
  background: var(--pl-bar);
  color: rgba(255,255,255,.78);
  padding: 18px 0;
  flex-shrink: 0;
}
.pl-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.pl-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.pl-footer__legal {
  display: flex; gap: 18px;
}
.pl-footer__legal a:hover { color: var(--pl-surface); }

/* ============================================================
   8) NAVBAR DROPDOWNS (from org/praxisleasing/navbar.html)
   ============================================================ */
.pl-lang-toggle {
  background: transparent;
  border: 1px solid var(--pl-line);
  border-radius: 6px;
  padding: 0 10px;
  height: 38px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: var(--pl-ink);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}
.pl-lang-toggle:hover { background: var(--pl-canvas); }
.pl-lang-toggle .lang-active { color: var(--pl-accent); font-weight: 700; }
.pl-lang-toggle .lang-sep { opacity: 0.4; }

.pl-profile-dropdown { position: relative; }
.pl-profile-btn {
  background: transparent;
  border: 1px solid var(--pl-line);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--pl-ink);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pl-profile-btn:hover { background: var(--pl-canvas); }
.pl-profile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  min-width: 180px;
  padding: 6px;
  z-index: 1040;
}
.pl-profile-dropdown.show .pl-profile-menu { display: block; }
.pl-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--pl-ink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.pl-profile-menu-item:hover { background: var(--pl-canvas); color: var(--pl-accent); }
.pl-profile-menu-divider { height: 1px; background: var(--pl-line-soft); margin: 4px 0; }

/* ============================================================
   9) RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .pl-merge { grid-template-columns: 1fr; gap: 16px; }
  .pl-merge__part:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--pl-line-soft);
    padding-bottom: 16px;
  }
  .pl-nav__menu { display: none; }
}
@media (max-width: 600px) {
  .pl-nav__inner { padding: 0 16px; height: 64px; gap: 16px; }
  .pl-container { padding: 18px 16px 32px; }
  .pl-partner-hero__inner { padding: 28px 16px; }
  .pl-partner-hero__title { font-size: 22px; }
}
