/*
Theme Name: brainstrand
Theme URI: https://brainstrand.de
Author: brainstrand
Description: Wissensplattform über Gehirn, Gesellschaft, Politik und Medien – mit eingebautem Credit-System und Stripe-Bezahlung. Keine Plugins nötig.
Version: 5.3.3
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: brainstrand
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #1b3a6b;
	--navy-deep: #10264a;
	--ink: #1d2433;
	--muted: #5d6677;
	--line: #e3e1da;
	--paper: #fafaf7;
	--card: #ffffff;
	--orange: #ef8a1d;
	--green: #5bb547;
	--blue: #2c9fdc;
	--purple: #8a3fb8;
	--magenta: #d42a7c;
	--strand: linear-gradient(90deg, var(--orange), var(--green) 28%, var(--blue) 55%, var(--purple) 80%, var(--magenta));
	--serif: "Brainstrand Titel", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--sans: "Brainstrand Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--note: "Brainstrand Notiz", "Brainstrand Text", system-ui, sans-serif;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(16, 38, 74, .06), 0 8px 24px rgba(16, 38, 74, .06);
	--wrap: 1180px;
	--measure: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-deep); line-height: 1.15; font-weight: 700; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: .6em 1em; border-radius: 8px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; display: block; }
.strand-rule { height: 3px; border: 0; background: var(--strand); border-radius: 3px; margin: 0; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, input[type=submit], button.btn {
	display: inline-flex; align-items: center; gap: .5em;
	font: 600 1rem/1 var(--sans);
	padding: .9em 1.4em; border-radius: 999px; border: 2px solid var(--navy);
	background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover, input[type=submit]:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); }
.btn--small { padding: .6em 1em; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header::after { content: ""; display: block; height: 3px; background: var(--strand); opacity: 0; transition: opacity .25s ease; }
.site-header.is-scrolled, .site-header.menu-open { background: #fff; border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(16, 38, 74, .25); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 80px; transition: min-height .25s ease; }
.site-header.is-scrolled .wrap { min-height: 66px; }
:root { --header-h: 80px; }
main { padding-top: var(--header-h); }
.home main, .page-template-front-page main { padding-top: 0; }
.home .hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img, .brand .brand__logo { width: 56px !important; height: 56px !important; object-fit: contain; transition: width .25s ease, height .25s ease; }
.site-header.is-scrolled .brand img, .site-header.is-scrolled .brand .brand__logo { width: 46px !important; height: 46px !important; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-cat > a { border-color: var(--purple); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.credit-pill { display: inline-flex; align-items: center; gap: .45em; padding: .5em .95em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--navy-deep); }
.credit-pill .dot, .cost-badge .dot { width: .7em; height: .7em; border-radius: 50%; background: conic-gradient(var(--orange), var(--green), var(--blue), var(--purple), var(--magenta), var(--orange)); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--navy); }

@media (max-width: 1100px) {
	.nav-toggle { display: block; margin-left: auto; }
	.main-nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.25rem; }
	.main-nav li a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); }
	.header-actions .btn--ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__strands { position: absolute; inset: 0; z-index: 0; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: italic; background: var(--strand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__logo { justify-self: center; width: min(100%, 360px) !important; height: auto !important; aspect-ratio: 1; display: block; filter: drop-shadow(0 18px 30px rgba(27,58,107,.16)); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero__logo { display: none; } }

/* ---------- Topic pillars ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tint { background: #f2f1ec; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { --c: var(--navy); position: relative; display: block; padding: 1.6rem 1.4rem 1.4rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pillar__num { font: 700 .8rem/1 var(--sans); color: var(--c); letter-spacing: .1em; }
.pillar h3 { margin: .7rem 0 .5rem; }
.pillar p { color: var(--muted); font-size: .97rem; margin: 0 0 1rem; }
.pillar__more { font-weight: 600; font-size: .9rem; color: var(--c); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { --c: var(--navy); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #fff), #fff); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; font-size: .82rem; }
.cat-tag { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: var(--c); text-decoration: none; }
.card h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.card h3 a { color: var(--navy-deep); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--muted); font-size: .96rem; margin: 0 0 1rem; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.cost-badge { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em; border-radius: 999px; background: #f2f1ec; font-weight: 700; font-size: .8rem; color: var(--navy-deep); white-space: nowrap; }
.cost-badge--free { background: color-mix(in srgb, var(--green) 16%, #fff); color: #2f6d22; }
.cost-badge--owned { background: color-mix(in srgb, var(--blue) 14%, #fff); color: #155f87; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--serif); margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

.cta-band { background: var(--navy-deep); color: #dfe6f3; border-radius: calc(var(--radius) * 1.4); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--strand); }
.cta-band h2 { color: #fff; }
.cta-band .btn { background: #fff; color: var(--navy-deep); border-color: #fff; }

/* ---------- Article ---------- */
.article-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.article-head .wrap, .article-body, .narrow { max-width: calc(var(--measure) + 2.5rem); }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.article-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: var(--muted); font-size: .92rem; }
.article-head .lead { font-size: 1.2rem; color: var(--muted); }
.article-hero-img { width: min(100% - 2.5rem, 980px); margin: 0 auto 2.5rem; border-radius: var(--radius); overflow: hidden; }
.article-body { font-size: 1.12rem; line-height: 1.75; padding-bottom: 3rem; }
.article-body h2 { margin-top: 2em; font-size: 1.75rem; }
.article-body h3 { margin-top: 1.6em; }
.article-body blockquote { margin: 2em 0; padding: .3em 0 .3em 1.4em; border-left: 4px solid; border-image: var(--strand) 1; font-family: var(--serif); font-size: 1.3rem; color: var(--navy-deep); }
.article-body img { border-radius: 10px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-body .wp-block-image figcaption { font-size: .88rem; color: var(--muted); text-align: center; }

.teaser { position: relative; }
.teaser::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; background: linear-gradient(transparent, var(--paper)); }

.paywall { margin: 1rem 0 3rem; padding: clamp(1.6rem, 4vw, 2.4rem); background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.paywall::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--strand); }
.paywall h2 { font-size: 1.6rem; margin-top: .4rem; }
.paywall__cost { font: 700 2.6rem/1 var(--serif); color: var(--navy-deep); margin: .6rem 0 .2rem; }
.paywall__cost small { font: 500 1rem var(--sans); color: var(--muted); }
.paywall__balance { color: var(--muted); font-size: .95rem; margin-bottom: 1.3rem; }
.paywall form { margin: 0; }
.paywall__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

.notice { padding: .9rem 1.1rem; border-radius: 10px; margin: 0 0 1.5rem; font-size: .97rem; border: 1px solid; }
.notice--ok { background: #eef8ea; border-color: #bfe2b2; color: #275d1c; }
.notice--warn { background: #fff5e8; border-color: #f4cf9c; color: #7a4708; }
.notice--err { background: #fdecef; border-color: #f2b8c6; color: #8a1638; }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); font-size: .95rem; }

/* ---------- Archive ---------- */
.archive-head { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.archive-head p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }
.archive-head .strand-rule { width: 80px; margin-bottom: 1.2rem; }
.pagination { margin: 3rem 0 0; display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .55em .95em; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Credits page ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
.package { position: relative; display: block; cursor: pointer; }
.package input { position: absolute; opacity: 0; }
.package__box { display: block; padding: 1.6rem 1.3rem; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.package:hover .package__box { transform: translateY(-2px); }
.package input:checked + .package__box { border-color: var(--purple); box-shadow: 0 0 0 4px color-mix(in srgb, var(--purple) 15%, transparent); }
.package input:focus-visible + .package__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.package__credits { font: 700 2.4rem/1 var(--serif); color: var(--navy-deep); }
.package__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .3rem 0 1rem; }
.package__price { font-weight: 700; font-size: 1.2rem; }
.package__per { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.package__badge { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--strand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .3em .8em; border-radius: 999px; white-space: nowrap; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 1rem; border-radius: 10px; margin-bottom: 1.2rem; }
.consent input { margin-top: .3em; flex: none; width: 1.1em; height: 1.1em; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.3rem; }
.balance { font: 700 3.2rem/1 var(--serif); color: var(--navy-deep); }
.balance small { font: 500 1rem var(--sans); color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: .7rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.amount-pos { color: #2f6d22; font-weight: 700; }
.amount-neg { color: #8a1638; font-weight: 700; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: .6rem 0; border-bottom: 1px solid var(--line); }

/* login form */
.login-box { max-width: 440px; }
.login-box label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.login-box input[type=text], .login-box input[type=password], .login-box input[type=email] { width: 100%; padding: .8em .9em; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.login-box p { margin-bottom: 1rem; }

/* ---------- Generic page ---------- */
.page-body { padding-bottom: 4rem; }
.entry-content > * + * { margin-top: 0; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form input[type=search] { flex: 1; padding: .8em 1em; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c4d8; margin-top: 4rem; font-size: .95rem; }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--strand); }
.site-footer .wrap { padding: 3.5rem 0 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; font-family: var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand { font: 700 1.6rem/1 var(--serif); color: #fff; margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom .wrap { padding: 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* WordPress core alignment helpers */
.alignwide { width: min(100vw - 2.5rem, 980px); margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .88rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Leere Absätze (z. B. aus nicht ausgefüllten Rechtstext-Angaben) ausblenden */
.entry-content p:empty { display: none; }

/* ---------- Artikel: Titelbild-Banner ---------- */
.has-dark-hero main { padding-top: 0; }
.article-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(440px, 72vh, 720px); padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); color: #fff; background: var(--navy-deep); overflow: hidden; }
.article-hero__bg { position: absolute; inset: 0; z-index: -2; }
.article-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.article-hero__bg svg { width: 100%; height: 100%; opacity: .9; }
.article-hero:not(.has-image) .article-hero__bg { background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--c) 55%, var(--navy-deep)), var(--navy-deep) 70%); }
/* Lesbarkeit: dunkler Verlauf von unten + leichte Abdunklung oben für den Header */
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(180deg, rgba(10, 22, 44, .55) 0%, rgba(10, 22, 44, .15) 28%, rgba(10, 22, 44, .35) 52%, rgba(10, 22, 44, .9) 100%),
	linear-gradient(90deg, rgba(10, 22, 44, .55) 0%, rgba(10, 22, 44, 0) 70%); }
.article-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--strand); }
.article-hero__inner { max-width: 900px; margin-left: max(1.25rem, calc((100vw - var(--wrap)) / 2)); margin-right: auto; width: min(100% - 2.5rem, 900px); }
.article-hero__cat { display: inline-block; padding: .4em .85em; border-radius: 999px; background: var(--c); color: #fff; font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.article-hero__cat:hover { color: #fff; filter: brightness(1.08); }
.article-hero__title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.08; margin: .9rem 0 .7rem; max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); text-wrap: balance; }
.article-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 56ch; margin: 0 0 1.4rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.article-hero__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; font-size: .98rem; font-weight: 500; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.article-hero__meta li { display: inline-flex; align-items: center; gap: .45rem; }
.article-hero__meta svg { opacity: .85; flex: none; }
.hero-pill { display: inline-flex; align-items: center; gap: .45em; padding: .45em .95em; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--navy-deep); font-weight: 700; font-size: .9rem; text-decoration: none; text-shadow: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.hero-pill:hover { color: var(--navy-deep); background: #fff; }
.hero-pill .dot { width: .7em; height: .7em; border-radius: 50%; background: conic-gradient(var(--orange), var(--green), var(--blue), var(--purple), var(--magenta), var(--orange)); }
.hero-pill--free { background: #e8f6e3; color: #2f6d22; }
.hero-pill--owned { background: #e3f2fb; color: #155f87; }
.article-hero + .article-body { padding-top: clamp(2.2rem, 5vw, 3.5rem); }
@media (max-width: 640px) {
	.article-hero { min-height: 480px; padding-top: calc(var(--header-h) + 2rem); }
	.article-hero__meta { font-size: .9rem; gap: .5rem 1rem; }
}

/* Header über dem dunklen Banner (solange nicht gescrollt) */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .main-nav a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .main-nav a:hover { border-color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .btn--ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .btn--ghost:hover { background: #fff; color: var(--navy-deep); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .btn:not(.btn--ghost) { background: #fff; color: var(--navy-deep); border-color: #fff; }
/* 5.3.2: freigestelltes Original-Logo – auf dunklem Kopfbereich ein weicher heller Schein statt Kästchen */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .brand .brand__logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 0 6px rgba(255,255,255,.55)); }
.site-header .brand img, .site-header .brand .brand__logo { transition: width .25s ease, height .25s ease, background .25s ease, padding .25s ease; }
@media (max-width: 1100px) { .has-dark-hero .main-nav.is-open a { color: var(--ink); text-shadow: none; } }

/* Empfehlungen */
.recommendations { margin-top: 1rem; }

/* ==========================================================================
   Automatische Silbentrennung (Deutsch) – nativ im Browser, ohne externe
   Dienste. Voraussetzung: <html lang="de-DE"> (wird in functions.php erzwungen).
   Manuelle Trennstellen im Editor: &shy; (weiches Trennzeichen).
   ========================================================================== */
.entry-content, .article-body, .page-body, .teaser, .paywall,
.card__body, .pillar, .step, .hero__lead, .section__head, .archive-head,
.article-hero__title, .article-hero__lead, .recommendations, .notice,
.is-style-bs-infobox, h1, h2, h3, h4 {
	-webkit-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-limit-before: 3;
	-webkit-hyphenate-limit-after: 3;
	hyphenate-limit-chars: 6 3 3;   /* erst ab 6 Zeichen, je Seite mind. 3 */
	hyphenate-limit-lines: 2;       /* nie mehr als 2 Trennungen in Folge */
	hyphenate-limit-last: always;   /* letzte Zeile eines Absatzes nicht trennen */
	overflow-wrap: break-word;
}
/* Überschriften (ab 3.3.0): alle Ebenen, auch verlinkte Titel und Karten-
   titel. Gleiche Regeln wie im Fließtext; die Einschränkung „letzte Zeile
   nicht trennen“ entfällt, weil Überschriften meist nur 1–2 Zeilen haben. */
h1, h2, h3, h4, h5, h6, .article-hero__title, .title, .q-item__title,
.form-section-title, .panel__head, .book-hero h1,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	-webkit-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-limit-before: 3;
	-webkit-hyphenate-limit-after: 3;
	hyphenate-limit-chars: 6 3 3;
	hyphenate-limit-lines: 2;
	hyphenate-limit-last: none;
	overflow-wrap: break-word;
}
/* Nie trennen: Bedienelemente, Code, Adressen, Formulare */
input, textarea, select, button, label, code, pre, kbd, .btn, .main-nav,
.header-actions, .credit-pill, .cost-badge, .hero-pill, .cat-tag,
.card__meta, .article-hero__meta, .table, .pw-rules, .site-footer nav,
a[href^="mailto:"], a[href^="tel:"], .entry-content a[href^="http"] {
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content :is(h1, h2, h3, h4, h5, h6) a[href^="http"] { -webkit-hyphens: auto; hyphens: auto; }

/* ==========================================================================
   Frag das Gehirn – Menüpunkt & Startseiten-Band
   ========================================================================== */
.main-nav a { white-space: nowrap; }
.main-nav .menu-item--ask a { display: inline-flex; align-items: center; gap: .4em; }
.main-nav .menu-item--ask a::before { content: "?"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; font-size: .78em; font-weight: 800; color: #fff; background: conic-gradient(var(--orange), var(--green), var(--blue), var(--purple), var(--magenta), var(--orange)); }
.is-ask-page .main-nav .menu-item--ask a { border-color: var(--purple); color: var(--navy); }
@media (min-width: 1101px) and (max-width: 1260px) {
	.main-nav ul { gap: 1.05rem; }
	.main-nav a { font-size: .9rem; }
}
.ask-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ask-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--strand); }
.ask-band__icon { width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 800 clamp(2rem, 4.5vw, 3rem)/1 var(--serif); color: #fff; background: conic-gradient(var(--orange), var(--green), var(--blue), var(--purple), var(--magenta), var(--orange)); box-shadow: inset 0 0 0 6px rgba(255,255,255,.25); }
.ask-band h2 { margin-bottom: .3em; }
.ask-band p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .ask-band { grid-template-columns: 1fr; text-align: center; } .ask-band__icon { margin: 0 auto; } }
@media (max-width: 1100px) { .main-nav .menu-item--ask a { display: flex; } .is-ask-page .main-nav .menu-item--ask a { border-color: var(--line); color: var(--purple); font-weight: 600; } }

/* Logo mit Kopierschutz (ab 3.9.0): Hintergrundbild statt <img>. */
.bs-nocopy {
	display: block;
	flex: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
}
.brand { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }

/* ==========================================================================
   Live-Suche (ab 4.0.0)
   ========================================================================== */
.search-toggle { display: none; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.bs-search-ready .search-toggle { display: inline-grid; }
.search-toggle:hover { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(138, 63, 184, .12); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .search-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
@media (max-width: 1100px) { .search-toggle { order: -1; } .header-actions { margin-left: .4rem; } }

.bs-search { position: fixed; inset: 0; z-index: 1000; }
.bs-search[hidden] { display: none; }
.bs-search-open, .bs-search-open body { overflow: hidden; }
.bs-search__backdrop { position: absolute; inset: 0; background: rgba(16, 38, 74, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.bs-search__panel { position: relative; width: min(100% - 2rem, 720px); margin: min(12vh, 120px) auto 0; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(16, 38, 74, .55); overflow: hidden; transform: translateY(-12px) scale(.98); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.bs-search__panel::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--orange), var(--green) 28%, var(--blue) 55%, var(--purple) 80%, var(--magenta)); }
.bs-search.is-open .bs-search__backdrop { opacity: 1; }
.bs-search.is-open .bs-search__panel { transform: none; opacity: 1; }
.bs-search__form { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.bs-search__icon { color: var(--muted); flex: none; }
.bs-search__form label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bs-search .bs-search__form input[type=search] { flex: 1; box-shadow: none !important; border-radius: 0 !important; height: auto !important; -webkit-appearance: none; appearance: none; min-width: 0; border: 0; outline: 0; background: none; font: 500 1.2rem/1.4 var(--sans); color: var(--ink); padding: .4rem 0; }
.bs-search__form input[type=search]::-webkit-search-cancel-button { display: none; }
.bs-search__close { flex: none; background: none; border: 0; cursor: pointer; padding: 0; }
.bs-search__close kbd { display: inline-block; font: 600 .72rem/1 var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: .35em .5em; }
.bs-search .bs-live { position: static; max-height: min(62vh, 560px); border: 0; border-radius: 0; box-shadow: none; }

/* Vorschlagsliste (auch unter den Suchfeldern auf Such- und 404-Seite) */
.search-form.has-live { position: relative; }
.bs-live { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 6px); max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px -18px rgba(16, 38, 74, .35); padding: .4rem 0 .5rem; text-align: left; }
.bs-live[hidden] { display: none; }
.bs-live.is-loading { background-image: linear-gradient(90deg, var(--orange), var(--green), var(--blue), var(--purple), var(--magenta)); background-size: 200% 3px; background-repeat: no-repeat; animation: bs-live-load 1s linear infinite; }
@keyframes bs-live-load { from { background-position: 0 0; } to { background-position: -200% 0; } }
.bs-live__group + .bs-live__group { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
.bs-live__head { padding: .6rem 1.1rem .3rem; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bs-live__topics { display: flex; flex-wrap: wrap; gap: .4rem; padding: .3rem 1.1rem .5rem; }
.bs-live__topic { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.bs-live__topic small { color: var(--muted); font-weight: 500; }
.bs-live__dot { width: .65em; height: .65em; border-radius: 50%; background: var(--c); }
.bs-live__list { list-style: none; margin: 0; padding: 0; }
.bs-live__item { display: flex; align-items: center; gap: .9rem; padding: .7rem 1.1rem; text-decoration: none; color: var(--ink); }
.bs-live__bar { flex: none; align-self: stretch; width: 4px; border-radius: 4px; background: var(--c); }
.bs-live__main { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.bs-live__meta { font-size: .78rem; color: var(--muted); }
.bs-live__meta b { color: var(--c); font-weight: 700; }
.bs-live__title { font: 700 1.05rem/1.3 var(--serif); color: var(--navy-deep); }
.bs-live__excerpt { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bs-live__price { flex: none; font-size: .78rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); white-space: nowrap; }
.bs-live__price.is-free { color: #2f7d22; border-color: rgba(91, 181, 71, .45); background: rgba(91, 181, 71, .08); }
.bs-live__price.is-unlocked { color: var(--purple); border-color: rgba(138, 63, 184, .35); background: rgba(138, 63, 184, .07); }
.bs-live mark { background: rgba(239, 138, 29, .22); color: inherit; border-radius: 3px; padding: 0 .08em; }
.bs-live [role=option]:hover, .bs-live [role=option].is-active { background: rgba(138, 63, 184, .07); outline: none; }
.bs-live__topic.is-active, .bs-live__topic:hover { border-color: var(--c); }
.bs-live__all, .bs-live__ask { display: block; margin: .3rem .6rem 0; padding: .7rem .5rem; border-radius: 10px; text-align: center; font-weight: 700; color: var(--navy); text-decoration: none; border-top: 1px solid var(--line); }
.bs-live__empty { padding: 1rem 1.1rem .4rem; }
.bs-live__empty p { margin: 0 0 .4rem; color: var(--muted); }
.bs-live__empty .bs-live__ask { border-top: 0; margin: 0; text-align: left; padding: .6rem .5rem; }
.bs-live__hint { padding: .6rem 1.1rem 0; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: .4rem; }
@media (max-width: 640px) {
	.bs-search__panel { width: 100%; margin: 0; border-radius: 0 0 18px 18px; }
	.bs-live__excerpt, .bs-live__hint { display: none; }
	.bs-live__item { gap: .7rem; padding: .65rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.bs-search__panel, .bs-search__backdrop { transition: none; }
	.bs-live.is-loading { animation: none; }
}

/* ==========================================================================
   Hervorhebungen in Überschriften (ab 4.1.1)
   Artikeltitel: Wort in *Sternchen*. Zwischenüberschriften: Wort kursiv (Strg + I).
   ========================================================================== */
.article-hero__title em,
.article-body :is(h2, h3, h4) em,
.entry-content :is(h2, h3, h4) em,
.about-body :is(h2, h3) em {
	font-style: italic;
	background: var(--strand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding-right: .06em; /* kursive Endbuchstaben nicht abschneiden */
}
.article-hero__title em { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .35)); }
.card h3 em { font-style: italic; }
@media (forced-colors: active) {
	.article-hero__title em, .article-body :is(h2, h3, h4) em, .entry-content :is(h2, h3, h4) em { color: inherit; background: none; }
}

/* Zeilenumbruch mit // in großen Titeln (ab 4.1.3): nur ab Tablet-Breite. Große Titel ohne Silbentrennung. */
.bs-nohy, .bs-nohy * { -webkit-hyphens: manual !important; hyphens: manual !important; }
@media (max-width: 699px) { br.bs-br { display: none; } }

/* ==========================================================================
   Alle Learnings – Übersicht mit Filtern (ab 4.2.0)
   ========================================================================== */
.lx-head .lx-intro { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.lx-head .lx-intro p { margin: 0 0 .6em; }
.lx { padding-bottom: clamp(3rem, 7vw, 5rem); }
.lx-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem .6rem; margin-bottom: 1.6rem; box-shadow: 0 10px 30px -22px rgba(16, 38, 74, .4); }
.lx-top { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-bottom: .9rem; }
.lx-search { flex: 1 1 280px; display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); }
.lx-search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(138, 63, 184, .12); }
.lx-search input[type=search] { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; padding: .7rem 0 !important; font: 400 1rem/1.3 var(--sans) !important; color: var(--ink); height: auto !important; }
.lx-sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.lx-sort select { font: 600 .93rem var(--sans); color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 2rem .55rem .9rem; background: #fff; cursor: pointer; }
.lx-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: .4rem 1rem; align-items: start; padding: .55rem 0; border-top: 1px solid var(--line); }
.lx-row__label { font: 700 .72rem/2.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lx-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.lx-chips--tags:not(.is-open) { max-height: 5.2rem; overflow: hidden; }
.lx-tags-toggle { grid-column: 2; justify-self: start; background: none; border: 0; padding: .2rem 0; color: var(--purple); font: 600 .88rem var(--sans); cursor: pointer; }
.lx-chip { --c: var(--navy); display: inline-flex; align-items: center; gap: .4em; padding: .42em .85em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; line-height: 1.2; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.lx-chip small { color: var(--muted); font-weight: 500; }
.lx-chip:hover { border-color: var(--c); }
.lx-chip.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.lx-chip.is-active small { color: rgba(255,255,255,.8); }
.lx-dot { width: .65em; height: .65em; border-radius: 50%; background: var(--c); }
.lx-chip.is-active .lx-dot { background: #fff; }
.lx-reset { margin: .3rem 0 .5rem; border-top: 1px solid var(--line); padding-top: .6rem; font-size: .9rem; }
.lx-reset a { color: var(--magenta); font-weight: 600; text-decoration: none; }
.lx-count { margin: 0 0 1rem; color: var(--muted); font-weight: 600; }
.lx-more { text-align: center; margin-top: 2rem; }
.lx-empty { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
#lx-app.is-loading #lx-results { opacity: .45; transition: opacity .15s ease; pointer-events: none; }
.lx-tags--post { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.lx-tags__label { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
@media (max-width: 700px) {
	.lx-filters { padding: 1rem 1rem .4rem; }
	.lx-row { grid-template-columns: 1fr; gap: .35rem; }
	.lx-row__label { line-height: 1.4; }
	.lx-tags-toggle { grid-column: 1; }
	.lx-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
	.lx-chips--tags { flex-wrap: wrap; overflow: hidden; }
	.lx-chip { flex: none; }
}
.bs-hy { -webkit-hyphens: auto; hyphens: auto; }

/* ==========================================================================
   Über brainstrand (ab 4.2.0)
   ========================================================================== */
.about-hero { position: relative; overflow: hidden; padding: calc(var(--header-h, 80px) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4rem); background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); }
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 16ch; margin-bottom: .4em; }
.about-hero h1 em { font-style: italic; background: var(--strand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.about-hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 52ch; margin: 0; }
.about-body { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.about-body > .about-section { max-width: none; margin: 0 0 clamp(3rem, 7vw, 5rem); }
.about-body .about-section > .wp-block-group__inner-container { max-width: none !important; margin: 0 !important; }
.about-body .about-section > :not(.wp-block-group__inner-container),
.about-body .about-section > .wp-block-group__inner-container > * { max-width: 780px; margin-left: 0 !important; margin-right: 0 !important; }
.about-body .about-section .pillars, .about-body .about-section .wp-block-media-text, .about-body .about-section .about-values { max-width: none !important; }
.about-body .eyebrow { margin-bottom: .6rem; }
.about-body h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .6em; }
.about-lead { font-size: 1.22rem; line-height: 1.6; color: var(--navy-deep); }
.about-pillars { margin-top: 1.5rem; }
.about-values { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: none !important; }
.about-values li { position: relative; margin: 0; padding: 1.2rem 1.3rem 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.about-values li::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--strand); margin-bottom: .8rem; }
.about-values strong { display: block; font: 700 1.15rem/1.25 var(--serif); color: var(--navy-deep); margin-bottom: .25rem; }
.about-me .wp-block-media-text { grid-template-columns: minmax(200px, 34%) 1fr !important; gap: clamp(1.5rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 20px 50px -30px rgba(16, 38, 74, .35); }
.about-me .wp-block-media-text__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--paper); }
.about-me .wp-block-media-text__content { padding: 0 !important; }
.about-me h2 { margin-top: .1em; }
.about-placeholder { background: repeating-linear-gradient(-45deg, rgba(239, 138, 29, .1) 0 10px, rgba(239, 138, 29, .04) 10px 20px); border: 1px dashed rgba(239, 138, 29, .6); border-radius: 10px; padding: .7rem 1rem; color: #8a4b08; font-size: .95rem; }
.about-body .wp-block-buttons { gap: .6rem; margin-top: 1.4rem; }
.about-body .wp-block-button__link { background: var(--navy); color: #fff; border-radius: 999px; padding: .8em 1.4em; font: 600 .97rem/1 var(--sans); text-decoration: none; }
.about-body .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.about-faq .wp-block-details { margin: 0; border-bottom: 1px solid var(--line); padding: 0; }
.about-faq .wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.about-faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.15rem 2.6rem 1.15rem 0; font: 700 1.15rem/1.35 var(--serif); color: var(--navy-deep); }
.about-faq summary::-webkit-details-marker { display: none; }
.about-faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 400 1.2rem/1 var(--sans); color: var(--purple); transition: transform .2s ease, background .2s ease; }
.about-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(138, 63, 184, .08); }
.about-faq details > p { margin: -.2rem 0 1.2rem; color: var(--ink); max-width: 65ch; }
@media (max-width: 760px) {
	.about-values { grid-template-columns: 1fr; }
	.about-me .wp-block-media-text { grid-template-columns: 1fr !important; }
	.about-me .wp-block-media-text__media img { aspect-ratio: 1; max-width: 280px; }
}

/* Geschütztes Foto (ab 4.3.1): Hintergrundbild unter Schutzfläche. */
.bs-photo-guard { position: relative; display: block; width: 100%; overflow: hidden; border-radius: inherit; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; background: var(--line, #e5e7ef); }
.bs-photo-guard__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: filter .15s; pointer-events: none; }
.bs-photo-guard__shield { position: absolute; inset: 0; background: transparent; -webkit-user-drag: none; -webkit-touch-callout: none; }
html.bs-guard-hide .bs-photo-guard__img { filter: blur(28px) saturate(.6); }
html.bs-guard-hide .bs-photo-guard::after { content: "© brainstrand"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
@media print { .bs-photo-guard__img { display: none !important; } .bs-photo-guard::after { content: "Bild nicht druckbar"; position: absolute; inset: 0; display: grid; place-items: center; color: #666; } }
