/* YJAR CMS – Standard-Theme. Corporate Design: Navy #192E50, Gold #D59B27, Inter. */
:root {
	--navy: #192e50;
	--gold: #d59b27;
	--gold-ink: #7a5a0f;
	--ink: #565655;
	--paper: #ffffff;
	--soft: #f6f8fb;
	--line: #e2e8f0;
	--wrap: 900px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.65;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-ink); }
img { max-width: 100%; height: auto; }

/* Consistent, visible keyboard-focus ring everywhere (buttons, links,
   form controls, the block-builder's tab labels, etc.) — mouse/touch
   users never see it, :focus-visible only fires for keyboard/AT focus. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}

/* Preview */
.preview-bar { background: var(--gold); color: var(--navy); text-align: center; font-weight: 600; padding: 6px 12px; font-size: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 18px; }
.brand__mark { width: 30px; height: 30px; display: inline-flex; }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover { color: var(--navy); }

.menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.menu__item a { display: inline-block; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--navy); transition: background .15s ease, color .15s ease; }
.menu__item a:hover { background: var(--soft); color: var(--gold-ink); }

/* Mobile nav toggle — CSS-only checkbox hack, no JS. Hidden on desktop;
   becomes a hamburger button that reveals the nav below the header on
   small screens (see the @media block near the bottom of this file). */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

/* Language switcher — only rendered at all when more than one language is configured (see layout.html). */
.lang-switch { display: flex; gap: 2px; margin-left: 8px; }
.lang-switch__item { display: inline-block; padding: 6px 9px; border-radius: 6px; font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--line); }
.lang-switch__item:hover { background: var(--soft); }
.lang-switch__item.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Main */
.site-main { padding: 40px 0 64px; }
.page__title, .post__title { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 20px; }
.content { font-size: 17px; }
.content p { margin: 0 0 1.1em; }
.content h2 { color: var(--navy); margin-top: 1.6em; }
.content h3 { color: var(--navy); }
.content .lead { font-size: 1.25em; color: var(--navy); }
.content a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.content ul, .content ol { padding-left: 1.3em; }
.content blockquote { border-left: 3px solid var(--gold); margin: 1.2em 0; padding: .4em 0 .4em 1em; color: var(--navy); background: var(--soft); }

.btn, .content .btn {
	display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
	padding: 11px 20px; border-radius: 10px; font-weight: 600;
	transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover, .content .btn:hover { background: var(--gold); color: var(--navy); box-shadow: 0 6px 16px rgba(25,46,80,.18); }
.btn:active, .content .btn:active { transform: translateY(1px); box-shadow: none; }
/* .btn--ghost — used by the account templates (login/logout/reset), a
   plain outlined variant distinct from the page-builder's own
   .block__btn--ghost (kept separate since the builder's button widths/
   paddings are independently configurable). */
.btn--ghost, .content .btn--ghost {
	background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 9px 18px;
}
.btn--ghost:hover, .content .btn--ghost:hover { background: var(--navy); color: #fff; box-shadow: none; }

/* Account pages (login/register/forgot/reset/logout) */
.account-page { max-width: 460px; }
.account-form { margin-top: 8px; }
.hint { color: var(--ink); opacity: .85; font-size: 14px; margin-top: 18px; }
.hint a { font-weight: 600; }

/* Post meta + list */
.post__meta, .postcard__meta { color: var(--ink); font-size: 14px; }
.postlist { display: grid; gap: 22px; }
.postcard { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; transition: box-shadow .15s ease, transform .15s ease; background: var(--paper); }
.postcard:hover { box-shadow: 0 10px 28px rgba(25, 46, 80, .10); transform: translateY(-2px); }
.postcard__title { margin: 4px 0 8px; font-size: 1.4rem; }
.postcard__title a { color: var(--navy); }
.postcard__title a:hover { color: var(--gold-ink); }
.postcard__excerpt { margin: 0 0 10px; }
.postcard__more { font-weight: 600; color: var(--gold-ink); }
.postcard__thumb { display: block; margin: 0 0 14px; border-radius: 10px; overflow: hidden; }
.postcard__thumb img { display: block; width: 100%; height: 220px; object-fit: cover; }

/* Featured image (single page/post) */
.post__image, .page > .post__image {
	width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin: 0 0 24px;
}

/* Category / tag chips */
.post__cats, .post__tags { margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
	display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: var(--soft); color: var(--navy); text-decoration: none;
}
.chip:hover { background: var(--gold); color: var(--navy); }
.chip--tag { background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.chip--tag:hover { border-color: var(--gold); color: var(--gold-ink); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.pagination__status { color: var(--ink); font-size: 14px; }
.pagination__prev, .pagination__next { font-weight: 600; color: var(--navy); }
.pagination__prev:hover, .pagination__next:hover { color: var(--gold-ink); }

/* 404 */
.notfound { text-align: center; padding: 60px 0; }
.notfound__code { font-size: 4rem; font-weight: 800; color: var(--gold); margin: 0; }
.notfound h1 { color: var(--navy); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--navy); color: #dfe6f1; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer__claim { color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }

@media (max-width: 620px) {
	.site-header .wrap { position: relative; flex-wrap: wrap; }
	.nav-toggle-label {
		display: flex; align-items: center; justify-content: center;
		width: 40px; height: 40px; margin-left: auto; border-radius: 8px; cursor: pointer;
	}
	.nav-toggle-label:hover { background: var(--soft); }
	.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
		content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
		transition: transform .2s ease, opacity .2s ease;
	}
	.nav-toggle-label span { position: relative; }
	.nav-toggle-label span::before { position: absolute; top: -7px; }
	.nav-toggle-label span::after { position: absolute; top: 7px; }
	.nav-toggle-input:checked + .nav-toggle-label span { background: transparent; }
	.nav-toggle-input:checked + .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
	.nav-toggle-input:checked + .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }
	.nav-toggle-input:focus-visible + .nav-toggle-label { outline: 2px solid var(--gold); outline-offset: 2px; }

	.site-nav { display: none; width: 100%; order: 3; margin-top: 10px; }
	.nav-toggle-input:checked ~ .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; gap: 2px; }
	.site-nav .menu__item a { display: block; padding: 12px 14px; }
	.lang-switch { order: 4; width: 100%; margin-left: 0; margin-top: 8px; }
}

/* Dark mode — respected only via the OS-level media query (no per-visitor
   toggle UI). Swaps only the structural neutrals; --navy/--gold stay as
   the site's configurable brand colours (same approach as the minimal/
   modern themes' dark-mode blocks) since those come from the customizer
   and aren't ours to repaint for contrast. */
@media (prefers-color-scheme: dark) {
	:root {
		--ink: #c7cede;
		--paper: #10151f;
		--soft: #171e2c;
		--line: #29334a;
	}
	.postcard, .pricing-card, .accordion__item, .tabs__panel, .comment,
	.block--accordion .accordion__item, .video-embed__frame { background: var(--paper); }
	.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea,
	.yjar-form input[type=text], .yjar-form input[type=email], .yjar-form input[type=date], .yjar-form textarea, .yjar-form select {
		background: var(--soft); color: var(--ink);
	}
}

/* Comments */
.comments { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments__title { color: var(--navy); margin: 0 0 16px; }
.comments__empty { color: var(--ink); opacity: .8; }
.comments__hint { font-size: 13px; color: var(--ink); opacity: .75; margin: 8px 0 0; }
.comments__notice { padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 0 0 18px; }
.comments__notice--ok { background: #e3f3e8; color: #1c6b3a; }
.comments__notice--err { background: #fce4e2; color: #c0392b; }
.comments__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.comment { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--soft); }
.comment__meta { margin: 0 0 6px; font-size: 13px; color: var(--ink); opacity: .8; }
.comment__body { margin: 0; white-space: pre-wrap; word-wrap: break-word; }

.comment-form { max-width: 560px; }
.comment-form label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin: 14px 0 5px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.comment-form textarea { resize: vertical; line-height: 1.5; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,155,39,.18); }
.comment-form button { margin-top: 16px; border: none; cursor: pointer; }
/* Honeypot: present in the DOM (so a bot's naive "fill every field" scraper
   still finds it) but invisible and unreachable for a real visitor — off
   canvas rather than display:none/visibility:hidden, which some spam bots
   already know to skip. */
.comment-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Forms-builder plugin (plugins/forms-builder/): a form rendered from the
   {{form:id}} content tag. Same honeypot technique/class name convention
   as .comment-form__hp above — off-canvas, not display:none. */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.yjar-form .form-field { margin: 14px 0; }
.yjar-form label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.yjar-form input[type=text], .yjar-form input[type=email], .yjar-form textarea, .yjar-form select {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.yjar-form textarea { resize: vertical; line-height: 1.5; min-height: 100px; }
.yjar-form .form-field--checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.yjar-form button { margin-top: 10px; border: none; cursor: pointer; }

/* Booking plugin (plugins/booking/): the {{booking}} widget. Its <form>
   carries .yjar-form, so labels/inputs above already apply; this adds the
   date input (not covered by the type list above), the slot chips the
   inline script builds, and the status/notice lines. */
.yjar-booking { max-width: 560px; }
.yjar-form input[type=date] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px;
	font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.yjar-booking__notice { padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 0 0 18px; }
.yjar-booking__notice--ok { background: #e3f3e8; color: #1c6b3a; }
.yjar-booking__notice--err { background: #fce4e2; color: #c0392b; }
.yjar-booking__service { margin: 0 0 14px; color: var(--ink); }
.yjar-booking__desc { font-size: 14px; opacity: .85; }
.yjar-booking__tz { font-weight: 400; font-size: 12px; opacity: .75; }
.yjar-booking__status, .yjar-booking__hint { margin: 8px 0 6px; font-size: 14px; color: var(--ink); opacity: .85; }
.yjar-booking__slotlist { display: flex; flex-wrap: wrap; gap: 8px; }
.yjar-booking__slot {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
	cursor: pointer; font-weight: 600; font-size: 14px; color: var(--navy); background: var(--paper);
}
.yjar-booking__slot:hover { border-color: var(--gold); }
.yjar-booking__slot:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.yjar-booking__slot input { margin: 0; accent-color: var(--gold); }

/* ===================================================================
   Page-builder blocks (plugins/page-builder/, model in lib/blocks.js).
   Covers the original heading/text/image/columns/button/spacer/html set
   plus the newer gallery/testimonial/pricing-table/accordion/tabs/
   video-embed/icon-list/divider types. A record without `blocks` (or with
   the rendering plugin disabled) uses none of this — see README.md's
   "Visueller Editor (Blöcke)" section.
   =================================================================== */
.block { margin: 0 0 24px; }
.block:last-child { margin-bottom: 0; }
.block--heading { color: var(--navy); }
.block--image img { display: block; }
.block--image figcaption { margin-top: 8px; font-size: 14px; color: var(--ink); opacity: .85; }
.block--spacer { margin: 0; }

.block__btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.block__btn--primary { background: var(--navy); color: #fff; }
.block__btn--primary:hover { background: var(--gold); color: var(--navy); }
.block__btn--secondary { background: var(--soft); color: var(--navy); }
.block__btn--secondary:hover { background: var(--gold); color: var(--navy); }
.block__btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 9px 20px; }
.block__btn--ghost:hover { border-color: var(--gold); color: var(--gold-ink); }

/* Columns — CSS grid on desktop; see the "Responsive block overrides"
   section below for the mobile-stacking breakpoint. `--cols` is a
   server-clamped integer (1-6), never user-controlled free text. */
.block--columns { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 2), 1fr); align-items: start; }
.block__col > .block:last-child { margin-bottom: 0; }

/* Gallery */
.block--gallery { display: grid; gap: 14px; grid-template-columns: repeat(var(--gallery-cols, 3), 1fr); }
.gallery__item { margin: 0; }
.gallery__item img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }

/* Testimonial */
.block--testimonial { margin: 0 0 24px; padding: 26px 28px; border-radius: 14px; background: var(--soft); border-left: 4px solid var(--gold); }
.testimonial__quote { margin: 0 0 16px; font-size: 1.15em; color: var(--navy); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial__who { display: flex; flex-direction: column; }
.testimonial__name { font-weight: 700; color: var(--navy); }
.testimonial__role { font-size: 13px; color: var(--ink); opacity: .8; }

/* Pricing table */
.block--pricing-table { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.pricing-card--featured { border-color: var(--gold); box-shadow: 0 10px 28px rgba(213, 155, 39, .18); }
.pricing-card__title { margin: 0 0 6px; color: var(--navy); }
.pricing-card__price { margin: 0 0 16px; font-size: 1.6em; font-weight: 700; color: var(--navy); }
.pricing-card__features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; display: grid; gap: 8px; }
.pricing-card__features li { padding-left: 22px; position: relative; }
.pricing-card__features li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 700; }
.pricing-card__cta { text-align: center; }

/* Accordion — native <details>/<summary>, CSS-only toggle, no JS. */
.block--accordion { display: grid; gap: 10px; }
.accordion__item { border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; background: var(--paper); }
.accordion__summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy); list-style: none; }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--gold-ink); font-weight: 700; }
.accordion__item[open] > .accordion__summary::before { content: "\2013"; }
.accordion__content { padding: 0 0 16px; }
.accordion__content p:last-child { margin-bottom: 0; }

/* Tabs — pure-CSS radio-button technique (see plugins/page-builder/
   index.js's `renderBlock()` for the markup), no JS. The nav row is
   pulled to the top purely via flex `order`, even though radios/labels/
   panels are interleaved in source order (one <input>+<label>+<panel>
   triplet per tab) — that interleaving is what lets a plain sibling
   selector show only the panel following a :checked radio. */
.block--tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tabs__radio { position: absolute; opacity: 0; width: 1px; height: 1px; order: 0; }
.tabs__label { order: 1; padding: 13px 20px; cursor: pointer; font-weight: 600; color: var(--navy); background: var(--soft); border-bottom: 3px solid transparent; }
.tabs__label:hover { color: var(--gold-ink); }
.tabs__radio:checked + .tabs__label { background: var(--paper); border-bottom-color: var(--gold); }
.tabs__radio:focus-visible + .tabs__label { outline: 2px solid var(--gold); outline-offset: -2px; }
.tabs__panel { order: 9; display: none; width: 100%; padding: 22px; background: var(--paper); }
.tabs__radio:checked + .tabs__label + .tabs__panel { display: block; }

/* Icon list — SVG markup comes from a small hardcoded allowlist in
   plugins/page-builder/index.js (ICON_SVGS), never user-supplied. */
.block--icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.icon-list__item { display: flex; align-items: flex-start; gap: 10px; }
.icon-list__icon { flex: none; color: var(--gold-ink); margin-top: 2px; }
.icon-list__icon svg { display: block; }

/* Divider — distinct from the plain spacer: an actual styled rule, not
   just blank space. `--divider-width`/`--divider-spacing` are server-
   clamped numbers (10-100 / 0-120), never free text. */
.block--divider { border: none; border-top-style: solid; border-top-width: 2px; border-top-color: var(--line); width: var(--divider-width, 100%); margin: var(--divider-spacing, 24px) auto; }
.block--divider-dashed { border-top-style: dashed; }
.block--divider-dotted { border-top-style: dotted; }

/* Video embed — the iframe `src` is always plugins/page-builder/
   index.js's buildVideoEmbedSrc() output (youtube-nocookie.com /
   player.vimeo.com only), never the pasted URL — see lib/blocks.js. */
.block--video-embed { margin: 0 0 24px; }
.video-embed__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.video-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Responsive block overrides (lib/blocks.js's `responsive`/`stackOnMobile`
   fields) — plain utility classes generated onto the block wrapper by the
   renderer, one shared breakpoint, no JS, no per-block inline <style>
   blocks. `.block--columns-keep` is the opt-out for a columns block whose
   editor explicitly wants the side-by-side layout preserved on mobile. */
@media (max-width: 680px) {
  .u-hide-mobile { display: none !important; }
  .block--columns { grid-template-columns: 1fr; }
  .block--columns.block--columns-keep { grid-template-columns: repeat(var(--cols, 2), 1fr); }
}
@media (min-width: 681px) {
  .u-hide-desktop { display: none !important; }
}

/* Entrance animations (see /theme/block-animations.js and README.md's
   "Eingangsanimationen" section). The trigger script adds `can-animate` to
   <html> ONLY when JavaScript actually ran, IntersectionObserver exists,
   AND the visitor has not requested reduced motion — every rule below is
   scoped under that class, so with JS disabled (or an old browser, or
   reduced-motion active) [data-animate] blocks simply keep their normal,
   fully visible, non-offset default state. Content is never hidden by CSS
   alone; only JS-confirmed-safe browsers ever see the hidden/offset start
   state in the first place. */
html.can-animate [data-animate] { transition: opacity .6s ease, transform .6s ease; }
html.can-animate [data-animate="fade-in"] { opacity: 0; }
html.can-animate [data-animate="slide-up"] { opacity: 0; transform: translateY(28px); }
html.can-animate [data-animate].is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.can-animate [data-animate] { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Booking widget dark mode — deliberately a SEPARATE, later media block
   rather than folded into the one near the top of this file: this widget's
   own base rules (color: var(--navy) on labels/slot chips, further down
   than that first block) come AFTER it in source order, so at equal
   specificity they would win regardless of colour scheme — the exact
   invisible-text bug already fixed once in the modern theme (git: "Fix
   invisible dark-mode text"), just caused by file position instead of the
   variable itself this time. Found and fixed 15.09.2026 via a real browser
   check (computed style was navy-on-navy despite the guard already present
   in the earlier block). --navy/--gold stay the customizer's brand colours
   here too; only the TEXT/background usages that would collide with the
   dark --paper are repainted. */
@media (prefers-color-scheme: dark) {
	.yjar-booking label, .yjar-booking__slot { color: var(--ink); }
	.yjar-booking__slot { background: var(--soft); }
	.yjar-booking__slot:has(input:checked) { background: var(--gold); color: #10151f; border-color: var(--gold); }
}

/* Erklärung zur Barrierefreiheit (/barrierefreiheit, see lib/accessibility.js)
   + footer link. Base rules first, then their OWN dark-mode block directly
   below — kept at the very end of the file for the same source-order
   reason as the booking block above. */
.site-footer__legal { margin-top: 6px !important; font-size: 13px; width: 100%; }
.site-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.a11y-statement { max-width: 760px; }
.a11y-statement__section { margin-bottom: 1.8em; }
.a11y-statement__facts, .a11y-scan__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; }
.a11y-statement__facts div, .a11y-scan__facts div { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.a11y-statement__facts dt, .a11y-scan__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); opacity: .8; }
.a11y-statement__facts dd, .a11y-scan__facts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.15em; color: var(--navy); }
.a11y-statement__contact { font-style: normal; background: var(--soft); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.a11y-scan__table { width: 100%; border-collapse: collapse; font-size: .95em; margin: 0 0 12px; }
.a11y-scan__table caption { text-align: left; font-weight: 600; color: var(--navy); padding: 0 0 6px; }
.a11y-scan__table th, .a11y-scan__table td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.a11y-scan__table th[scope="row"] { font-weight: 600; color: var(--navy); }
.a11y-scan__table .num { text-align: right; white-space: nowrap; }
.a11y-scan__note { font-size: .9em; color: var(--ink); opacity: .85; }
@media (prefers-color-scheme: dark) {
	.a11y-statement__facts dd, .a11y-scan__facts dd, .a11y-scan__table caption, .a11y-scan__table th[scope="row"] { color: var(--ink); }
}

/* Pre-existing gap found 15.09.2026 while checking the accessibility
   statement page in a real dark-mode browser: this theme's headings/links/
   labels/card titles use `color: var(--navy)` sitting on `--paper`/`--soft`
   backgrounds — both of which DO switch to dark in the block at the top of
   this file — but --navy itself is deliberately never repainted (it is the
   customizer's brand colour, same reasoning as the modern/minimal themes'
   dark blocks). Nothing in this file ever overrode the TEXT usages, so
   every one of these was navy-on-near-black: unreadable. This is not new
   damage from the accessibility/booking features — .page__title and
   .content h2 are exactly as old as the theme itself — the new statement
   page's heading-heavy layout just made it impossible to miss. --navy's
   BACKGROUND usages (site-footer, the active language chip, a checked
   booking slot) already pair it with explicit light text and are correct
   as-is; only the text/border usages below needed fixing. Kept as its own,
   final block for the same source-order reason as the two dark blocks
   above it. */
@media (prefers-color-scheme: dark) {
	a,
	.brand, .brand:hover,
	.menu__item a,
	.lang-switch__item,
	.page__title, .post__title,
	.content h2, .content h3, .content .lead, .content blockquote,
	.postcard__title a, .chip,
	.pagination__prev, .pagination__next,
	.notfound h1,
	.comments__title,
	.comment-form label, .yjar-form label,
	.block--heading, .block__btn--secondary,
	.testimonial__quote, .testimonial__name,
	.pricing-card__title, .pricing-card__price,
	.accordion__summary, .tabs__label {
		color: var(--ink);
	}
	.btn--ghost, .content .btn--ghost, .block__btn--ghost {
		color: var(--ink);
		border-color: var(--ink);
	}
}
