@import url("./hero.css");

/* Archive components shared across archived provider pages. */

.hero-author-org { font-size: var(--text-caption-size); color: var(--gray-300); margin-top: 1px; }

/* INFOCARD */
.hero-infocard { background: #fff; border: var(--border-card); border-radius: var(--radius); padding: 20px 26px; box-shadow: var(--shadow-card); width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 0; align-self: start; }
.ic-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: var(--border-bottom-subtle); }
.ic-logo-text { font-size: var(--text-brand-display-size); font-weight: var(--font-weight-extrabold); letter-spacing: var(--letter-spacing-heading-tight); line-height: var(--line-height-tight); color: var(--gray-800); }
.ic-logo-meta { font-size: var(--text-caption-size); color: var(--gray-300); font-weight: var(--font-weight-medium); line-height: var(--line-height-meta); }
.ic-rows { display: flex; flex-direction: column; gap: 0; }
.ic-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-bottom: var(--border-bottom-muted); }
.ic-row:last-child { border-bottom: var(--border-none); }
.ic-row-label { font-size: var(--text-caption-size); color: var(--gray-500); font-weight: var(--font-weight-medium); flex-shrink: 0; white-space: nowrap; }
.ic-row-val { font-size: var(--text-caption-size); font-weight: var(--font-weight-bold); color: var(--gray-800); text-align: right; }
.ic-row-val.green { color: var(--green); }
.ic-row-val.amber { color: var(--amber); }
.ic-row-val.blue { color: var(--accent-color-text); }
.ic-row-val.red { color: var(--red); }
.ic-cta { display: block; text-align: center; background: var(--accent-color-bg); color: #fff; font-family: 'Poppins', sans-serif; font-weight: var(--font-weight-bold); font-size: var(--text-caption-size); padding: 11px 16px; border-radius: 50px; text-decoration: none; margin-top: 18px; transition: var(--transition-button-soft); box-shadow: 0 4px 12px rgba(34,68,232,0.20); }
.ic-cta:hover { background: var(--accent-color-bg-hover); transform: translateY(-1px); }
.ic-disclaimer { font-size: var(--text-badge-size); color: var(--gray-300); text-align: center; margin-top: 7px; line-height: var(--line-height-caption); }
@media (max-width: 1000px) { .hero-infocard { width: 100%; max-width: 500px; } }

/* ARCHIVE BANNER */
.archive-banner { background: #F8F4E8; border-bottom: 1px solid #E3DAC1; padding: 12px 5vw; }
.archive-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.archive-icon { width: 36px; height: 36px; border-radius: 10px; background: #D8C089; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.archive-text { flex: 1; min-width: 200px; }
.archive-text strong { color: #4A3A22; font-size: var(--text-body-size); }
.archive-text p { color: #56462E; font-size: var(--text-card-body-size); margin-top: 2px; }
.archive-cta-pill { display: inline-flex; align-items: center; gap: 6px; background: #8A7440; color: #fff; font-weight: var(--font-weight-bold); font-size: var(--text-caption-size); padding: 8px 18px; border-radius: 50px; text-decoration: none; white-space: nowrap; transition: var(--transition-bg); }
.archive-cta-pill:hover { background: #705F33; }

.content-section { --content-section-padding: var(--space-section-y) var(--space-page-x); }
.text-body > .content-section,
.content-body > .content-section {
  padding: 0;
  background: transparent;
}
.page-with-toc > .toc-sidebar { --toc-top: 84px; }
/* TIMELINE */
.timeline-item { position: relative; padding: 0 0 28px 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content:''; position:absolute; left:-20px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--accent-color-bg); border:var(--border-white-ring); box-shadow:var(--shadow-ring-blue); z-index:1; }
.timeline-item.faded::before { background: var(--gray-300); box-shadow:var(--shadow-ring-muted); }
.timeline-year { font-size: var(--text-caption-size); font-weight: var(--font-weight-bold); color: var(--accent-color-text); letter-spacing: var(--letter-spacing-label); text-transform: uppercase; margin-bottom: 4px; }
.timeline-item.faded .timeline-year { color: var(--gray-300); }
.timeline-title { font-size: var(--text-ui-size); font-weight: var(--font-weight-bold); color: var(--gray-800); margin-bottom: 4px; line-height: var(--line-height-meta); }
.timeline-desc { font-size: var(--text-card-body-size); color: var(--gray-500); line-height: var(--line-height-body); }

/* TABELLEN */
.kondi-section { border: var(--border-card); border-radius: var(--radius); overflow: hidden; margin: 20px 0; box-shadow: var(--shadow-card); }
.kondi-head { background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kondi-head-title { font-size: var(--text-card-body-size); font-weight: var(--font-weight-bold); color: #fff; }
.kondi-head-badge { font-size: var(--text-caption-size); font-weight: var(--font-weight-semibold); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); padding: 3px 10px; border-radius: 20px; }
.kondi-table-wrap { overflow-x: auto; }
.kondi-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.kondi-table th { background: var(--gray-100); padding: 11px 14px; text-align: center; font-size: var(--text-caption-size); font-weight: 700; color: var(--gray-700); border-bottom: 1.5px solid var(--gray-200); white-space: nowrap; }
.kondi-table th:first-child { text-align: left; }
.kondi-table th.th-feature { text-align: left; }
.kondi-table td { padding: 10px 14px; font-size: var(--text-caption-size); font-weight: 600; color: var(--gray-800); border-bottom: 1px solid var(--gray-100); text-align: center; vertical-align: middle; }
.kondi-table tbody td:nth-child(2) { color: var(--gray-700); font-weight: 500; }
.kondi-table tbody td:nth-child(3) { font-weight: 700; }
.kondi-table td.td-label { text-align: left; color: var(--gray-700); font-weight: 700; background: var(--gray-50); }
.kondi-table tr:last-child td { border-bottom: none; }
.td-yes { color: #166534; }
.td-no { color: #991B1B; }
.td-neutral { color: #5B5F77; }
.td-badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 999px; line-height: var(--line-height-title); font-weight: var(--font-weight-bold); }
.td-badge.td-yes { background: #DCFCE7; border: 1px solid rgba(15,138,58,0.18); }
.td-badge.td-no { background: #FEE2E2; border: 1px solid rgba(220,38,38,0.16); }
.td-badge.td-neutral { background: #EEF2FF; border: 1px solid #D7DEF6; }
.kondi-table tbody tr:nth-child(even) td:not(.td-label) { background: rgba(244,246,253,0.55); }
.vergleich-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: var(--text-caption-size); }
.vergleich-table th { background: var(--gray-100); padding: 11px 14px; font-weight: 700; color: var(--gray-700); text-align: center; border-bottom: 1.5px solid var(--gray-200); }
.vergleich-table th:first-child { text-align: left; }
.vergleich-table th.th-muted { color: var(--gray-500); }
.vergleich-table th.th-blue { color: var(--accent-color-text); }
.vergleich-table th.th-orange { color: var(--accent-orange-text); }
.historical-note { color: var(--gray-300); font-size: var(--text-badge-size); font-weight: var(--font-weight-semibold); }
.vergleich-table td { padding: 10px 14px; text-align: center; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); line-height: 1.45; }
.vergleich-table td:first-child { text-align: left; font-weight: 600; color: var(--gray-800); }
.vergleich-table tr:last-child td { border-bottom: none; }
.vergleich-table tbody tr:hover { background: var(--gray-50); }
.vergleich-table .cta-row a,
.qonto-plan-table .cta-row a,
.kondi-table .cta-row a { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; padding: 9px 14px; border-radius: var(--radius-lg); background: var(--accent-color-bg); color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 4px 12px rgba(34,68,232,0.16); transition: background .2s, transform .15s; }
.vergleich-table .cta-row a:hover,
.qonto-plan-table .cta-row a:hover,
.kondi-table .cta-row a:hover { background: var(--accent-color-bg-hover); transform: translateY(-1px); }
.vergleich-pill { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; font-size: var(--text-caption-size); font-weight: 700; line-height: 1.2; white-space: normal; text-align: center; max-width: 160px; }
.vergleich-pill.blue { background: #E5EAFB; color: #2244E8; }
.vergleich-pill.green { background: #DCFCE7; color: #065F46; }
.vergleich-pill.gray { background: #EEF2FF; color: #4B5563; }
.vergleich-pill.amber { background: #FFF7ED; color: #C2410C; }
.v-yes { color: var(--green); font-weight: var(--font-weight-bold); }
.v-no { color: var(--red); font-weight: var(--font-weight-bold); }
.v-neutral { color: var(--gray-500); }
.v-winner { background: rgba(15,138,58,0.06) !important; }

/* PROS/CONS */
.pros-cons-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; align-items: stretch; }
.pros-cons-wrap .pros-col,
.pros-cons-wrap .cons-col { border: 1.5px solid var(--gray-200); border-radius: 14px; padding: 20px; }
.pros-cons-wrap .pros-col { border-color: rgba(15,138,58,0.25); background: rgba(220,252,231,0.18); }
.pros-cons-wrap .cons-col { border-color: rgba(220,38,38,0.15); background: rgba(254,226,226,0.12); }
.pros-cons-wrap .pc-title { font-size: var(--text-caption-size); font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--letter-spacing-eyebrow); margin-bottom: 12px; display: flex; align-items: center; gap: 0; }
.pros-cons-wrap .pros-col .pc-title { color: var(--green); }
.pros-cons-wrap .cons-col .pc-title { color: var(--red); }
.pros-cons-wrap .pc-title::before { content: ''; width: 14px; height: 14px; flex: 0 0 auto; display: none; background-repeat: no-repeat; background-position: center; background-size: contain; }
.pros-cons-wrap .pros-col .pc-title::before { background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F8A3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.pros-cons-wrap .cons-col .pc-title::before { background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
.pros-cons-wrap .pc-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; }
.pros-cons-wrap .pc-list li { font-size: var(--text-list-size); color: var(--gray-700); padding-left: 28px; position: relative; line-height: var(--line-height-normal); margin-bottom: 0; }
.pros-cons-wrap .pc-list li strong { color: var(--gray-800); font-weight: 700; }
.pros-cons-wrap .pc-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.pros-cons-wrap .pros-col .pc-list li::before { background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F8A3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.pros-cons-wrap .cons-col .pc-list li::before { background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
@media (max-width: 600px) { .pros-cons-wrap { grid-template-columns: 1fr; } }

/* ALTERNATIVES GRID */
.alt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
@media (max-width: 900px) { .alt-grid { grid-template-columns: 1fr; } }
.alt-card { background: #fff; border: var(--border-neutral-strong); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.alt-card.top-pick { border-color: var(--green); background: linear-gradient(135deg, #F0FDF4 0%, #fff 100%); }
.alt-brand { display: flex; align-items: center; gap: 12px; }
.alt-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alt-logo span { color: #fff; font-weight: var(--font-weight-extrabold); font-size: var(--text-card-body-size); }
.alt-brand-name { font-size: var(--text-ui-size); font-weight: var(--font-weight-bold); color: var(--gray-800); }
.alt-brand-sub { font-size: var(--text-card-body-size); color: #6B7280; }
.alt-desc { margin: 0; font-size: var(--text-card-body-size); color: #374151; line-height: var(--line-height-note); flex: 1; }
.alt-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.alt-tag { font-size: var(--text-caption-size); padding: 3px 8px; border-radius: 20px; font-weight: var(--font-weight-semibold); }
.alt-tag.soft-green { background: #DCFCE7; color: #166534; }
.alt-cta { display: block; text-align: center; color: #fff; font-weight: var(--font-weight-bold); font-size: var(--text-card-body-size); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: opacity .2s; }
.alt-cta:hover { opacity: 0.88; }
.alt-overview-link { margin: 18px 0 0; font-size: var(--text-card-body-size); color: var(--gray-500); text-align: center; }
.alt-overview-link a { color: var(--accent-color-text); font-weight: var(--font-weight-bold); text-decoration: underline; }

/* Archive page variants. */

.cta-box { background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFE 100%); border: 1.5px solid #D7DEF6; border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.cta-box h3 { font-size: var(--text-brand-display-size); font-weight: var(--font-weight-extrabold); color: var(--gray-800); margin-bottom: 10px; letter-spacing: -0.02em; }
.cta-box p { font-size: var(--text-body-size); color: var(--gray-500); line-height: var(--line-height-body); }
.cta-box-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cta-btn-primary, .cta-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: var(--font-weight-bold); font-size: var(--text-card-body-size); transition: background .2s, transform .15s, border-color .2s; }
.cta-btn-primary { background: var(--accent-color-bg); color: #fff; box-shadow: 0 4px 14px rgba(34,68,232,0.18); }
.cta-btn-primary:hover { background: var(--accent-color-bg-hover); transform: translateY(-1px); }
.cta-btn-ghost { background: #fff; color: var(--accent-color-text); border: var(--border-blue-soft-strong); }
.cta-btn-ghost:hover { background: var(--accent-color-soft); border-color: var(--accent-color-border); }

@media (max-width: 640px) {
  .cta-box { padding: 22px 20px; }
}

.ic-logo-text .p { color: #1a1a2e; }

.ic-logo-text .e { color: #F59E0B; }

.section-eyebrow.amber { color: var(--amber); background: transparent; }

/* ── TIMELINE ── */
.timeline { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 20px 0; position: relative; padding-left: 28px; }
.timeline::before { content:''; position:absolute; left:13px; top:14px; bottom:14px; width:2px; background: linear-gradient(to bottom, var(--accent-color-border) 0%, var(--gray-200) 100%); border-radius:2px; }

/* ── QONTO PROFILE CARD ── */
.qonto-card {
  background: #fff; border: var(--border-card); border-radius: var(--radius);
  padding: 28px 30px; margin: 24px 0; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 700px) { .qonto-card { grid-template-columns: 1fr; } }
.qonto-logo-area { display: flex; flex-direction: column; gap: 10px; }
.qonto-wordmark { font-size: var(--text-wordmark-large-size); font-weight: var(--font-weight-black); letter-spacing: var(--letter-spacing-brand-tight); color: #1a1a1a; line-height: var(--line-height-tight); }
.qonto-wordmark .q { color: #FF5722; }
.qonto-tag { display: inline-block; font-size: var(--text-caption-size); font-weight: var(--font-weight-bold); background: #FFF0EC; color: #FF5722; border: 1.5px solid rgba(255,87,34,0.2); border-radius: 20px; padding: 4px 12px; }
.qonto-fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qonto-fact { background: var(--gray-100); border-radius: 10px; padding: 12px 14px; }
.qonto-fact-label { font-size: var(--text-badge-size); font-weight: var(--font-weight-bold); color: var(--gray-300); text-transform: uppercase; letter-spacing: var(--letter-spacing-label); margin-bottom: 3px; }
.qonto-fact-val { font-size: var(--text-card-body-size); font-weight: var(--font-weight-bold); color: var(--gray-800); }

/* ── QONTO TARIFVERGLEICH ── */
.qonto-plan-table-wrap { overflow-x: auto; border-radius: 14px; border: 1.5px solid var(--gray-200); margin: 24px 0; }
.qonto-plan-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: var(--text-caption-size); }
.qonto-plan-table th { background: var(--gray-800); color: #fff; font-weight: 700; padding: 12px 14px; text-align: left; white-space: nowrap; }
.qonto-plan-table th:first-child { background: var(--gray-700); width: 240px; }
.qonto-plan-table th.highlight-col { background: var(--accent-color-bg); }
.qonto-plan-table td { padding: 11px 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); font-weight: 500; vertical-align: middle; }
.qonto-plan-table td:first-child { font-weight: 700; color: var(--gray-800); background: var(--gray-50); white-space: nowrap; }
.qonto-plan-table td.highlight-col { background: var(--accent-color-soft); }
.qonto-plan-table tr:last-child td { border-bottom: none; }
.qonto-plan-table .price { font-size: var(--text-ui-size); font-weight: 700; color: var(--gray-800); }
.qonto-plan-table .muted { color: var(--gray-500); font-weight: 500; }
.qonto-plan-table .good { color: var(--green); font-weight: 700; }
.qonto-plan-table .accent { color: var(--accent-color-text); font-weight: 700; }
@media (max-width: 760px) {
  .qonto-plan-table { font-size: var(--text-caption-size); }
  .qonto-plan-table th, .qonto-plan-table td { padding: 10px 12px; }
}

/* Penta comparison table variants. */
.kondi-table-wide { min-width: 860px; }
.kondi-table td:first-child { text-align: left; font-weight: 600; color: var(--gray-800); }
.kondi-table tbody tr:hover { background: var(--gray-50); }
.kondi-table .chk { color: var(--green); font-weight: 700; }
.kondi-table .cross { color: var(--red); font-weight: 700; }
.kondi-table .winner-col { background: transparent !important; }
.kondi-pill { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; font-size: var(--text-caption-size); font-weight: var(--font-weight-bold); line-height: var(--line-height-heading); white-space: normal; text-align: center; max-width: 160px; }
.kondi-pill.blue { background: #E5EAFB; color: #2244E8; }
.kondi-pill.green { background: #DCFCE7; color: #065F46; }
.kondi-pill.amber { background: #FFF7ED; color: #C2410C; }
.kondi-pill.gray { background: #EEF2FF; color: #4B5563; }
