/* Payvero site refresh: restrained brand colors, clearer reading rhythm, consistent controls. */
:root {
  --pv-ink: #30353a;
  --pv-muted: #606a72;
  --pv-teal: #d94b22;
  --pv-mint: #fff0e9;
  --pv-bg: #f7f7f5;
  --pv-line: #e2e3e1;
  --pv-radius: 8px;
  --pv-shadow: 0 12px 34px rgba(32, 39, 44, .08);
  color-scheme: light;
}

html { scroll-padding-top: 92px; }
body { color: var(--pv-ink); background: #fff; font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
::selection { background: #f8d6c9; color: #30353a; }
a { color: #c9431d; text-underline-offset: .18em; }
a:hover { color: #a93315; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #d94b22; outline-offset: 3px; }
.pv-wrap { width: min(1200px, calc(100% - 56px)); }

.site-header { background: rgba(255,255,255,.97); border-bottom-color: #e8e8e6; box-shadow: 0 2px 14px rgba(32,39,44,.035); backdrop-filter: blur(12px); }
.site-header-inner { display: flex; flex-wrap: nowrap; width: min(1400px, calc(100% - 56px)); min-height: 76px; padding: 0; gap: 20px; }
.premium-theme .site-header-inner { display: flex !important; grid-template-columns: none; flex-wrap: nowrap; width: min(1400px, calc(100% - 56px)); min-height: 76px; padding: 0; gap: 16px; }
.site-header-inner > .site-login { display: none; }
.site-brand { color: #30353a; font-size: 29px; letter-spacing: -1.6px; }
.site-brand span { color: #d94b22; }
.site-brand small { display: block; margin-top: -5px; color: #727980; font-size: 9px; font-weight: 650; letter-spacing: 1.15px; text-transform: uppercase; }
.site-utility { color: #737b80; font-size: 11px; }
.site-utility a { color: #30353a; font-weight: 700; text-decoration: none; }
.site-links { gap: clamp(10px, 1.2vw, 18px); }
.site-links > a, .site-links summary { color: #444c52; font-size: 12px; font-weight: 650; }
.site-links > a { border-radius: 0 !important; border-bottom: 2px solid transparent; background: transparent !important; padding: 12px 7px; }
.premium-theme .site-links > a { border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; color: #444c52; }
.site-links > a[aria-current="page"] { border-bottom-color: #d94b22; background: transparent !important; color: #b93a19; }
.premium-theme .site-links > a[aria-current="page"] { border-bottom-color: #d94b22 !important; color: #b93a19 !important; }
body.premium-theme .site-links { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.premium-theme .site-links > a, body.premium-theme .site-links > details > summary { color: #444c52 !important; }
body.premium-theme .site-links > a[aria-current="page"], body.premium-theme .site-nav-details.has-current > summary { color: #b93a19 !important; }
body.premium-theme .site-links > a.site-login { background: #d94b22 !important; border: 0 !important; color: #fff !important; padding: 10px 14px; }
body.premium-theme .site-links > a.site-login:hover { background: #b93a19 !important; }
.site-links a:hover, .site-links a[aria-current="page"], .site-links summary:hover { color: #c9431d; }
.site-login, .site-links .site-login { border: 0; border-radius: 5px; background: #30353a; color: #fff; padding: 10px 14px; }
.site-links .site-login:hover { background: #d94b22; color: #fff; }
.site-links > .site-login { flex: 0 0 auto; border: 0; padding: 10px 14px; color: #fff !important; background: #d94b22 !important; }
.site-links > .site-login:hover { background: #b93a19 !important; }
.site-menu-toggle { border-color: #d9dcde; border-radius: 5px; color: #30353a; }
.site-nav-dropdown { border-color: #e5e5e2; border-radius: 6px; box-shadow: var(--pv-shadow); }
.site-nav-details.has-current > summary { color: #b93a19; text-decoration: underline; text-decoration-color: #d94b22; text-decoration-thickness: 2px; text-underline-offset: 8px; }

h1, h2, h3, h4 { color: #30353a; text-wrap: pretty; }
h1 { letter-spacing: -.035em; }
h2 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
.pv-eyebrow, .premium-kicker { color: #bd3c1b; letter-spacing: 1.35px; }
.pv-heading { color: #30353a; letter-spacing: -.04em; font-weight: 680; }
.pv-heading em { color: #d94b22; }
.pv-lead, .premium-lead { color: #566168; }
.pv-button, .site-login { background: #d94b22; border-color: #d94b22; color: #fff; border-radius: 5px; font-weight: 680; box-shadow: none; }
.pv-button:hover { background: #b93a19; border-color: #b93a19; color: #fff; transform: translateY(-1px); }
.pv-button.secondary { border-color: #cfd2d3; color: #30353a; background: #fff; }
.pv-button.secondary:hover { border-color: #d94b22; color: #b93a19; background: #fff; }
.pv-button.mint { background: #fff0e9; border-color: #f0cabb; color: #8f3219; }

.pv-hero { background: linear-gradient(112deg, #f7f7f5 0%, #fff 70%); }
.premium-hero { background: linear-gradient(112deg, #f7f7f5 0%, #fff 67%, #f5f3f1 100%); }
.premium-hero:before { height: 4px !important; background: #d94b22 !important; }
.premium-kicker { border-color: #f0d0c4 !important; border-radius: 3px !important; background: #fff8f5 !important; }
.premium-hero h1 { color: #30353a !important; letter-spacing: -.045em !important; }
.premium-hero h1 span { color: #d94b22 !important; }
.premium-visual > img, .marketing-figure img { border-radius: 8px !important; box-shadow: 0 16px 42px rgba(32,39,44,.13) !important; }
.premium-visual-note { border-radius: 6px !important; box-shadow: 0 10px 28px rgba(32,39,44,.12) !important; }
.premium-benefits li { border-radius: 5px !important; box-shadow: none !important; }

.pv-section { padding-block: clamp(56px, 7vw, 88px); }
.pv-section.soft, .premium-section-alt { background: #f7f7f5; }
.payvero-quickstart { background: #fff; }
.payvero-quick-card, .pv-product-card, .pv-card, .business-lines > a, .marketing-home-grid > div {
  border-radius: 6px !important; box-shadow: none !important;
}
.payvero-quick-card { border-color: #e3e4e2; }
.payvero-quick-card:hover { border-color: #d94b22; box-shadow: 0 8px 22px rgba(32,39,44,.07) !important; }
.pv-product-card { border-color: #dedfdd; }
.pv-product-card .pv-badge { border-radius: 3px; background: #fff0e9; color: #a4381b; }
.pv-price { color: #30353a; }
.pv-price-note, .product-footnote, .premium-tax { color: #6a7378; }
.business-lines > a { border-bottom-color: #dfe0de; }
.payment-editorial { background: #f7f7f5; }
.payment-editorial-grid, .portal-editorial { gap: clamp(30px, 6vw, 84px); }
.portal-editorial ol li > span, .pv-proof-mark { background: #fff0e9; color: #ba3d1c; }
.contact-editorial { background: #30353a; color: #fff; }
.contact-editorial h2, .contact-editorial p { color: #fff; }
.contact-editorial a { color: #ffb29a; }

main:not(.editorial-home) { min-height: 55vh; }
main:not(.editorial-home) h1 { max-width: 980px; }
main:not(.editorial-home) section { scroll-margin-top: 92px; }
main:not(.editorial-home) .pv-section-head { margin-bottom: 38px; }
main:not(.editorial-home) .pv-card, main:not(.editorial-home) [class*="card"] { border-radius: 6px; }
main:not(.editorial-home) input, main:not(.editorial-home) select, main:not(.editorial-home) textarea { border-color: #cfd2d3; border-radius: 5px; }
main:not(.editorial-home) input:focus, main:not(.editorial-home) select:focus, main:not(.editorial-home) textarea:focus { border-color: #d94b22; box-shadow: 0 0 0 3px rgba(217,75,34,.12); }

.site-footer { background: #30353a; color: #f4f5f5; }
.site-footer h3, .site-footer .site-brand { color: #fff; }
.site-footer .site-brand span { color: #f27b59; }
.site-footer p, .site-footer span { color: #d0d4d6; }
.site-footer a { color: #f5a189; }
.site-footer a:hover { color: #fff; }
.site-footer-grid a { color: #e7e9ea; }
.contract-footer { border-color: rgba(255,255,255,.15); }
.site-footer-bottom { border-color: rgba(255,255,255,.15); }

@media (min-width: 1351px) {
  .site-utility { display: none; }
  .site-header-inner { min-height: 76px; gap: 14px; }
  .site-links { gap: clamp(4px, .65vw, 10px); }
  .site-links > a, .site-links summary { font-size: 11px; }
}
@media (max-width: 1150px) and (min-width: 851px) {
  .site-header-inner { flex-wrap: wrap; min-height: 72px; padding-block: 12px; gap: 0; }
  .premium-theme .site-header-inner { flex-wrap: wrap; min-height: 72px; padding-block: 12px; gap: 0; }
  .site-menu-toggle { display: block; margin-left: auto; }
  .site-links { width: 100%; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--pv-line); flex-wrap: wrap; }
  .site-header[data-enhanced] .site-links[data-open="false"] { display: none; }
}
@media (max-width: 850px) {
  .pv-wrap, .site-header-inner { width: min(100% - 36px, 680px); }
  .site-header-inner { min-height: 68px; }
  .site-menu-toggle { display: block; margin-left: auto; }
  .site-links { background: #fff; border: 1px solid #e4e5e3; border-radius: 6px; box-shadow: 0 16px 36px rgba(32,39,44,.12); padding: 10px; }
  .site-links > a, .site-links summary { font-size: 14px; }
  .site-links .site-login { text-align: center; }
  .pv-section { padding-block: 56px; }
  .editorial-home .premium-hero-grid { width: min(100% - 36px, 680px); max-width: min(100% - 36px, 680px); grid-template-columns: minmax(0, 1fr); }
  .editorial-home .premium-hero-grid > div, .editorial-home .premium-lead, .editorial-home .premium-visual { width: 100%; max-width: 100%; min-width: 0; }
  .editorial-home .premium-lead { overflow-wrap: anywhere; }
}
.premium-theme .site-links > a[aria-current="page"] { background: transparent !important; color: #b93a19 !important; }
@media (max-width: 620px) {
  html { scroll-padding-top: 76px; }
  .pv-wrap, .site-header-inner { width: calc(100% - 32px); }
  .site-header-inner { min-height: 64px; }
  .site-brand { font-size: 26px; }
  .site-utility { display: none; }
  .pv-heading { font-size: clamp(34px, 10vw, 48px); }
  .pv-button { min-height: 46px; }
  .premium-hero { padding-block: 42px 48px !important; }
  .editorial-home .premium-hero h1 { font-size: clamp(36px, 10vw, 48px) !important; }
  .premium-benefits { grid-template-columns: 1fr !important; }
  .premium-benefits li:last-child { grid-column: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Customer friendly navigation: keep the established links, align them on one line. */
@media (min-width: 1151px) {
  .site-header-inner, .premium-theme .site-header-inner { display:flex !important; align-items:center; flex-wrap:nowrap !important; gap:clamp(16px,2vw,28px) !important; }
  .site-brand { flex:0 0 auto; }
  .site-links, body.premium-theme .site-links { display:flex !important; flex:0 0 auto !important; align-items:center; justify-content:flex-start !important; flex-wrap:nowrap !important; width:auto !important; min-width:0; margin-left:auto; gap:clamp(8px,.9vw,14px) !important; }
  .site-links > a, .site-links > details, .site-links > details > summary { flex:0 0 auto !important; width:auto !important; white-space:nowrap !important; }
  .site-links > a, .site-links summary { font-size:clamp(10px,.78vw,12px) !important; padding-inline:clamp(4px,.5vw,8px) !important; }
  .site-links > details > summary { display:inline-flex; align-items:center; gap:5px; }
  .site-nav-details summary:after { content:"" !important; width:6px; height:6px; margin-top:-3px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
  .site-nav-dropdown { min-width:220px; padding:7px; }
  .site-nav-dropdown a { display:block; padding:10px 12px; border-radius:4px; }
  .site-links > a.site-login { padding:11px 14px !important; margin-left:2px; }
}
@media (max-width: 1150px) and (min-width: 851px) {
  .site-menu-toggle, .premium-theme .site-menu-toggle { display:block !important; margin-left:auto; background:#30353a !important; color:#fff !important; border:0; min-height:40px; }
}
@media (max-width: 850px) {
  .site-header-inner, .premium-theme .site-header-inner { display:flex !important; flex-wrap:wrap !important; align-items:center; gap:8px !important; }
  .site-menu-toggle, .premium-theme .site-menu-toggle { display:block !important; margin-left:auto; background:#30353a !important; color:#fff !important; border:0; border-radius:4px; min-height:40px; padding:9px 13px; font-size:13px; }
  .site-header[data-enhanced] .site-links[data-open="false"] { display:none !important; }
  .site-header[data-enhanced] .site-links[data-open="true"], .premium-theme .site-header[data-enhanced=true] .site-links[data-open=true] { display:flex !important; flex-direction:column; align-items:stretch; flex:1 0 100% !important; width:100% !important; margin:8px 0 0; gap:0 !important; }
  .site-links > a, .site-links > details > summary { white-space:normal !important; width:100% !important; text-align:left; }
  .site-nav-dropdown { position:static; display:grid; min-width:0; margin:0 8px 8px; padding:4px 8px; border:0; border-left:2px solid #f0cabb; border-radius:0; box-shadow:none; }
  .site-nav-dropdown a { padding:9px 10px; }
  .site-menu-toggle:focus-visible { outline:3px solid #d94b22; outline-offset:3px; }
  .editorial-home .premium-hero-grid, .editorial-home .premium-hero-grid > *, .editorial-home .premium-lead, .editorial-home .premium-visual { box-sizing:border-box; width:100%; max-width:100%; min-width:0; }
  .editorial-home .premium-hero h1 { max-width:100%; overflow-wrap:anywhere; font-size:clamp(32px,9vw,40px) !important; letter-spacing:-.04em !important; }
  .editorial-home .premium-lead { overflow-wrap:break-word; }
  html, body { max-width:100%; overflow-x:clip; }
}
.contract-footer { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.contract-footer a { min-height:42px; padding:0 14px; border-radius:4px; }
.contract-footer span { margin-left:auto; }
.site-footer-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; }
.site-footer-bottom > div { display:flex; flex-wrap:wrap; gap:8px 16px; }
.site-footer-bottom a { text-decoration:none; }
.site-footer-bottom a:hover { text-decoration:underline; text-underline-offset:3px; }
@media (max-width:850px) { .contract-footer span { flex-basis:100%; margin-left:0; } .site-footer-bottom > div { gap:8px 14px; } }
/* Mobile fitting and visible menu control, verified against the live page. */
@media (max-width:850px) {
  .site-header-inner,.premium-theme .site-header-inner { position:relative !important; width:calc(100% - 36px) !important; padding-right:58px !important; box-sizing:border-box; }
  .site-menu-toggle,.premium-theme .site-menu-toggle { display:block !important; position:absolute !important; top:50%; right:0; transform:translateY(-50%); margin:0 !important; z-index:2; }
  .editorial-home .premium-hero-grid { width:calc(100% - 36px) !important; max-width:680px !important; margin-inline:auto !important; }
  .editorial-home .premium-hero-grid > * { width:100%; max-width:100%; min-width:0; }
  .editorial-home .premium-lead { width:100%; max-width:100%; }
  .editorial-home .premium-hero h1 { font-size:clamp(32px,9vw,40px) !important; max-width:100%; }
}
@media (max-width:850px) { .site-menu-toggle,.premium-theme .site-menu-toggle { top:12px !important; right:0 !important; transform:none !important; } }
@media (max-width:520px) {
  #pv-assistant-launcher { font-size:0 !important; gap:0 !important; padding:12px 14px !important; }
  #pv-assistant-launcher::before { content:"Fragen?"; font-size:13px !important; line-height:1.2; font-weight:700; }
}

/* Navigation refinement: clear customer paths with comfortable reading size. */
.site-header-inner,.premium-theme .site-header-inner { gap:clamp(18px,2vw,30px); }
.site-links,.premium-theme .site-links { gap:clamp(11px,1vw,17px) !important; }
.site-links > a,.site-links > summary,.site-links details > summary,
.premium-theme .site-links > a,.premium-theme .site-links > summary { font-size:13px !important; }
.site-links > a,.site-links > details > summary { padding-inline:7px !important; }
.site-links > a.site-login { padding:11px 15px !important; }
.site-nav-dropdown a { font-size:14px; }
.site-links a:focus-visible,.site-links summary:focus-visible,.site-menu-toggle:focus-visible { outline:3px solid #d94b22; outline-offset:3px; border-radius:4px; }
@media (max-width:1150px) and (min-width:851px) {
  .site-links > a,.site-links > summary,.site-links details > summary { font-size:14px !important; }
  .site-links { gap:8px !important; }
}

/* Keep the desktop header single-row; offer a tidy expanded menu on smaller screens. */
@media (min-width:1251px) {
  body.premium-theme header.site-header .site-header-inner { display:flex !important; flex-wrap:nowrap !important; align-items:center !important; min-height:82px !important; padding:0 !important; gap:22px !important; }
  body.premium-theme header.site-header .site-header-inner > .site-utility,
  body.premium-theme header.site-header .site-header-inner > .site-login { display:none !important; }
  body.premium-theme header.site-header #site-navigation { display:flex !important; flex:0 0 auto !important; width:auto !important; margin:0 0 0 auto !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; grid-column:auto !important; flex-wrap:nowrap !important; justify-content:flex-end !important; gap:clamp(10px,1vw,16px) !important; }
  body.premium-theme header.site-header #site-navigation > a:not(.site-login) { background:transparent !important; border:0 !important; border-bottom:2px solid transparent !important; color:#3c454a !important; padding:12px 5px 10px !important; }
  body.premium-theme header.site-header #site-navigation > details > summary { color:#3c454a !important; padding:12px 5px 10px !important; }
  body.premium-theme header.site-header #site-navigation > a[aria-current="page"] { color:#b93a19 !important; border-bottom-color:#d94b22 !important; }
  body.premium-theme header.site-header #site-navigation > a.site-login { display:inline-flex !important; align-items:center; background:#d94b22 !important; color:#fff !important; border:0 !important; border-radius:5px !important; padding:11px 15px !important; }
}
@media (max-width:1250px) and (min-width:851px) {
  body.premium-theme header.site-header .site-header-inner { display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:10px !important; padding-block:12px !important; }
  body.premium-theme header.site-header .site-header-inner > .site-utility,
  body.premium-theme header.site-header .site-header-inner > .site-login { display:none !important; }
  body.premium-theme header.site-header .site-menu-toggle { display:block !important; margin-left:auto !important; }
  body.premium-theme header.site-header #site-navigation { flex:1 0 100% !important; width:100% !important; margin:8px 0 0 !important; }
}
@media (max-width:850px) {
  body.premium-theme header.site-header .site-header-inner > .site-utility,
  body.premium-theme header.site-header .site-header-inner > .site-login { display:none !important; }
  body.premium-theme header.site-header #site-navigation { background:#fff !important; border:1px solid #e5e7e7 !important; border-radius:7px !important; box-shadow:0 12px 28px rgba(32,39,44,.10) !important; padding:6px 12px !important; }
  body.premium-theme header.site-header #site-navigation > a:not(.site-login),
  body.premium-theme header.site-header #site-navigation > details > summary { display:flex !important; align-items:center; min-height:46px; padding:10px 6px !important; border-bottom:1px solid #edf0f1 !important; background:transparent !important; color:#30353a !important; }
  body.premium-theme header.site-header #site-navigation > details { border-bottom:1px solid #edf0f1; }
  body.premium-theme header.site-header #site-navigation > details > summary { border:0 !important; }
  body.premium-theme header.site-header #site-navigation > a.site-login { display:flex !important; align-items:center; justify-content:center; min-height:46px; margin:9px 0 3px; background:#d94b22 !important; color:white !important; border:0 !important; border-radius:5px !important; }
}

/* Clear customer paths: grouped products, visible contact and contract actions. */
.site-links > .site-nav-withdraw,
body.premium-theme .site-links > .site-nav-withdraw {
  color:#a93414 !important;
  border:1px solid #efc6b8 !important;
  border-radius:5px !important;
  background:#fff7f3 !important;
  padding:9px 11px !important;
  font-weight:700 !important;
}
.site-links > .site-nav-withdraw:hover,
body.premium-theme .site-links > .site-nav-withdraw:hover {
  color:#84290f !important;
  background:#ffede5 !important;
  border-color:#d94b22 !important;
}
.site-links > details > summary { cursor:pointer; }
.site-links > details[open] > summary { color:#a93414 !important; }
.site-nav-dropdown { min-width:245px; }
.site-nav-dropdown a { min-height:42px; display:flex; align-items:center; }
@media (max-width:850px) {
  .site-links > .site-nav-withdraw { border:0 !important; border-radius:0 !important; background:transparent !important; padding:10px 6px !important; }
  .site-links > .site-nav-withdraw:hover { background:#fff7f3 !important; }
  .site-nav-dropdown { min-width:0; }
}

/* Keep the withdrawal action visible while tablet and mobile navigation is collapsed. */
.site-withdraw-quick { display:none; }
@media (max-width:1250px) {
  .site-withdraw-quick { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:40px; margin-left:auto; margin-right:8px; padding:8px 10px; border:1px solid #efc6b8; border-radius:5px; background:#fff7f3; color:#a93414 !important; font-size:12px; font-weight:700; line-height:1.2; text-decoration:none; white-space:nowrap; }
  .site-withdraw-quick:hover { border-color:#d94b22; background:#ffede5; color:#84290f !important; }
  .site-header-inner > .site-utility { display:none !important; }
  body.premium-theme header.site-header #site-navigation > a.site-nav-withdraw:not(.site-login) { display:none !important; }
  .site-menu-toggle { margin-left:0 !important; }
}
@media (max-width:850px) {
  .site-withdraw-quick { padding:8px 9px; font-size:11px; }
}
@media (max-width:380px) {
  .site-withdraw-quick .full-label { display:none; }
  .site-withdraw-quick .short-label { display:inline; }
}
@media (min-width:381px) {
  .site-withdraw-quick .short-label { display:none; }
}
