/* Börsenoase Brief – Design (keine externen Schriften, DSGVO-freundlich) */
:root {
	--bo-green: #0f3d36;
	--bo-green-2: #165247;
	--bo-sand: #c9a24b;
	--bo-paper: #f7f5ef;
	--bo-ink: #1d2625;
	--bo-muted: #66716f;
	--bo-line: #e2dfd4;
	--bo-pos: #2e8b57;
	--bo-neu: #d9a21b;
	--bo-neg: #c0392b;
	--bo-serif: Georgia, "Times New Roman", serif;
	--bo-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bo-login, .bo-dash, .bo-archive, .bo-process, .bo-checks, .bo-legal {
	font-family: var(--bo-sans);
	color: var(--bo-ink);
	line-height: 1.55;
	max-width: 1080px;
	margin: 0 auto;
}
.bo-login h2, .bo-login h3, .bo-dash h2, .bo-dash h3, .bo-card h3, .bo-post h3, .bo-legal h3, .bo-ampel h3 {
	font-family: var(--bo-serif);
	font-weight: 700;
	letter-spacing: -0.01em;
}
.bo-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--bo-sand); margin: 0 0 .5rem; }
.bo-muted { color: var(--bo-muted); font-size: .9rem; }
.bo-link { color: var(--bo-green-2); text-decoration: underline; text-underline-offset: 3px; }
.bo-link:hover { color: var(--bo-green); }

/* Buttons */
.bo-btn {
	display: inline-block; background: var(--bo-green); color: #fff !important; border: 0; border-radius: 6px;
	padding: .75rem 1.4rem; font: 600 1rem var(--bo-sans); text-decoration: none !important; cursor: pointer; transition: background .15s;
}
.bo-btn:hover, .bo-btn:focus-visible { background: var(--bo-green-2); }
.bo-btn:focus-visible { outline: 3px solid var(--bo-sand); outline-offset: 2px; }
.bo-btn-small { padding: .5rem 1rem; font-size: .9rem; }
.bo-btn-block { width: 100%; text-align: center; }

/* Login */
.bo-login { display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(15, 61, 54, .15); background: #fff; }
.bo-login-brand { background: linear-gradient(160deg, var(--bo-green), #0a2a25); color: #f1efe6; padding: 3rem 2.5rem; }
.bo-login-brand h2 { color: #fff; font-size: 1.9rem; line-height: 1.2; margin: 0 0 1.5rem; }
.bo-points { list-style: none; margin: 0; padding: 0; }
.bo-points li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.bo-points li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; background: var(--bo-sand); border-radius: 50%; }
.bo-login-form { padding: 3rem 2.5rem; background: #fff; }
.bo-login-form h3 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.bo-login-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.bo-login-form input[type="text"], .bo-login-form input[type="password"] {
	width: 100%; box-sizing: border-box; padding: .7rem .85rem; border: 1px solid #c9ceca; border-radius: 6px; font: 1rem var(--bo-sans); background: #fcfcfa;
}
.bo-login-form input:focus { outline: 3px solid rgba(201,162,75,.5); border-color: var(--bo-sand); }
.bo-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
.bo-check { display: inline-flex !important; align-items: center; gap: .4rem; font-weight: 400 !important; margin: 0 !important; }
.bo-hint { margin-top: 1.5rem; font-size: .9rem; color: var(--bo-muted); }
.bo-notice { padding: .75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: .92rem; }
.bo-notice-err { background: #fbeceb; color: #8a2a20; border: 1px solid #efc3be; }
.bo-notice-ok { background: #e8f3ec; color: #1f5a38; border: 1px solid #bcdcc8; }

/* Dashboard */
.bo-dash-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.bo-dash-head h2 { margin: 0; font-size: 2rem; }
.bo-cards, .bo-process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 1.25rem 0; }
.bo-card { background: #fff; border: 1px solid var(--bo-line); border-top: 3px solid var(--bo-sand); border-radius: 8px; padding: 1.4rem 1.5rem; }
.bo-card h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.bo-card-wide { grid-column: 1 / -1; margin-top: 1.25rem; }
.bo-list { list-style: none; margin: 1rem 0; padding: 0; }
.bo-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--bo-line); }
.bo-list a { color: var(--bo-ink); text-decoration: none; font-weight: 600; }
.bo-list a:hover { color: var(--bo-green-2); text-decoration: underline; }
.bo-li-meta { color: var(--bo-muted); font-size: .85rem; white-space: nowrap; }

/* Marktampel */
.bo-ampel { background: var(--bo-green); color: #f1efe6; border-radius: 10px; padding: 1.4rem 1.6rem; }
.bo-ampel-head { display: flex; justify-content: space-between; align-items: baseline; }
.bo-ampel h3 { color: #fff; margin: 0 0 1rem; font-size: 1.25rem; }
.bo-ampel .bo-muted { color: #b9c9c4; }
.bo-ampel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bo-ampel-item { background: rgba(255,255,255,.07); border-radius: 8px; padding: .9rem 1rem; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.bo-dot { grid-row: span 2; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--bo-neu); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.bo-ampel-positiv .bo-dot { background: #3fbf7f; }
.bo-ampel-moderat_positiv .bo-dot { background: #a8d672; }
.bo-ampel-neutral .bo-dot { background: var(--bo-neu); }
.bo-ampel-moderat_negativ .bo-dot { background: #ef9a45; }
.bo-ampel-negativ .bo-dot { background: #e5584a; }
.bo-ampel-label { font-size: .8rem; color: #b9c9c4; text-transform: uppercase; letter-spacing: .08em; }
.bo-ampel-note { margin: 1rem 0 0; font-size: .95rem; color: #e6e9e4; }

/* Archiv */
.bo-posts { list-style: none; margin: 0; padding: 0; }
.bo-post { padding: 1.4rem 0; border-bottom: 1px solid var(--bo-line); }
.bo-post h3 { margin: .15rem 0 .4rem; font-size: 1.35rem; }
.bo-post h3 a { color: var(--bo-ink); text-decoration: none; }
.bo-post h3 a:hover { color: var(--bo-green-2); }
.bo-post-date { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bo-sand); font-weight: 700; }
.bo-pagination { margin-top: 1.5rem; }
.bo-pagination .page-numbers { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--bo-line); border-radius: 5px; margin-right: .3rem; text-decoration: none; color: var(--bo-ink); }
.bo-pagination .current { background: var(--bo-green); color: #fff; border-color: var(--bo-green); }

/* Checks */
.bo-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.bo-filter a { padding: .4rem .9rem; border: 1px solid var(--bo-line); border-radius: 999px; text-decoration: none; color: var(--bo-ink); font-size: .9rem; }
.bo-filter a.is-active { background: var(--bo-green); color: #fff; border-color: var(--bo-green); }
.bo-table-wrap { overflow-x: auto; }
.bo-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bo-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bo-muted); padding: .6rem .5rem; border-bottom: 2px solid var(--bo-line); }
.bo-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--bo-line); vertical-align: top; }
.bo-table a { color: var(--bo-ink); font-weight: 600; text-decoration: none; }
.bo-chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eceee9; color: #3b4543; }
.bo-chip-kaufsignal { background: #e1f1e8; color: #1b5e3b; }
.bo-chip-gekauft { background: var(--bo-green); color: #fff; }
.bo-chip-abgelehnt, .bo-chip-verkauft { background: #f3e5e2; color: #8a2a20; }
.bo-chip-beobachtung { background: #fbf1d9; color: #7a5a0a; }
.bo-checkbox { background: var(--bo-paper); border: 1px solid var(--bo-line); border-left: 4px solid var(--bo-sand); border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.bo-checkbox dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem 1.25rem; margin: 0; }
.bo-checkbox dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bo-muted); }
.bo-checkbox dd { margin: 0; font-weight: 700; }

/* Hinweise */
.bo-locked { background: var(--bo-paper); border: 1px dashed #b9b29b; padding: 1rem 1.25rem; border-radius: 6px; }
.bo-disclaimer { margin-top: 2.5rem; padding: 1rem 1.25rem; background: var(--bo-paper); border-top: 3px solid var(--bo-sand); font-size: .85rem; color: #4a5452; }
.bo-disclaimer p { margin: .5rem 0; }
.bo-legal h3 { margin: 1.6rem 0 .4rem; }

/* Responsiv */
@media (max-width: 760px) {
	.bo-login, .bo-cards, .bo-process, .bo-ampel-grid { grid-template-columns: 1fr; }
	.bo-login-brand, .bo-login-form { padding: 2rem 1.5rem; }
	.bo-dash-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* Standard-Loginseiten (Passwort vergessen / zurücksetzen) */
body.login { background: var(--bo-paper); font-family: var(--bo-sans); }
body.login #login h1 a { background-image: none; width: auto; height: auto; text-indent: 0; font: 700 1.8rem var(--bo-serif); color: var(--bo-green); text-decoration: none; }
body.login #login h1 a::before { content: "Börsenoase"; }
body.login form { border: 1px solid var(--bo-line); border-top: 3px solid var(--bo-sand); border-radius: 8px; box-shadow: 0 6px 24px rgba(15,61,54,.1); }
body.login .button-primary { background: var(--bo-green); border-color: var(--bo-green); }
body.login .button-primary:hover { background: var(--bo-green-2); border-color: var(--bo-green-2); }
body.login #nav a, body.login #backtoblog a { color: var(--bo-green-2); }

/* Feed-Anzeigen (Marktampel-Detail, Stage-2-Top-50) */
.bo-filterbox { padding: .9rem 1.2rem; border-radius: 6px; margin: 0 0 1.25rem; border-left: 5px solid var(--bo-neu); background: #fbf4e0; }
.bo-filterbox-negativ { border-left-color: var(--bo-neg); background: #fbeceb; }
.bo-filterbox-neutral { border-left-color: var(--bo-neu); }
.bo-filterbox-positiv { border-left-color: var(--bo-pos); background: #e8f3ec; }
.bo-feed-meta { margin: .5rem 0 1rem; }
.bo-s2 .bo-table td, .bo-s2 .bo-table th { white-space: nowrap; }
.bo-s2 .bo-table td:nth-child(2) { white-space: normal; min-width: 14rem; }
.bo-dash details { margin-top: .5rem; }
.bo-dash summary { cursor: pointer; font-weight: 600; color: var(--bo-green-2); }
.bo-dash section.bo-card { margin-bottom: 1.25rem; }

/* Startseite */
.bo-home { font-family: var(--bo-sans); color: var(--bo-ink); max-width: 1080px; margin: 0 auto; line-height: 1.6; }
.bo-hero { background: linear-gradient(160deg, var(--bo-green), #0a2a25); color: #f1efe6; border-radius: 12px; padding: 4rem 2.5rem; margin-bottom: 2rem; }
.bo-hero h1 { font-family: var(--bo-serif); color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; letter-spacing: -0.02em; }
.bo-lead { font-size: 1.15rem; max-width: 40rem; color: #dfe6e1; }
.bo-cta { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.bo-btn-ghost { background: transparent !important; border: 2px solid var(--bo-sand) !important; color: #f1efe6 !important; }
.bo-btn-ghost:hover { background: rgba(201,162,75,.18) !important; }
.bo-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2rem 0; }
.bo-steps h2, .bo-about h2 { font-family: var(--bo-serif); font-size: 1.6rem; }
.bo-steps ol { list-style: none; counter-reset: s; margin: 1rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bo-steps li { counter-increment: s; background: #fff; border: 1px solid var(--bo-line); border-radius: 8px; padding: 1.2rem; }
.bo-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bo-sand); color: var(--bo-green); font-weight: 700; margin-bottom: .6rem; }
.bo-steps li strong { display: block; font-family: var(--bo-serif); font-size: 1.15rem; }
.bo-steps li span { font-size: .92rem; color: var(--bo-muted); }
.bo-about { background: var(--bo-paper); border-left: 4px solid var(--bo-sand); padding: 1.5rem 1.75rem; border-radius: 6px; margin-bottom: 2rem; }
.bo-foot { border-top: 1px solid var(--bo-line); padding-top: 1.25rem; font-size: .9rem; }
.bo-foot a { color: var(--bo-green-2); }
@media (max-width: 860px) { .bo-grid3, .bo-steps ol { grid-template-columns: 1fr; } .bo-hero { padding: 2.5rem 1.5rem; } }
