/* ==========================================================================
   Betsaida – Theme-Stile
   Farben und Schriften kommen aus theme.json (Website-Editor → Stile).
   ========================================================================== */

:root,
body {
	--bs-c-base: var(--wp--preset--color--base);
	--bs-c-surface: var(--wp--preset--color--surface);
	--bs-c-mist: var(--wp--preset--color--mist);
	--bs-c-line: var(--wp--preset--color--line);
	--bs-c-text: var(--wp--preset--color--contrast);
	--bs-c-muted: var(--wp--preset--color--muted);
	--bs-c-primary: var(--wp--preset--color--primary);
	--bs-c-deep: var(--wp--preset--color--primary-deep);
	--bs-c-accent: var(--wp--preset--color--accent);
	--bs-c-bright: var(--wp--preset--color--accent-bright);
	--bs-r-s: var(--wp--custom--radius--s, 8px);
	--bs-r-m: var(--wp--custom--radius--m, 12px);
	--bs-r-l: var(--wp--custom--radius--l, 20px);
	--bs-r-xl: var(--wp--custom--radius--xl, 28px);
	--bs-shadow: var(--wp--preset--shadow--soft);
	--bs-shadow-lg: var(--wp--preset--shadow--lifted);
	--bs-header-h: var(--wp--custom--header-height, 72px);
	--bs-wide: var(--wp--style--global--wide-size, 1240px);
	--bs-pad: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 2.5rem));
	--bs-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bs-header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
::selection { background: var(--bs-c-mist); color: var(--bs-c-primary); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--bs-c-bright); outline-offset: 3px; border-radius: 4px; }
img { height: auto; }

/* Hervorhebungen in Überschriften: Serifen-Kursive */
:where(h1, h2, h3) em { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

/* Blockstile ------------------------------------------------------------- */
.is-style-eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--bs-c-accent); margin-bottom: .25rem !important;
}
.is-style-eyebrow::before { content: ""; width: 1.6em; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.is-style-lead { font-size: var(--wp--preset--font-size--large); color: var(--bs-c-muted); line-height: 1.6; }
.bs-muted { color: var(--bs-c-muted); font-size: var(--wp--preset--font-size--small); }

.wp-block-group.is-style-card {
	background: var(--bs-c-base); border: 1px solid var(--bs-c-line); border-radius: var(--bs-r-l);
	padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--bs-shadow);
}

/* Schaltflächen */
.wp-block-button__link { transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--bs-ease), box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--bs-c-primary); border: 1.5px solid currentColor;
	padding: calc(.8rem - 1.5px) calc(1.35rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bs-c-mist); }
.wp-block-button.is-style-light > .wp-block-button__link { background: #fff; color: #0b3954; box-shadow: 0 8px 24px -10px rgba(0,0,0,.45); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: #dff3f8; }

/* Kopfbereich ------------------------------------------------------------ */
.bs-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--bs-c-base) 86%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.admin-bar .bs-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .bs-header { top: 0; } }
.bs-header.is-scrolled { border-bottom-color: var(--bs-c-line); box-shadow: 0 6px 24px -18px rgba(7, 42, 63, .45); }

.bs-header__bar {
	max-width: var(--bs-wide); margin-inline: auto; min-height: var(--bs-header-h);
	padding-inline: var(--bs-pad); gap: 1.5rem;
}
.bs-header__nav { gap: clamp(.5rem, 1.4vw, 1.25rem); min-width: 0; }

.bs-logo { line-height: 0; margin: 0; flex: none; }
.bs-logo__link { display: inline-flex; border-radius: 10px; transition: opacity .2s, transform .25s var(--bs-ease); }
.bs-logo__link:hover { transform: translateY(-1px); }
.bs-logo__img { display: block; width: auto; max-width: 100%; }
.bs-header .bs-logo__img { height: 38px; }
@media (max-width: 420px) { .bs-header .bs-logo__img { height: 32px; } }

/* Konto */
.bs-account { position: relative; display: flex; align-items: center; gap: .5rem; font-size: .95rem; white-space: nowrap; }
.bs-account a { text-decoration: none; }
.bs-account__login { color: var(--bs-c-text); font-weight: 600; padding: .55rem .75rem; border-radius: 10px; transition: background .2s, color .2s; }
.bs-account__login:hover { background: var(--bs-c-mist); color: var(--bs-c-primary); }
.bs-account__register {
	background: var(--bs-c-primary); color: var(--wp--preset--color--on-primary) !important; font-weight: 600;
	padding: .6rem 1rem; border-radius: 10px; transition: background .2s, transform .15s var(--bs-ease);
}
.bs-account__register:hover { background: var(--bs-c-deep); transform: translateY(-1px); }
.bs-account__toggle {
	display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .6rem .3rem .3rem; border-radius: 999px;
	border: 1px solid var(--bs-c-line); background: var(--bs-c-base); color: var(--bs-c-text); font: inherit; font-weight: 600; cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.bs-account__toggle:hover, .bs-account__toggle[aria-expanded="true"] { border-color: var(--bs-c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-c-accent) 15%, transparent); }
.bs-account__avatar {
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
	color: #fff; background: linear-gradient(135deg, #127b9a, #072a3f);
}
.bs-account__name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.bs-account__chevron { transition: transform .2s; }
.bs-account__toggle[aria-expanded="true"] .bs-account__chevron { transform: rotate(180deg); }
.bs-account__menu {
	position: absolute; right: 0; top: calc(100% + .6rem); min-width: 260px; z-index: 120;
	background: var(--bs-c-base); border: 1px solid var(--bs-c-line); border-radius: var(--bs-r-m);
	box-shadow: var(--bs-shadow-lg); padding: .4rem; display: grid;
	animation: bs-pop .18s var(--bs-ease);
}
.bs-account__menu[hidden] { display: none; }
.bs-account__head { display: grid; padding: .7rem .8rem .8rem; border-bottom: 1px solid var(--bs-c-line); margin-bottom: .3rem; }
.bs-account__head span { color: var(--bs-c-muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
.bs-account__menu a { color: var(--bs-c-text); padding: .6rem .8rem; border-radius: var(--bs-r-s); font-weight: 500; }
.bs-account__menu a:hover { background: var(--bs-c-mist); color: var(--bs-c-primary); }
.bs-account__menu .bs-account__logout { color: #b42318; }
@keyframes bs-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

@media (max-width: 1179px) { .bs-account__login { display: none; } }
@media (max-width: 781px) {
	.bs-account__name, .bs-account__chevron { display: none; }
	.bs-account__register { padding: .5rem .8rem; font-size: .88rem; }
	.bs-account__toggle { padding: .2rem; }
}
@media (max-width: 560px) { .bs-account__register { display: none; } }

/* Bühne (Hero) ----------------------------------------------------------- */
.bs-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	background: radial-gradient(120% 120% at 85% 0%, #127b9a 0%, #0b3954 42%, #072a3f 100%);
	margin-block-start: 0 !important;
}
.bs-hero::before { /* feines Punktraster */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: radial-gradient(80% 80% at 70% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000 20%, transparent 75%);
}
.bs-hero::after { /* Wellen am unteren Rand */
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px); z-index: -1;
	background: var(--bs-c-base);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60c180 0 180-40 360-40s180 40 360 40 180-40 360-40 180 40 360 40v30H0z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60c180 0 180-40 360-40s180 40 360 40 180-40 360-40 180 40 360 40v30H0z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.bs-hero__inner {
	max-width: var(--bs-wide); margin-inline: auto; padding: clamp(3.5rem, 8vw, 7rem) var(--bs-pad) clamp(5rem, 10vw, 9rem);
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.bs-hero__inner > * { margin-block: 0 !important; }
@media (max-width: 960px) { .bs-hero__inner { grid-template-columns: minmax(0, 1fr); } }
.bs-hero .is-style-eyebrow { color: #f2b84b; }
.bs-hero__title { color: #fff !important; font-size: clamp(2.2rem, 6vw + .4rem, 3.9rem) !important; overflow-wrap: break-word; hyphens: auto; margin-top: .5rem !important; text-wrap: balance; }
.bs-hero__title em { color: #f2b84b; }
.bs-hero__lead { font-size: var(--wp--preset--font-size--large); color: rgba(255,255,255,.82); max-width: 36rem; text-wrap: pretty; }
.bs-hero__actions { margin-top: 2rem !important; gap: .75rem; }
.bs-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.45); }
.bs-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.bs-hero__facts { list-style: none; padding: 0; margin: 2rem 0 0 !important; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; color: rgba(255,255,255,.78); }
.bs-hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.bs-hero__facts svg { width: 18px; height: 18px; color: #7fd1a7; }

/* Vorschau-Fenster */
.bs-hero__visual { position: relative; padding: 1.5rem 0; }
.bs-preview {
	position: relative; border-radius: var(--bs-r-l); overflow: hidden; color: #0f1b2d;
	background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
	transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--bs-ease);
}
.bs-hero__visual:hover .bs-preview { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.bs-preview__bar { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; background: #f2f8fa; border-bottom: 1px solid #dce9ef; }
.bs-preview__dots { display: inline-flex; gap: 6px; }
.bs-preview__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3dce7; }
.bs-preview__url { flex: 1; font-size: .75rem; color: #5f7a8a; background: #fff; border: 1px solid #dce9ef; border-radius: 6px; padding: .25rem .6rem; }
.bs-preview__body { padding: 1.4rem 1.4rem 1.6rem; }
.bs-preview__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.bs-preview__kicker { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #127b9a; }
.bs-preview__title { font-size: 1.15rem; letter-spacing: -.01em; }
.bs-preview__chip { font-size: .72rem; font-weight: 700; background: #dff3f8; color: #0b3954; padding: .3rem .65rem; border-radius: 999px; }
.bs-preview__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: lied; }
.bs-preview__list li {
	display: grid; grid-template-columns: 9.5rem 1fr auto; gap: .9rem; align-items: center;
	padding: .7rem .8rem; border-radius: 10px; background: #f6fafc; border: 1px solid #e6f0f4; font-size: .85rem;
}
.bs-preview__label { font-weight: 600; color: #334155; }
.bs-sk { height: 8px; border-radius: 6px; background: linear-gradient(90deg, #d6ebf2, #eef7fa); width: 70%; }
.bs-sk--l { width: 90%; } .bs-sk--m { width: 55%; } .bs-sk--s { width: 40%; }
.bs-tag { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; background: #dff3f8; color: #0b3954; }
.bs-tag--chor { background: #e9f7ef; color: #13795b; }
@media (max-width: 520px) { .bs-preview__list li { grid-template-columns: 1fr auto; } .bs-sk { display: none; } }

.bs-float {
	position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .7rem;
	background: rgba(255,255,255,.96); color: #0f1b2d; border-radius: 14px; font-size: .85rem; line-height: 1.3;
	box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); animation: bs-float 6s ease-in-out infinite;
}
.bs-float small { display: block; color: #5b6b80; }
.bs-float--plan { left: -1.5rem; bottom: -.5rem; }
.bs-float--bot { right: -1rem; top: -.25rem; animation-delay: -3s; }
.bs-float__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e9f7ef; color: #13795b; }
.bs-float__icon svg { width: 20px; height: 20px; }
.bs-float__avatar {
	width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700;
	font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 1.05rem;
	background: linear-gradient(135deg, #3fb1cf, #0b3954);
}
@keyframes bs-float { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .bs-float--plan { left: .5rem; } .bs-float--bot { right: .5rem; } }

/* Abschnitte ------------------------------------------------------------- */
.bs-section { padding-block: clamp(4rem, 9vw, 7.5rem); margin-block: 0 !important; }
.bs-section--tinted { background: var(--bs-c-surface); border-block: 1px solid var(--bs-c-line); }
.bs-section__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.bs-section__head .is-style-eyebrow { justify-content: center; }
.bs-section__head h2 { text-wrap: balance; margin-top: .4rem; }

.bs-grid { gap: clamp(1rem, 2vw, 1.5rem) !important; }
.bs-feature { transition: transform .3s var(--bs-ease), box-shadow .3s, border-color .3s; }
.bs-feature:hover { transform: translateY(-4px); box-shadow: var(--bs-shadow-lg); border-color: color-mix(in srgb, var(--bs-c-accent) 35%, var(--bs-c-line)); }
.bs-feature h3 { font-size: 1.2rem !important; margin-top: 1.25rem !important; }
.bs-feature p { color: var(--bs-c-muted); margin-top: .5rem !important; }

.bs-icon {
	width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center;
	background: linear-gradient(135deg, var(--bs-c-mist), color-mix(in srgb, var(--bs-c-mist) 40%, var(--bs-c-base)));
	color: var(--bs-c-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bs-c-accent) 18%, transparent);
}
.bs-icon svg { width: 24px; height: 24px; }
.bs-icon--light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* Schritte */
.bs-steps__list { counter-reset: schritt; gap: clamp(1rem, 3vw, 2.5rem) !important; }
.bs-step { position: relative; padding-top: 4.25rem; counter-increment: schritt; }
.bs-step::before {
	content: counter(schritt, decimal-leading-zero); position: absolute; top: 0; left: 0;
	font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 2.75rem; line-height: 1;
	color: var(--bs-c-accent);
}
.bs-step::after { content: ""; position: absolute; top: 1.4rem; left: 4.5rem; right: 0; height: 1px; background: linear-gradient(90deg, var(--bs-c-line), transparent); }
.bs-step h3 { font-size: 1.2rem !important; }
.bs-step p { color: var(--bs-c-muted); margin-top: .5rem !important; }

/* Philippus */
.bs-philippus__grid { gap: clamp(2rem, 6vw, 6rem) !important; }
.bs-origin { margin-top: 2rem !important; border-left-color: var(--bs-c-bright) !important; }
.bs-origin p { font-size: 1.15rem; color: var(--bs-c-text); }
.bs-origin cite { display: block; margin-top: .5rem; font-family: var(--wp--preset--font-family--sans); font-style: normal; font-size: .82rem; font-weight: 600; color: var(--bs-c-muted); letter-spacing: .04em; }
.bs-chat {
	border-radius: var(--bs-r-xl); background: var(--bs-c-base); border: 1px solid var(--bs-c-line); box-shadow: var(--bs-shadow-lg); overflow: hidden;
	max-width: 30rem; margin-inline: auto;
}
.bs-chat__head { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--bs-c-line); background: var(--bs-c-surface); }
.bs-chat__head small { display: flex; align-items: center; gap: .4rem; color: var(--bs-c-muted); font-size: .8rem; }
.bs-online { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.bs-chat__body { padding: 1.5rem 1.25rem; display: grid; gap: .8rem; }
.bs-msg { margin: 0; max-width: 85%; padding: .8rem 1rem; border-radius: 16px 16px 16px 4px; background: var(--bs-c-mist); font-size: .95rem; line-height: 1.5; }
.bs-msg--me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--bs-c-primary); color: var(--wp--preset--color--on-primary); }
.bs-msg--typing { display: inline-flex; gap: 4px; width: max-content; }
.bs-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--bs-c-accent); opacity: .4; animation: bs-dot 1.2s infinite; }
.bs-msg--typing i:nth-child(2) { animation-delay: .15s; }
.bs-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bs-dot { 30% { opacity: 1; transform: translateY(-3px); } }

/* Aufruf (CTA) */
.bs-cta {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--bs-r-xl); padding: clamp(2rem, 5vw, 4rem); color: #fff; position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(100% 140% at 100% 0%, #127b9a 0%, #0b3954 45%, #072a3f 100%);
	box-shadow: var(--bs-shadow-lg);
}
.bs-cta::before {
	content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
	background: radial-gradient(circle, rgba(63,177,207,.35), transparent 65%);
}
.bs-cta > * { margin-block: 0 !important; }
.bs-cta h2, .bs-cta h3 { color: #fff !important; }
.bs-cta h2 em { color: #f2b84b; }
.bs-cta p { color: rgba(255,255,255,.82); }
.bs-cta .is-style-eyebrow { color: #f2b84b; }
.bs-cta__main .wp-block-buttons { margin-top: 1.75rem !important; }
.bs-cta__side { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--bs-r-l); padding: clamp(1.5rem, 3vw, 2rem); backdrop-filter: blur(6px); }
.bs-cta__side h3 { font-size: 1.25rem !important; margin-top: 1rem !important; }
@media (max-width: 860px) { .bs-cta { grid-template-columns: minmax(0, 1fr); } }
.bs-arrow-link a { color: #fff !important; font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.bs-arrow-link a::after { content: "→"; transition: transform .2s var(--bs-ease); }
.bs-arrow-link a:hover::after { transform: translateX(4px); }

/* Fußbereich ------------------------------------------------------------- */
.bs-footer {
	background: var(--bs-c-deep); color: rgba(255,255,255,.72); margin-block-start: 0 !important;
	font-size: .95rem; position: relative;
}
.bs-main--front + .bs-footer, .bs-footer { margin-top: 0; }
.bs-footer__inner { max-width: var(--bs-wide); margin-inline: auto; padding: clamp(3.5rem, 7vw, 5rem) var(--bs-pad) 2rem; }
.bs-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.bs-footer__grid > * { margin-block: 0 !important; }
@media (max-width: 1100px) { .bs-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bs-footer__grid > .wp-block-shortcode, .bs-footer__grid > .bs-sitemap { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bs-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.bs-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 2rem 1.5rem; }
.bs-footer__more { color: #f2b84b !important; font-weight: 600; }
.bs-footer__claim { margin-top: 1.25rem !important; max-width: 26rem; }
.bs-footer__note { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 1rem !important; }
.bs-footer__title { color: #fff !important; font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700 !important; }
.bs-footer__links { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.bs-footer__links a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.bs-footer__links a:hover { color: #fff; }
.bs-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
	font-size: .82rem; color: rgba(255,255,255,.5); gap: .5rem 2rem !important;
}
.bs-footer__bottom p { margin: 0; }
.bs-footer__bottom a { color: rgba(255,255,255,.75); }

/* Inhaltsseiten ---------------------------------------------------------- */
.bs-main { margin-block-start: 0 !important; }
.bs-pagehead {
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
	background: linear-gradient(180deg, var(--bs-c-mist) 0%, var(--bs-c-base) 100%);
	border-bottom: 1px solid var(--bs-c-line);
}
.bs-pagehead__title { font-size: var(--wp--preset--font-size--xx-large) !important; text-wrap: balance; }
.bs-pagehead__lead { font-size: var(--wp--preset--font-size--large); color: var(--bs-c-muted); margin-top: .75rem !important; }
.bs-pagehead__lead p { margin: 0; }
.bs-pagehead__meta { color: var(--bs-c-accent); font-weight: 600; font-size: .9rem; }
.bs-content { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); margin-block-start: 0 !important; }
.bs-main--app { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.bs-featured img { border-radius: var(--bs-r-l); }
.bs-postnav { margin-top: 2rem; }

.bs-list .wp-block-post-template { display: grid; gap: 1.25rem; padding: 0; }
.bs-list__meta { font-size: .85rem; color: var(--bs-c-muted); }
.bs-list .wp-block-post-title { margin-top: .4rem; }

.bs-404 { padding-block: clamp(4rem, 12vw, 9rem); text-align: center; }
.bs-404 .is-style-eyebrow, .bs-404 .wp-block-buttons { justify-content: center; }
.bs-404 h1 { font-size: var(--wp--preset--font-size--xx-large); }

/* Suche */
.bs-search .wp-block-search__inside-wrapper { border: 1px solid var(--bs-c-line); border-radius: 12px; padding: 4px; background: var(--bs-c-base); box-shadow: var(--bs-shadow); }
.bs-search .wp-block-search__input { border: 0; padding: .7rem .9rem; background: transparent; color: var(--bs-c-text); font: inherit; }
.bs-search .wp-block-search__input:focus { outline: none; }
.bs-search .wp-block-search__button { margin: 0; border-radius: 9px; }

/* Formulare in Plugin-Inhalten freundlich angleichen */
.bs-content :where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], select, textarea),
.bs-main--app :where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], select, textarea) {
	border: 1px solid var(--bs-c-line); border-radius: 10px; padding: .6rem .8rem; background: var(--bs-c-base); color: var(--bs-c-text); font: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.bs-content :where(input, select, textarea):focus, .bs-main--app :where(input, select, textarea):focus {
	outline: none; border-color: var(--bs-c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-c-accent) 20%, transparent);
}
.bs-content :where(table), .bs-main--app :where(table) { border-collapse: collapse; width: 100%; }
.bs-content :where(th, td), .bs-main--app :where(th, td) { border-bottom: 1px solid var(--bs-c-line); padding: .65rem .75rem; text-align: left; }
.bs-content :where(thead th), .bs-main--app :where(thead th) { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bs-c-muted); }

/* Einblenden beim Scrollen ---------------------------------------------- */
.js .bs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--bs-ease), transform .7s var(--bs-ease); transition-delay: var(--bs-delay, 0s); }
.js .bs-reveal.is-visible { opacity: 1; transform: none; }
.editor-styles-wrapper .bs-reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .bs-reveal { opacity: 1; transform: none; }
	.bs-preview { transform: none; }
}

@media print {
	.bs-header, .bs-footer, .bs-hero::before, .bs-hero::after { display: none !important; }
	.bs-hero { background: none; color: #000; }
}

/* ---- 1.1.0: Betsaida-Marke ------------------------------------------- */
.wp-block-button.is-style-gold > .wp-block-button__link { background: #f2b84b; color: #0b3954; box-shadow: 0 10px 26px -12px rgba(242,184,75,.7); }
.wp-block-button.is-style-gold > .wp-block-button__link:hover { background: #f6c96d; }
.bs-hero .is-style-eyebrow { color: #f2b84b; }
.bs-tag--gold { background: #fdf1d8; color: #8a5a00; }
.bs-tag--sea { background: #dff3f8; color: #0d6680; }
.bs-hero__facts svg { color: #f2b84b; }

.bs-feature__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bs-feature__num { font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--bs-c-line); }
.bs-feature__for { font-size: .82rem !important; font-weight: 600; color: var(--bs-c-accent); margin-top: .25rem !important; }
.bs-feature h3 { margin-top: 1.1rem !important; }
.bs-feature--cta {
	border-radius: var(--bs-r-l); padding: clamp(1.5rem, 3vw, 2rem); color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
	background: radial-gradient(120% 120% at 100% 0%, #127b9a 0%, #0b3954 55%, #072a3f 100%); box-shadow: var(--bs-shadow);
}
.bs-feature--cta h3 { color: #fff !important; margin-top: 0 !important; }
.bs-feature--cta p { color: rgba(255,255,255,.82) !important; }
.bs-feature--cta .bs-arrow-link a { color: #f2b84b !important; }
.bs-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); }
@media (min-width: 1100px) { .bs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

.bs-name-link { margin-top: 1.25rem !important; }
.bs-name-link a { font-weight: 600; text-decoration: none; color: var(--bs-c-accent); display: inline-flex; gap: .4rem; }
.bs-name-link a::after { content: "→"; transition: transform .2s var(--bs-ease); }
.bs-name-link a:hover::after { transform: translateX(4px); }

.bs-cta h2 em, .bs-hero__title em { color: #f2b84b; }
.bs-cta .is-style-eyebrow { color: #f2b84b; }

/* Startseite des Plugins direkt unter dem Kopf */
.bs-main--start { padding-top: 0; }
.bs-main--start > .wp-block-post-content > :first-child { margin-top: 0; }

/* Footer-Logo */
.bs-footer .bs-logo__img { height: 56px; }

/* ==========================================================================
   1.2.0: Hauptnavigation
   ========================================================================== */
.bs-navwrap { display: contents; }

/* Desktop-Leiste */
.bs-menu { display: none; }
@media (min-width: 1180px) { .bs-menu { display: block; } }
.bs-menu__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.bs-menu__item { position: relative; }
.bs-menu__top {
	display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 .8rem; border-radius: 10px;
	border: 0; background: none; font: inherit; font-size: .95rem; font-weight: 550; color: var(--bs-c-text);
	text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
	transition: background-color .18s, color .18s;
}
.bs-menu__top:hover, .bs-menu__item.is-open > .bs-menu__top { background: var(--bs-c-mist); color: var(--bs-c-primary); }
.bs-menu__top::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 5px; height: 2px; border-radius: 2px;
	background: #f2b84b; transform: scaleX(0); transition: transform .25s var(--bs-ease);
}
.bs-menu__item.is-active > .bs-menu__top { color: var(--bs-c-primary); }
.bs-menu__item.is-active > .bs-menu__top::after { transform: scaleX(1); }
.bs-menu__chev { transition: transform .2s var(--bs-ease); opacity: .7; }
.bs-menu__item.is-open .bs-menu__chev { transform: rotate(180deg); opacity: 1; }

.bs-menu__ws {
	display: inline-flex; align-items: center; height: 40px; padding: 0 .95rem; margin-left: .35rem; border-radius: 10px;
	font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap;
	color: var(--bs-c-primary); background: var(--bs-c-mist); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bs-c-accent) 30%, transparent);
	transition: background-color .18s, box-shadow .18s;
}
.bs-menu__ws:hover { background: color-mix(in srgb, var(--bs-c-mist) 60%, var(--bs-c-accent) 18%); }

/* Aufklappfeld */
.bs-menu__panel {
	position: absolute; top: calc(100% + 10px); left: 50%; z-index: 130; min-width: 270px;
	transform: translateX(calc(-50% + var(--bs-shift, 0px)));
	background: var(--bs-c-base); border: 1px solid var(--bs-c-line); border-radius: 16px; box-shadow: var(--bs-shadow-lg);
	animation: bs-panel .18s var(--bs-ease);
}
.bs-menu__panel::before { /* Brücke, damit der Mauszeiger die Lücke überqueren kann */
	content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.bs-menu__panel--wide { min-width: 520px; }
.bs-menu__panel[hidden] { display: none; }
@keyframes bs-panel { from { opacity: 0; transform: translateX(calc(-50% + var(--bs-shift, 0px))) translateY(-6px); } }
.bs-menu__panel-in { padding: .5rem; }
.bs-menu__sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.bs-menu__panel--wide .bs-menu__sub { grid-template-columns: 1fr 1fr; column-gap: .35rem; }
.bs-menu__link {
	display: block; padding: .6rem .8rem; border-radius: 10px; font-size: .93rem; line-height: 1.35;
	color: var(--bs-c-text); text-decoration: none; transition: background-color .15s, color .15s;
}
.bs-menu__link:hover, .bs-menu__link:focus-visible { background: var(--bs-c-mist); color: var(--bs-c-primary); }
.bs-menu__link.is-current { color: var(--bs-c-primary); font-weight: 650; background: color-mix(in srgb, var(--bs-c-mist) 70%, transparent); box-shadow: inset 3px 0 0 #f2b84b; }
.bs-menu__all {
	display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem;
	padding: .7rem .8rem; border-top: 1px solid var(--bs-c-line); border-radius: 0 0 10px 10px;
	font-size: .85rem; font-weight: 650; color: var(--bs-c-accent); text-decoration: none;
}
.bs-menu__all:hover { color: var(--bs-c-primary); }
.bs-menu__all svg { transition: transform .2s var(--bs-ease); }
.bs-menu__all:hover svg { transform: translateX(3px); }

/* Menü-Knopf */
.bs-burger {
	order: 10; display: inline-flex; align-items: center; gap: .55rem; height: 42px; padding: 0 .9rem 0 .75rem;
	border: 1px solid var(--bs-c-line); border-radius: 12px; background: var(--bs-c-base); color: var(--bs-c-primary);
	font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; transition: border-color .18s, background-color .18s;
}
.bs-burger:hover { border-color: var(--bs-c-accent); background: var(--bs-c-mist); }
.bs-burger__icon { display: grid; gap: 4px; width: 18px; }
.bs-burger__icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.bs-burger__icon i:nth-child(2) { width: 70%; }
@media (min-width: 1180px) { .bs-burger { display: none; } }
@media (max-width: 420px) { .bs-burger__label { display: none; } .bs-burger { padding: 0 .7rem; } }

/* Seitenleiste */
.bs-drawer { position: fixed; inset: 0; z-index: 100000; }
.bs-drawer[hidden] { display: none; }
.bs-drawer__backdrop { position: absolute; inset: 0; background: rgba(4, 24, 36, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.bs-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
	background: var(--bs-c-base); color: var(--bs-c-text); box-shadow: -24px 0 60px -30px rgba(4, 24, 36, .6);
	transform: translateX(100%); transition: transform .26s var(--bs-ease);
	font-family: var(--wp--preset--font-family--sans);
}
.bs-drawer.is-open .bs-drawer__backdrop { opacity: 1; }
.bs-drawer.is-open .bs-drawer__panel { transform: none; }
.admin-bar .bs-drawer__panel { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .bs-drawer__panel { top: 0; } }
html.bs-drawer-open { overflow: hidden; }

.bs-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem 1rem 1.4rem; border-bottom: 1px solid var(--bs-c-line); }
.bs-drawer__logo { line-height: 0; }
.bs-drawer__logo img { height: 32px; width: auto; }
.bs-drawer__close {
	width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; cursor: pointer;
	border: 1px solid var(--bs-c-line); background: var(--bs-c-base); color: var(--bs-c-primary);
}
.bs-drawer__close:hover { background: var(--bs-c-mist); }

.bs-drawer__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .6rem .75rem 1rem; }
.bs-drawer__list { list-style: none; margin: 0; padding: 0; }
.bs-drawer__item + .bs-drawer__item { border-top: 1px solid color-mix(in srgb, var(--bs-c-line) 70%, transparent); }
.bs-drawer__top {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1rem .7rem; border: 0; background: none; text-align: left; cursor: pointer;
	font: inherit; font-size: 1.08rem; font-weight: 650; color: var(--bs-c-text); text-decoration: none; border-radius: 10px;
}
.bs-drawer__top:hover { color: var(--bs-c-primary); }
.bs-drawer__item.is-active > .bs-drawer__top { color: var(--bs-c-primary); }
.bs-drawer__top .bs-menu__chev { width: 14px; height: 14px; transition: transform .2s var(--bs-ease); }
.bs-drawer__top[aria-expanded="true"] .bs-menu__chev { transform: rotate(180deg); }
.bs-drawer__sub { list-style: none; margin: 0 0 .7rem; padding: .2rem 0 .2rem .7rem; border-left: 2px solid var(--bs-c-mist); margin-left: .7rem; }
.bs-drawer__sub[hidden] { display: none; }
.bs-drawer__link { display: flex; align-items: center; justify-content: space-between; padding: .62rem .8rem; border-radius: 10px; color: var(--bs-c-text); text-decoration: none; font-size: .98rem; }
.bs-drawer__link:hover { background: var(--bs-c-mist); color: var(--bs-c-primary); }
.bs-drawer__link.is-current { color: var(--bs-c-primary); font-weight: 650; background: color-mix(in srgb, var(--bs-c-mist) 70%, transparent); }
.bs-drawer__all { color: var(--bs-c-accent); font-weight: 650; font-size: .9rem; }

.bs-drawer__account { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--bs-c-line); background: var(--bs-c-surface); display: grid; gap: .55rem; }
.bs-drawer__who { display: flex; align-items: center; gap: .75rem; padding: 0 .2rem .4rem; }
.bs-drawer__who small { display: block; color: var(--bs-c-muted); font-size: .8rem; }
.bs-drawer__btn {
	display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1rem; border-radius: 12px;
	font-weight: 650; text-decoration: none; color: var(--bs-c-primary); background: var(--bs-c-base); border: 1px solid var(--bs-c-line);
}
.bs-drawer__btn:hover { border-color: var(--bs-c-accent); }
.bs-drawer__btn--primary { background: var(--bs-c-primary); color: var(--wp--preset--color--on-primary); border-color: transparent; }
.bs-drawer__btn--primary:hover { background: var(--bs-c-deep); }
.bs-drawer__btn--quiet { background: transparent; border-color: transparent; color: var(--bs-c-muted); min-height: 38px; }

@media (prefers-reduced-motion: reduce) { .bs-drawer__panel, .bs-drawer__backdrop, .bs-menu__panel { transition: none; animation: none; } }
@media (min-width: 1180px) and (max-width: 1359px) {
	.bs-account__name, .bs-account__chevron { display: none; }
	.bs-account__toggle { padding: .2rem; }
	.bs-menu__top { padding: 0 .5rem; }
	.bs-menu__top::after { left: .5rem; right: .5rem; }
	.bs-header__bar { gap: 1rem; }
	.bs-header__nav { gap: .4rem; }
	.bs-account__login { padding: .5rem .55rem; }
	.bs-account__register { padding: .55rem .8rem; }
}
