/*
Theme Name: CarDone Digital Multipage Base
Theme URI: https://cardone-digital.com/
Author: CarDone Digital UG (haftungsbeschraenkt)
Description: Schlankes WordPress-Theme mit getrenntem Template, globalem Header/Footer und mehrseitigen editierbaren Seiteninhalten fuer CarDone Digital.
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: cardone-digital-base
*/

:root {
  --cd-navy: #0b1220;
  --cd-navy-2: #10233f;
  --cd-blue: #2563eb;
  --cd-cyan: #38bdf8;
  --cd-teal: #14b8a6;
  --cd-bg: #f6f8fb;
  --cd-border: #d9e2ef;
  --cd-text: #172033;
  --cd-muted: #667085;
  --cd-white: #ffffff;
  --cd-amber: #f59e0b;
  --cd-green: #10b981;
  --cd-shadow: 0 18px 60px rgba(11, 18, 32, 0.12);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cd-white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--cd-text); }
body.admin-bar .cd-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cd-nav { top: 46px; } }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 9999; width: auto; height: auto; padding: 10px 14px; background: #fff; color: var(--cd-navy); clip: auto; text-decoration: none; border-radius: 10px; box-shadow: var(--cd-shadow); }

.cd-site, .cd-site * { box-sizing: border-box; }
.cd-site { color: var(--cd-text); background: var(--cd-white); line-height: 1.6; }
.cd-site a, .cd-nav a, .cd-footer a { color: inherit; }
.cd-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.cd-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--cd-border); backdrop-filter: blur(12px); }
.cd-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.cd-logo { font-weight: 800; text-decoration: none; color: var(--cd-navy); letter-spacing: -0.02em; white-space: nowrap; }
.cd-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.cd-nav-links ul, .cd-footer-links ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cd-nav-links a { text-decoration: none; color: var(--cd-muted); }
.cd-nav-links a:hover, .cd-nav-links a:focus { color: var(--cd-blue); }
.cd-menu-toggle { display: none; border: 1px solid var(--cd-border); background: #fff; color: var(--cd-navy); border-radius: 999px; padding: 9px 13px; font-weight: 750; }

.cd-hero { background: radial-gradient(circle at top right, rgba(37,99,235,.22), transparent 34%), linear-gradient(135deg, #07101f 0%, #10233f 55%, #0f3b53 100%); color: var(--cd-white); padding: 92px 0 74px; overflow: hidden; }
.cd-hero-grid, .cd-detail-grid, .cd-contact-grid, .cd-about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cd-hero h1, .cd-section h2 { margin: 0; line-height: 1.08; letter-spacing: -0.045em; }
.cd-hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 860px; }
.cd-section h2 { font-size: clamp(30px, 4vw, 46px); color: var(--cd-navy); }
.cd-section-dark h2 { color: var(--cd-white); }
.cd-eyebrow { color: var(--cd-cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; margin: 0 0 14px; }
.cd-lead { font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.84); max-width: 760px; margin: 24px 0 0; }
.cd-lead-en { font-size: 16px; color: rgba(255,255,255,.72); }
.cd-lead-small { font-size: 19px; color: var(--cd-muted); }
.cd-section-dark .cd-lead-small { color: rgba(255,255,255,.76); }
.cd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.cd-btn:hover { transform: translateY(-1px); }
.cd-btn-primary { background: var(--cd-blue); color: #fff; box-shadow: 0 12px 28px rgba(37,99,235,.28); }
.cd-btn-secondary { background: #fff; color: var(--cd-navy); border-color: var(--cd-border); }
.cd-btn-light { background: #fff; color: var(--cd-navy); }
.cd-btn-outline-light { color: #fff; border-color: rgba(255,255,255,.32); }
.cd-hero-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 32px; padding: 22px; box-shadow: var(--cd-shadow); }
.cd-signal-card { border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 22px; background: rgba(255,255,255,.09); }
.cd-signal-card span, .cd-metric small { display: block; color: rgba(255,255,255,.72); }
.cd-signal-card strong { display: block; margin-top: 8px; font-size: 22px; line-height: 1.25; }
.cd-metric-grid { display: grid; gap: 14px; margin-top: 14px; }
.cd-metric { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.95); color: var(--cd-navy); }
.cd-metric span { color: var(--cd-blue); font-weight: 800; }
.cd-metric strong { display: block; font-size: 18px; margin-top: 4px; }
.cd-metric small { color: var(--cd-muted); }
.cd-section { padding: 86px 0; }
.cd-section-alt { background: var(--cd-bg); }
.cd-section-dark { background: var(--cd-navy); color: #fff; }
.cd-section-head { max-width: 820px; margin-bottom: 34px; }
.cd-section-head p { color: var(--cd-muted); font-size: 18px; }
.cd-card-grid { display: grid; gap: 22px; }
.cd-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cd-four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cd-card, .cd-mini-card { background: #fff; border: 1px solid var(--cd-border); border-radius: 28px; padding: 28px; box-shadow: 0 8px 30px rgba(11,18,32,.06); }
.cd-feature-card h3, .cd-side-card h3, .cd-card h3 { margin: 12px 0; color: var(--cd-navy); font-size: 24px; line-height: 1.2; }
.cd-card p, .cd-mini-card p, .cd-detail-copy p, .cd-method-list p { color: var(--cd-muted); }
.cd-tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(37,99,235,.09); color: var(--cd-blue); font-size: 12px; font-weight: 800; }
.cd-link { display: inline-block; margin-top: 14px; color: var(--cd-blue); font-weight: 800; text-decoration: none; }
.cd-detail-copy h3 { margin-top: 28px; color: var(--cd-navy); }
.cd-side-stack { display: grid; gap: 18px; }
.cd-side-card { background: #fff; border-radius: 28px; padding: 28px; border: 1px solid var(--cd-border); }
.cd-notice { margin: 24px 0; padding: 18px; border-left: 4px solid var(--cd-blue); background: rgba(37,99,235,.08); color: var(--cd-navy); border-radius: 14px; }
.cd-list { margin: 18px 0 0; padding-left: 20px; color: var(--cd-muted); }
.cd-list li { margin: 8px 0; }
.cd-process { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.cd-step { background: #fff; border: 1px solid var(--cd-border); border-radius: 24px; padding: 22px; }
.cd-step span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cd-blue); color: #fff; font-weight: 800; }
.cd-step h3 { margin: 14px 0 8px; color: var(--cd-navy); }
.cd-section-dark .cd-step { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.cd-section-dark .cd-step h3 { color: #fff; }
.cd-section-dark .cd-step p { color: rgba(255,255,255,.72); }
.cd-score-preview { display: grid; gap: 14px; }
.cd-score-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--cd-border); }
.cd-score-row span { color: var(--cd-muted); }
.cd-badge { padding: 5px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.cd-badge-green { background: rgba(16,185,129,.14); color: #047857; }
.cd-badge-amber { background: rgba(245,158,11,.16); color: #92400e; }
.cd-badge-red { background: rgba(239,68,68,.14); color: #991b1b; }
.cd-method-list { display: grid; gap: 16px; }
.cd-method-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.cd-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cd-blue); margin-top: 8px; }
.cd-contact { background: linear-gradient(135deg, #07101f, #10233f); color: #fff; }
.cd-contact h2 { color: #fff; }
.cd-contact p { color: rgba(255,255,255,.76); }
.cd-form-card { color: var(--cd-text); }
.cd-shortcode { padding: 18px; border-radius: 16px; background: var(--cd-bg); border: 1px dashed var(--cd-border); color: var(--cd-muted); }
.cd-company-card p { margin: 10px 0; }
.cd-footer { background: #07101f; color: rgba(255,255,255,.78); padding: 34px 0; font-size: 14px; }
.cd-footer-grid { display: grid; grid-template-columns: 1.4fr auto; gap: 20px; align-items: center; }
.cd-footer strong { color: #fff; }
.cd-footer p { margin: 6px 0 0; }
.cd-footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.cd-footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.cd-copyright { grid-column: 1 / -1; color: rgba(255,255,255,.52); }
.cd-fallback-page { padding: 70px 0; }
.cd-fallback-page h1 { color: var(--cd-navy); font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.04em; }

@media (max-width: 920px) {
  .cd-menu-toggle { display: inline-flex; }
  .cd-nav-links { display: none; width: 100%; padding: 10px 0 4px; }
  .cd-nav-links.is-open { display: flex; }
  .cd-nav-links ul { flex-direction: column; align-items: flex-start; width: 100%; }
  .cd-nav-inner { flex-wrap: wrap; }
  .cd-hero-grid, .cd-detail-grid, .cd-contact-grid, .cd-about-grid { grid-template-columns: 1fr; }
  .cd-three, .cd-four, .cd-process { grid-template-columns: 1fr; }
  .cd-hero { padding: 70px 0 56px; }
  .cd-section { padding: 66px 0; }
  .cd-footer-grid { grid-template-columns: 1fr; }
  .cd-footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cd-container { width: min(100% - 28px, 1180px); }
  .cd-nav-inner { padding: 13px 0; }
  .cd-card, .cd-mini-card, .cd-side-card { padding: 22px; border-radius: 22px; }
  .cd-actions { flex-direction: column; align-items: stretch; }
  .cd-btn { width: 100%; }
}

/* Multipage content additions */
.cd-page-hero { background: radial-gradient(circle at top right, rgba(56,189,248,.22), transparent 32%), linear-gradient(135deg, #07101f 0%, #10233f 58%, #0f3b53 100%); color: #fff; padding: 82px 0 66px; }
.cd-page-hero .cd-container { max-width: 1180px; }
.cd-page-hero h1 { margin: 0; max-width: 940px; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -0.045em; }
.cd-page-hero .cd-lead { max-width: 850px; }
.cd-breadcrumb { margin: 0 0 18px; color: rgba(255,255,255,.62); font-size: 14px; }
.cd-breadcrumb a { color: rgba(255,255,255,.78); text-decoration: none; }
.cd-trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.cd-pill { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 750; }
.cd-hero-note { margin-top: 26px; max-width: 850px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.82); }
.cd-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.cd-kicker { margin: 0 0 10px; color: var(--cd-blue); text-transform: uppercase; letter-spacing: .14em; font-weight: 850; font-size: 12px; }
.cd-section-title { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.04em; color: var(--cd-navy); }
.cd-copy p { color: var(--cd-muted); font-size: 17px; }
.cd-card h2, .cd-mini-card h2 { margin: 0 0 12px; color: var(--cd-navy); font-size: 24px; line-height: 1.2; }
.cd-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 14px; align-items: center; justify-content: center; background: rgba(37,99,235,.1); color: var(--cd-blue); font-weight: 900; }
.cd-muted { color: var(--cd-muted); }
.cd-cta-band { background: linear-gradient(135deg, #07101f, #10233f); color: #fff; border-radius: 34px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cd-cta-band h2 { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.04em; }
.cd-cta-band p { color: rgba(255,255,255,.75); margin-bottom: 0; }
.cd-timeline { display: grid; gap: 16px; counter-reset: cdsteps; }
.cd-timeline-item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border: 1px solid var(--cd-border); border-radius: 24px; padding: 22px; }
.cd-timeline-item::before { counter-increment: cdsteps; content: counter(cdsteps); display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--cd-blue); color: #fff; font-weight: 850; }
.cd-timeline-item h3 { margin: 0 0 6px; color: var(--cd-navy); }
.cd-timeline-item p { margin: 0; color: var(--cd-muted); }
.cd-faq { display: grid; gap: 14px; }
.cd-faq details { background: #fff; border: 1px solid var(--cd-border); border-radius: 20px; padding: 18px 20px; }
.cd-faq summary { cursor: pointer; font-weight: 850; color: var(--cd-navy); }
.cd-faq p { color: var(--cd-muted); }
.cd-price-card { background: #fff; border: 1px solid var(--cd-border); border-radius: 30px; padding: 30px; box-shadow: var(--cd-shadow); }
.cd-price { font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -0.04em; color: var(--cd-navy); font-weight: 900; margin: 12px 0; }
.cd-price small { display: block; font-size: 14px; letter-spacing: 0; color: var(--cd-muted); margin-top: 8px; }
.cd-warning { background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid var(--cd-amber); border-radius: 18px; padding: 18px; color: #7c2d12; }
.cd-medical { background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(56,189,248,.08)); }
.cd-page-footer-cta { padding: 70px 0; background: var(--cd-bg); }
.cd-external-note { font-size: 14px; color: var(--cd-muted); margin-top: 12px; }
@media (max-width: 920px) {
  .cd-split, .cd-cta-band { grid-template-columns: 1fr; }
  .cd-cta-band .cd-actions { margin-top: 0; }
}
.cd-five { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 1120px) { .cd-five { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 920px) { .cd-five { grid-template-columns: 1fr; } }
.cd-page-hero.cd-medical { background: radial-gradient(circle at top right, rgba(20,184,166,.28), transparent 34%), linear-gradient(135deg, #06151b 0%, #0f2c3a 52%, #0f766e 100%); color: #fff; }

/* v1.3.0 refinements after content review */
.cd-nav-cta,
.cd-nav-links a[href="/#contact"],
.cd-nav-links a[href$="/#contact"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cd-blue);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37,99,235,.22);
}
.cd-nav-links a[href="/#contact"]:hover,
.cd-nav-links a[href$="/#contact"]:hover,
.cd-nav-cta:hover { color: #fff !important; transform: translateY(-1px); }
.cd-trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cd-trust-strip span { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 750; }
.cd-founder-card { display: grid; gap: 12px; }
.cd-founder-card .cd-avatar-placeholder { width: 82px; height: 82px; border-radius: 28px; background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(20,184,166,.18)); display: inline-flex; align-items: center; justify-content: center; color: var(--cd-blue); font-weight: 900; font-size: 24px; }
.cd-inline-cta { margin-top: 28px; padding: 22px; border-radius: 24px; border: 1px solid var(--cd-border); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; box-shadow: 0 8px 30px rgba(11,18,32,.05); }
.cd-inline-cta p { margin: 0; color: var(--cd-muted); }
.cd-disclaimer { margin-top: 18px; padding: 18px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--cd-border); color: var(--cd-muted); font-size: 15px; }
.cd-disclaimer strong { color: var(--cd-navy); }
.cd-form-fields { display: grid; gap: 10px; margin-top: 16px; }
.cd-form-field { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--cd-border); background: #fff; color: var(--cd-muted); font-size: 14px; }
.cd-external-link-note a { color: var(--cd-blue); font-weight: 850; text-decoration: none; }
.cd-mini-note { font-size: 14px; color: var(--cd-muted); margin-top: 12px; }
@media (max-width: 560px) { .cd-inline-cta { align-items: stretch; } }

/* v1.4.0 final refinements: Projektmanagement navigation, contrast, contact, legal pages, funding block */
.cd-site a.cd-btn,
.cd-site .cd-btn {
  font-weight: 800;
  text-decoration: none !important;
}

.cd-site a.cd-btn-primary,
.cd-site .cd-btn-primary {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 14px 32px rgba(29, 78, 216, 0.28);
}

.cd-site a.cd-btn-primary:hover,
.cd-site .cd-btn-primary:hover,
.cd-site a.cd-btn-primary:focus,
.cd-site .cd-btn-primary:focus {
  background: #1e40af !important;
  color: #ffffff !important;
  border-color: #1e40af !important;
}

.cd-site a.cd-btn-light,
.cd-site .cd-btn-light {
  background: #ffffff !important;
  color: #07101f !important;
  border-color: #ffffff !important;
}

.cd-site a.cd-btn-light:hover,
.cd-site .cd-btn-light:hover,
.cd-site a.cd-btn-light:focus,
.cd-site .cd-btn-light:focus {
  background: #eaf2ff !important;
  color: #07101f !important;
  border-color: #eaf2ff !important;
}

.cd-site a.cd-btn-secondary,
.cd-site .cd-btn-secondary {
  background: #ffffff !important;
  color: #0b1220 !important;
  border-color: #cbd5e1 !important;
}

.cd-site a.cd-btn-outline-light,
.cd-site .cd-btn-outline-light {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}

.cd-site a.cd-btn-outline-light:hover,
.cd-site .cd-btn-outline-light:hover,
.cd-site a.cd-btn-outline-light:focus,
.cd-site .cd-btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.cd-site .cd-hero {
  padding-top: 72px;
  padding-bottom: 64px;
}

.cd-site .cd-hero-grid {
  align-items: start;
}

.cd-site .cd-hero h1 {
  font-size: clamp(42px, 5vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em;
  max-width: 760px;
}

.cd-site .cd-hero .cd-lead {
  font-size: clamp(18px, 1.6vw, 21px);
  max-width: 680px;
}

.cd-site .cd-hero-panel {
  margin-top: 72px;
}

.cd-site .cd-contact-grid {
  align-items: start !important;
}

.cd-site #contact .cd-grid,
.cd-site #contact .cd-contact-grid,
.cd-site section#contact .cd-grid {
  align-items: flex-start !important;
}

.cd-site #contact .cd-section-copy,
.cd-site #contact .cd-copy,
.cd-site #contact .cd-content,
.cd-site #contact .cd-contact-copy,
.cd-site .cd-contact-content,
.cd-site .cd-contact-text {
  align-self: flex-start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cd-site .cd-form-card {
  background: #f1f5f9 !important;
  color: #0b1220 !important;
  border: 1px solid #cbd5e1 !important;
  align-self: start !important;
  margin-top: 0 !important;
}

.cd-site .cd-form-card .cd-shortcode,
.cd-site .cd-form-card form,
.cd-site .cd-form-card .wpcf7,
.cd-site .cd-form-card .wpcf7-form,
.cd-site .cd-form-card .wpforms-container,
.cd-site .cd-form-card .fluentform,
.cd-site .cd-form-card .ff-el-group {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.cd-site .cd-form-card input,
.cd-site .cd-form-card select,
.cd-site .cd-form-card textarea {
  background: #ffffff !important;
  color: #0b1220 !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 10px;
}

.cd-site .cd-form-card input:focus,
.cd-site .cd-form-card select:focus,
.cd-site .cd-form-card textarea:focus {
  outline: none;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.cd-site .cd-form-card label,
.cd-site .cd-form-card h3,
.cd-site .cd-form-card p,
.cd-site .cd-form-card span {
  color: #0b1220 !important;
}

.cd-site .cd-funding-block {
  padding-top: 24px;
  padding-bottom: 48px;
}

.cd-site .cd-funding-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 32px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  padding: 34px;
}

.cd-site .cd-funding-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: #0b1220;
}

.cd-site .cd-funding-card p {
  color: #334155;
}

.cd-site .cd-funding-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  min-height: 160px;
}

.cd-site .cd-funding-logo {
  max-width: 260px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cd-site .cd-legal-hero {
  background: linear-gradient(135deg, #07101f 0%, #10213d 100%);
  color: #ffffff;
}

.cd-site .cd-legal-page {
  background: #f8fafc;
}

.cd-site .cd-legal-container {
  max-width: 980px;
}

.cd-site .cd-legal-card {
  margin-bottom: 22px;
}

.cd-site .cd-legal-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  color: #0b1220;
}

.cd-site .cd-legal-card p {
  color: #334155;
}

.cd-site .cd-legal-card a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cd-site .cd-legal-card .cd-small {
  color: #64748b;
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .cd-site .cd-hero-panel {
    margin-top: 18px;
  }

  .cd-site .cd-hero h1 {
    font-size: clamp(36px, 9vw, 48px) !important;
  }

  .cd-site .cd-funding-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .cd-site .cd-funding-logo-wrap {
    justify-content: flex-start;
  }
}
