/* WPressSites Portal: Anmeldung, Registrierung, Bereiche. Farben entsprechen den Elementor-Variablen der Seite. */
.wpsp {
	--wpsp-navy: #10243A;
	--wpsp-ink: #0B1C2E;
	--wpsp-green: #62A93C;
	--wpsp-green-hover: #6FB648;
	--wpsp-green-dark: #3F7A22;
	--wpsp-green-tint: #E6F2DF;
	--wpsp-green-soft: #F1F8EC;
	--wpsp-body: #4A5D71;
	--wpsp-muted: #5A6B7D;
	--wpsp-border: #E3E8EE;
	--wpsp-border-input: #DCE3EA;
	--wpsp-surface: #F5F7F9;
	--wpsp-amber-bg: #FFF3DC;
	--wpsp-amber-text: #7A4B00;
	font-family: Manrope, system-ui, sans-serif;
	color: var(--wpsp-body);
	font-size: 15px;
	line-height: 1.5;
}
.wpsp *, .wpsp *::before, .wpsp *::after { box-sizing: border-box; }

/* Seite und Container */
.wpsp-page { background: var(--wpsp-surface); padding: 56px 24px 88px; min-height: 60vh; }
.wpsp-container { max-width: 1400px; margin: 0 auto; }
.wpsp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.wpsp-h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: var(--wpsp-navy); margin: 10px 0 0; }
.wpsp-h2 { font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--wpsp-navy); margin: 0 0 8px; }
.wpsp-text { margin: 0 0 16px; max-width: 60ch; }
.wpsp-meta { font-size: 13.5px; color: var(--wpsp-muted); margin: 14px 0 0; }
.wpsp-chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--wpsp-green-tint); color: var(--wpsp-green-dark); font-size: 12.5px; font-weight: 700; }
.wpsp-link { color: var(--wpsp-green-dark); font-weight: 700; text-decoration: none; }
.wpsp-link:hover { text-decoration: underline; }

/* Unternavigation im Bereich */
.wpsp-subnav { display: flex; gap: 6px; border-bottom: 1px solid var(--wpsp-border); margin-bottom: 24px; }
.wpsp-subnav__link { padding: 10px 14px; font-weight: 700; font-size: 14.5px; color: var(--wpsp-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.wpsp-subnav__link:hover { color: var(--wpsp-navy); }
.wpsp-subnav__link.is-active { color: var(--wpsp-navy); border-bottom-color: var(--wpsp-green); }

/* Karten */
.wpsp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wpsp-card { background: #fff; border: 1px solid var(--wpsp-border); border-radius: 20px; padding: 28px; }
.wpsp-card--form { max-width: 760px; }

/* Formulare */
.wpsp-form { display: flex; flex-direction: column; gap: 6px; }
.wpsp-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--wpsp-navy); margin: 10px 0 6px; padding: 0; }
.wpsp-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--wpsp-border-input); border-radius: 12px; background: #fff; color: var(--wpsp-ink); font: inherit; font-size: 15px; }
.wpsp-input:focus { border-color: var(--wpsp-green); outline: 2px solid var(--wpsp-green-tint); outline-offset: 0; }
.wpsp-textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.wpsp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wpsp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 4px; font-size: 13.5px; }
.wpsp-check { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--wpsp-body); cursor: pointer; }
.wpsp-check input { width: 18px; height: 18px; min-width: 18px; margin: 1px 0 0; accent-color: var(--wpsp-green); }
.wpsp-check--block { margin: 12px 0 2px; }
.wpsp-checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.wpsp-checks legend { grid-column: 1 / -1; }
.wpsp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rollenwahl */
.wpsp-choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wpsp-choice legend { grid-column: 1 / -1; }
.wpsp-choice__item { position: relative; display: block; cursor: pointer; }
.wpsp-choice__item input { position: absolute; opacity: 0; }
.wpsp-choice__item span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--wpsp-border-input); border-radius: 12px; font-size: 12.5px; color: var(--wpsp-muted); background: #fff; }
.wpsp-choice__item strong { display: block; font-size: 14.5px; color: var(--wpsp-navy); font-weight: 800; }
.wpsp-choice__item input:checked + span { border-color: var(--wpsp-green); background: var(--wpsp-green-soft); }
.wpsp-choice__item input:focus-visible + span { outline: 2px solid var(--wpsp-green); outline-offset: 2px; }

/* Schaltflächen */
.wpsp-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--wpsp-green); color: var(--wpsp-ink); font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.wpsp-btn:hover { background: var(--wpsp-green-hover); color: var(--wpsp-ink); }
.wpsp-btn--ghost { background: #fff; border: 1px solid var(--wpsp-border-input); color: var(--wpsp-navy); }
.wpsp-btn--ghost:hover { background: var(--wpsp-surface); color: var(--wpsp-navy); }
.wpsp-form > .wpsp-btn { width: 100%; }
.wpsp-card--form .wpsp-form > .wpsp-btn { width: auto; align-self: flex-start; }

/* Meldungen */
.wpsp-notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.wpsp-notice--error { background: var(--wpsp-amber-bg); color: var(--wpsp-amber-text); }
.wpsp-notice--success { background: var(--wpsp-green-soft); color: #2F5F18; }

/* Anmelden / Registrieren in der Karte */
.wpsp-auth { width: 100%; }
.wpsp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--wpsp-surface); border-radius: 14px; margin-bottom: 18px; }
.wpsp-tab { text-align: center; padding: 10px 12px; border-radius: 10px; font-weight: 800; font-size: 14.5px; color: var(--wpsp-muted); text-decoration: none; }
.wpsp-tab.is-active { background: #fff; color: var(--wpsp-navy); box-shadow: 0 1px 3px rgba(16, 36, 58, 0.12); }

/* Projekte: Kopf, Filter, Karten */
.wpsp-container--narrow { max-width: 860px; }
.wpsp-lead { font-size: 17px; margin: 12px 0 0; max-width: 62ch; }
.wpsp-btn--block { display: flex; width: 100%; }
.wpsp-btn--wide { width: 100%; min-height: 54px; font-size: 16px; }
.wpsp-strong { font-weight: 800; color: var(--wpsp-navy); margin: 0 0 4px; }
.wpsp-count { font-size: 13.5px; font-weight: 700; color: var(--wpsp-muted); margin: 0 0 14px; }
.wpsp-filter { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--wpsp-border); border-radius: 20px; padding: 18px 20px 20px; margin-bottom: 22px; }
.wpsp-filter .wpsp-label { margin-top: 0; }
.wpsp-filter__actions { display: flex; align-items: center; gap: 14px; }
.wpsp-filter__actions .wpsp-btn { margin-top: 0; }
select.wpsp-input { appearance: auto; }

.wpsp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.wpsp-chiplink { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--wpsp-border); background: #fff; color: var(--wpsp-navy); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.wpsp-chiplink:hover { border-color: var(--wpsp-green); color: var(--wpsp-green-dark); }
.wpsp-chiplink.is-active { background: var(--wpsp-navy); border-color: var(--wpsp-navy); color: #fff; }
.wpsp-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wpsp-project { display: flex; flex-direction: column; gap: 12px; }
.wpsp-project__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.wpsp-project__title { font-size: 19px; line-height: 1.3; font-weight: 800; margin: 0; }
.wpsp-project__title a { color: var(--wpsp-navy); text-decoration: none; }
.wpsp-project__title a:hover { color: var(--wpsp-green-dark); }
.wpsp-project__desc { margin: 0; flex: 1; }
.wpsp-project__client { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--wpsp-muted); }
.wpsp-project > .wpsp-btn { margin-top: 4px; }
.wpsp-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #F0F3F6; color: #3A4E63; font-size: 12px; font-weight: 700; }
.wpsp-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #F0F3F6; color: #3A4E63; }
.wpsp-pill--offen, .wpsp-pill--ausgewaehlt { background: var(--wpsp-green-tint); color: #2F5F18; }
.wpsp-pill--auswahl, .wpsp-pill--neu { background: var(--wpsp-amber-bg); color: var(--wpsp-amber-text); }
.wpsp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--wpsp-border); }
.wpsp-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.wpsp-facts dt { font-size: 12px; color: var(--wpsp-muted); font-weight: 600; }
.wpsp-facts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 800; color: var(--wpsp-navy); }
.wpsp-empty { text-align: left; }
.wpsp-pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.wpsp-pager__link { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--wpsp-border); background: #fff; color: var(--wpsp-navy); font-weight: 800; text-decoration: none; }
.wpsp-pager__link.is-active { background: var(--wpsp-navy); border-color: var(--wpsp-navy); color: #fff; }

/* Projektdetails */
.wpsp-crumbs { font-size: 13.5px; color: var(--wpsp-muted); margin-bottom: 18px; }
.wpsp-crumbs a { color: var(--wpsp-muted); text-decoration: none; }
.wpsp-crumbs a:hover { color: var(--wpsp-navy); }
.wpsp-crumbs span { color: var(--wpsp-navy); font-weight: 700; }
.wpsp-detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.wpsp-detail__main, .wpsp-detail__side { display: flex; flex-direction: column; gap: 20px; }
.wpsp-h1--detail { font-size: 34px; margin-top: 14px; }
.wpsp-h2--spaced { margin-top: 24px; }
.wpsp-prose p { margin: 0 0 12px; }
.wpsp-prose p:last-child { margin-bottom: 0; }
.wpsp-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wpsp-list li { position: relative; padding-left: 26px; }
.wpsp-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--wpsp-green-tint); box-shadow: inset 0 0 0 5px var(--wpsp-green-tint), inset 0 0 0 8px var(--wpsp-green-dark); }

/* Projekt einstellen */
.wpsp-steps { gap: 18px; }
.wpsp-step .wpsp-h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.wpsp-step__no { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wpsp-green-tint); color: var(--wpsp-green-dark); font-size: 14px; font-weight: 800; }

/* Listen im Bereich */
.wpsp-listhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 16px; }
.wpsp-listhead .wpsp-h2 { margin: 0 0 6px; }
.wpsp-listhead .wpsp-btn { margin-top: 0; }
.wpsp-rows { display: grid; gap: 14px; }
.wpsp-rowcard, .wpsp-hint { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.wpsp-rowcard .wpsp-btn, .wpsp-hint .wpsp-btn { margin-top: 0; }
.wpsp-hint { margin-bottom: 18px; background: var(--wpsp-green-soft); border-color: var(--wpsp-green-tint); }
.wpsp-hint .wpsp-text { margin: 0; }
.wpsp-offer { display: flex; flex-direction: column; gap: 14px; }
.wpsp-offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wpsp-offer__price { text-align: right; }
.wpsp-offer__price strong { display: block; font-size: 22px; font-weight: 800; color: var(--wpsp-navy); }
.wpsp-offer__price span { font-size: 13.5px; color: var(--wpsp-muted); }
.wpsp-offer__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--wpsp-border); }
.wpsp-offer__actions .wpsp-btn { margin-top: 0; min-height: 42px; }
.wpsp-offer__actions .wpsp-pill { margin-right: auto; }
.wpsp-details summary { cursor: pointer; font-weight: 700; color: var(--wpsp-green-dark); font-size: 14px; }
.wpsp-details .wpsp-prose { margin-top: 8px; }

/* Freischaltung und Guthaben */
.wpsp-rowcard > div:first-child { flex: 1; min-width: 260px; }
.wpsp-unlock { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--wpsp-border); }
.wpsp-unlock__actions, .wpsp-topups { display: flex; gap: 10px; flex-wrap: wrap; }
.wpsp-unlock__actions .wpsp-btn, .wpsp-topups .wpsp-btn { margin-top: 8px; }
.wpsp-topups .wpsp-btn { min-width: 96px; }
.wpsp-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--wpsp-green-soft); }
.wpsp-contact dt { font-size: 12px; color: var(--wpsp-muted); font-weight: 600; }
.wpsp-contact dd { margin: 2px 0 0; font-weight: 800; color: var(--wpsp-navy); overflow-wrap: anywhere; }
.wpsp-balance { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: var(--wpsp-navy); margin: 4px 0 12px; }
.wpsp-ledger { margin-top: 20px; }
.wpsp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wpsp-table th { text-align: left; font-size: 12px; color: var(--wpsp-muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--wpsp-border); }
.wpsp-table td { padding: 10px; border-bottom: 1px solid var(--wpsp-border); }
.wpsp-table th:last-child, .wpsp-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.wpsp-table .is-plus { color: #2F5F18; }
.wpsp-table .is-minus { color: var(--wpsp-navy); }

@media (max-width: 1100px) {
	.wpsp-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpsp-filter { grid-template-columns: 1fr 1fr; }
	.wpsp-filter__field--wide { grid-column: 1 / -1; }
	.wpsp-detail { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.wpsp-page { padding: 32px 16px 56px; }
	.wpsp-h1 { font-size: 30px; }
	.wpsp-h1--detail { font-size: 26px; }
	.wpsp-cards, .wpsp-grid2, .wpsp-checks, .wpsp-projects, .wpsp-filter { grid-template-columns: 1fr; }
	.wpsp-facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpsp-card { padding: 22px; }
	.wpsp-offer__price { text-align: left; }
}
