/* Gemeinsame Bausteine 0.8 – keine beitragsspezifischen Layoutausnahmen. */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400; }
input, textarea, select, button { font: inherit; }
textarea { resize: vertical; }
button, input[type=submit], summary { cursor: pointer; }
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible { outline: 3px solid #825414; outline-offset: 4px; }
.st-footer a:focus-visible, .st-top-banner a:focus-visible { outline-color: #f5f1e8; }
.st-article-body { overflow-wrap: break-word; font-size: 18px; line-height: 1.8; }
.st-article-body > p { margin-block: 0 1.25em; }
.st-article-body :is(h2,h3,h4) { clear: both; text-wrap: balance; scroll-margin-top: 24px; }
.st-article-body > h2 { margin: 2em 0 .7em; font-size: clamp(25px,3vw,33px); line-height: 1.25; }
.st-article-body > h3 { margin: 1.6em 0 .65em; font-size: 24px; line-height: 1.3; }
.st-article-body :is(ul,ol) { padding-left: 1.4em; }
.st-article-body li + li { margin-top: .4em; }
.st-article-body :is(figure.wp-caption,figure.st-inline-photo,.wp-block-image) {
    display: table; float: none; clear: both; width: min(100%,var(--st-photo-desktop-width,720px)); max-width: 100%;
    margin: 28px auto !important; padding: 0; text-align: center;
}
.st-article-body :is(figure.wp-caption,figure.st-inline-photo,.wp-block-image) img {
    display: block; width: 100%; max-width: 100%; height: auto !important; aspect-ratio: auto var(--st-photo-ratio,1 / 1);
    max-height: 720px; margin: 0 auto !important; object-fit: contain; border-radius: 12px;
}
.st-article-body :is(figcaption,.wp-caption-text) {
    display: table-caption; caption-side: bottom; padding-top: 10px;
    font-size: 14px; line-height: 1.55; color: #53636e; text-align: center;
}
.st-article-body .st-photo-gallery { gap: 20px; }
.st-article-body .st-photo-gallery :is(figure.st-inline-photo,img) { max-height: none; }
.st-article-body :is(table,.st-table-scroll) { max-width: 100%; }
.st-article-body .st-table-scroll { overflow-x: auto; margin-block: 24px; }
.st-article-body .st-table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.st-article-body .st-table-scroll :is(td,th) { padding: 10px 12px; border-bottom: 1px solid #c7b58f; text-align: left; vertical-align: top; }
.st-article-body .st-toc { margin: 0 0 28px; }

/* Ein Rahmen um das echte Formular; der native MailPoet-Wrapper bleibt neutral. */
.st-newsletter-placement { padding-block: 32px; width: 100%; }
.st-newsletter-frame { display: block; width: 100%; max-width: 850px; height: 280px; margin: 0 auto; border: 0; background: transparent; }
body:has(.st-newsletter-embed) { margin: 0; background: transparent; }
.st-newsletter-placement.st-newsletter-embed { margin: 0; padding: 0; max-width: none; }
.st-newsletter-frame-disabled { display: contents; }
.st-newsletter-embed .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.st-newsletter-placement :is(.mailpoet_form_shortcode,.mailpoet_form_iframe):not(form) {
    display: block; width: 100%; max-width: 850px; margin: 0 auto; padding: 0;
    min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.st-newsletter-placement :is(.mailpoet_form_shortcode:not(form),.mailpoet_form_iframe:not(form),form)::after { display: none; }
.st-newsletter-placement :is(form.mailpoet_form_form,#st-newsletter-preview) {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px;
    width: 100%; max-width: 850px; margin: 0 auto; padding: 26px 28px;
    border: 1px solid #c7b58f; border-radius: 18px; background: #eee6d6; color: #243b53;
    font-family: inherit; min-height: 0; box-shadow: none;
}
.st-newsletter-placement #st-newsletter-preview > fieldset { display: contents; }
.st-newsletter-placement :is(form.mailpoet_form_form,#st-newsletter-preview) > :is(br,p:empty,input[type=hidden]),
.st-newsletter-placement p:has(.mailpoet_hp_email_label) { display: none; }
.st-newsletter-placement .mailpoet_form h2 {
    display: flex; align-items: center; position: relative; grid-column: 1 / -1;
    min-height: 58px; margin: 0 0 2px !important; padding: 0 76px 0 0;
    font-family: Georgia,serif; font-size: clamp(24px,2.8vw,30px) !important; font-weight: 400; line-height: 1.2 !important;
}
.st-newsletter-placement .mailpoet_form h2::after {
    content: ""; position: absolute; width: 58px; height: 58px; top: 50%; right: 0;
    transform: translateY(-50%); background: url('kompass-sonne-gebirge-v6a-preview.png') center/contain no-repeat;
}
.st-newsletter-placement .mailpoet_form .mailpoet_paragraph {
    display: flex; flex-direction: column; justify-content: end; align-self: stretch;
    width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
}
.st-newsletter-placement .mailpoet_paragraph:has(input[type=email]) { grid-column: 1; }
.st-newsletter-placement .mailpoet_paragraph:has(.mailpoet_submit) { grid-column: 2; }
.st-newsletter-placement .mailpoet_text_label { margin: 0 0 6px; font-size: 14px; line-height: 1.4; font-weight: 600; }
.st-newsletter-placement .mailpoet_form input.mailpoet_text {
    width: 100%; min-height: 48px; margin: 0 !important; padding: 10px 12px !important;
    font-size: 16px; border: 1px solid #a8b3bb; border-radius: 8px; background: #fff; color: #243b53;
}
.st-newsletter-placement .mailpoet_form .mailpoet_submit {
    width: auto; min-height: 48px; margin: 0 !important; padding: 10px 18px !important;
    font-size: 15px !important; font-weight: 650; border: 1px solid #243b53; border-radius: 8px;
    background: #243b53; color: #fff; white-space: normal; line-height: 1.4;
}
.st-newsletter-placement .mailpoet_form .mailpoet_submit:hover { background: #825414; }
.st-newsletter-placement .mailpoet_form :is(.mailpoet_form_paragraph,.mailpoet_message) {
    grid-column: 1 / -1; margin: 0; font-size: 13px !important; line-height: 1.6 !important; color: #53636e;
}
.st-newsletter-placement .mailpoet_message:empty { display: none; }
.st-newsletter-placement .mailpoet_message:has(> .mailpoet_validate_success[style*="none"]):has(> .mailpoet_validate_error[style*="none"]) { display: none; }
.st-newsletter-placement .mailpoet_message p:empty { display: none; }
.st-newsletter-placement .mailpoet_form a { color: #825414; }
.st-directory-closing { clear: both; max-width: 920px; margin: 36px auto 0; }
.st-directory-closing .st-newsletter-placement { max-width: none; padding: 0 0 18px; }
.st-directory-closing .st-newsletter-placement :is(form.mailpoet_form_form,#st-newsletter-preview,.mailpoet_form_shortcode:not(form)) { max-width: none; }
.st-shop-strip {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; border-top: 1px solid #c7b58f; font-size: 14px; line-height: 1.6;
}
.st-shop-strip .st-ad-label { display: block; color: #53636e; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.st-shop-strip p { margin: 3px 0 0; }
.st-shop-strip .st-shop-action { flex-shrink: 0; margin: 0; }
.st-shop-strip .st-shop-action a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 650; padding-block: 10px; }

/* Ein gemeinsamer Aufbau für alle vier bildgestützten Werbeformen. */
.st-ad-panel { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.st-ad-panel > :is(h2,p) { margin: 0 !important; max-width: 52ch; }
:is(.st-ad,.st-collection-showcase,.st-motif-banner,.st-compact-ad) .st-ad-panel > h2 {
    max-width: 28ch; font-size: clamp(24px,2.3vw,31px) !important; font-weight: 400;
    line-height: 1.22 !important; text-wrap: balance; padding: 0 !important; background: none !important; border: 0 !important;
}
.st-ad-panel > p { font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.st-ad-panel .st-ad-disclosure {
    align-self: center; display: inline-block; max-width: 100%; padding: 5px 11px;
    border: 1px solid #b69b65; border-radius: 24px; background: #f5f1e8; color: #243b53;
    font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: .08em;
}
.st-ad-panel .st-product-type { font-size: 13px; color: #53636e; }
.st-ad-panel .st-ad-action { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
.st-ad-action > p { width: 100%; margin: 0 !important; padding: 0; text-align: center; }
.st-ad-panel .st-ad-action .st-shop-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    width: min(100%,210px); min-height: 48px; margin: 0; padding: 12px 20px;
    border: 1px solid #243b53; border-radius: 10px; background: #243b53; color: #fff;
    font-size: 15px; font-weight: 650; line-height: 1.4; text-align: center; white-space: normal; text-decoration: none;
}
.st-ad-panel .st-ad-fineprint { max-width: 48ch; color: #53636e; font-size: 13px; line-height: 1.55; }
.st-ad-panel .st-ad-fineprint small { display: block; margin: 0; color: inherit; font: inherit; }
.st-ad-panel .st-ad-action .st-shop-link:is(:hover,:focus-visible) { background: #825414; border-color: #825414; color: #fff; }
.st-ad-panel .st-ad-arrow { flex-shrink: 0; }
.st-collection-copy { padding: 24px 28px; }
.st-collection-visuals { padding: 20px; }
.st-motif-banner { grid-template-columns: minmax(0,1fr) minmax(180px,38%); padding: 26px; }
.st-motif-banner > .st-motif-image { width: 100%; min-width: 0; margin: 0 !important; }
.st-motif-banner > .st-motif-image img { margin: 0; max-height: 330px; object-fit: contain; }
.st-feed-shop > :is(h2,p,.st-eyebrow),.st-home-shop > :is(h2,p,.st-eyebrow) { margin-inline: auto; text-align: center; }
.st-feed-shop > h2 { max-width: 30ch; margin-block: 8px 12px; text-wrap: balance; }
.st-feed-shop > p:not(.st-eyebrow) { max-width: 64ch; margin-bottom: 24px; font-size: 16px; line-height: 1.65; }
.st-shop-grid > .st-motif-banner { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.st-shop-grid .st-motif-banner > .st-motif-image { order: -1; max-width: none; padding: 20px 24px 8px; }
.st-shop-grid .st-motif-banner > .st-motif-image img { width: 100%; height: 260px !important; max-height: none; aspect-ratio: auto; object-fit: contain; }
.st-shop-grid .st-motif-banner > .st-ad-panel { flex: 1; padding: 20px 24px 28px; }
.st-shop-grid .st-ad-panel .st-ad-action { margin-top: auto; padding-top: 8px; }
.st-top-banner .st-wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 24px; padding-block: 2px; text-align: center; }
.st-top-banner a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 12px; font-weight: 650; }
.st-article-shop-note { width: calc(100% - 64px); max-width: 850px; margin: 0 auto 28px; padding: 0; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .st-ad-action .st-shop-link { transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
    .st-ad-action .st-ad-arrow { transition: transform .18s ease; }
    .st-ad-action .st-shop-link:is(:hover,:focus-visible) { transform: translateY(-1px); }
    .st-ad-action .st-shop-link:is(:hover,:focus-visible) .st-ad-arrow { transform: translateX(2px); }
}
@media (hover:none), (prefers-reduced-motion:reduce) {
    :is(.st-ad-image,.st-collection-visuals) img,.st-motif-banner > .st-motif-image,.st-compact-ad > img,
    .st-ad-action .st-shop-link,.st-ad-action .st-ad-arrow { transform: none !important; transition: none !important; }
}

/* Kommentare: eine Überschrift, ein Hinweis, komfortable Eingaben. */
.st-comments { max-width: 850px; padding: 26px 28px; margin: 32px auto 48px; border: 1px solid #b8c6cd; border-radius: 18px; }
.st-comments > h2 { margin: 0 0 8px; font-size: 29px; }
.st-comments > p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.st-comments .comment-reply-title { margin: 20px 0 12px; font-size: 22px; }
.st-comments fieldset { display: contents; }
.st-comments .comment-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.st-comments .comment-form > p { margin: 0; }
.st-comments .comment-form :is(.comment-form-comment,.comment-notes,.logged-in-as,.form-submit,.st-comment-privacy) { grid-column: 1 / -1; }
.st-comments .comment-form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.st-comments .comment-form :is(input:not([type=hidden]):not([type=submit]),textarea) {
    display: block; width: 100%; padding: 11px 12px; margin: 0; border: 1px solid #a8b3bb;
    background: #fff; color: #243b53; border-radius: 8px; font-size: 16px; line-height: 1.5;
}
.st-comments .comment-form textarea { height: 132px; min-height: 110px; }
.st-comments .comment-form .submit { min-height: 46px; border: 0; border-radius: 8px; padding: 11px 18px; background: #243b53; color: #fff; font-size: 15px; }
.st-comments .comment-form .form-submit { display: flex; align-items: flex-start; }
.st-comments .comment-form .submit { margin-top: 0; }
.st-comments :is(.form-submit br,p:has(> br:only-child)) { display: none; }
.st-comments .st-comment-privacy { font-size: 12px; line-height: 1.6; color: #53636e; }
.st-comments .comment-form .st-comment-privacy { order: 3; }
.st-comments .comment-form .form-submit { order: 4; }
.st-comments .st-contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); }
.st-comments .st-comment-list { padding-left: 0; list-style: none; }
.st-comments .comment-body { padding: 18px 0; border-bottom: 1px solid #b8c6cd; }
.st-comments .comment-content p { margin: 8px 0; }
.st-comments .comment-reply-link { font-size: 13px; }

/* Kontakt und Footer teilen dieselben Maße wie die übrigen Eingaben. */
.st-legal:has(.st-contact-form) { padding-top: 38px; }
.st-legal:has(.st-contact-form) > h1 { margin: 0 0 20px; }
.st-contact-form { padding: 26px 28px; border-radius: 18px; }
.st-contact-form > h2 { margin: 0 0 10px; font-size: 30px; }
.st-contact-form > p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; }
.st-contact-form .wpcf7-form p { margin: 0 0 18px; }
.st-contact-form .wpcf7-form textarea { min-height: 150px; height: 170px; }
.st-contact-form .wpcf7-form :is(input:not([type=checkbox]):not([type=submit]),textarea) { border-radius: 8px; font-size: 16px; }
.st-contact-form .wpcf7-submit { min-height: 48px; border-radius: 8px; }
.st-contact-form .wpcf7-list-item { margin: 0; }
.st-contact-form .st-contact-newsletter label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; line-height: 1.6; }
.st-contact-newsletter input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.st-contact-newsletter small { display: block; margin: 6px 0 0 28px; font-size: 12px; line-height: 1.6; color: #53636e; }
.st-legal-updated { margin-top: 28px; font-size: 13px; color: #53636e; }
.st-footer { margin-top: 36px; padding: 28px 0 18px; }
.st-footer .st-footer-top { gap: 24px; }
.st-footer .st-footer-top > div > p { margin: 10px 0 0; font-size: 13px; line-height: 1.6; }
.st-footer .st-footer-top nav { gap: 6px 20px; align-content: start; }
.st-footer .st-footer-top nav a { padding-block: 6px; font-size: 13px; }
.st-footer .st-social-links { margin: 20px 0 0; gap: 16px; padding: 0; }
.st-footer .st-social-links a { min-height: 36px; }
.st-footer .st-footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; font-size: 11px; }

/* Complianz behält seine Zustandssteuerung; nur die vorhandenen Elemente gestalten. */
#cmplz-cookiebanner-container .cmplz-cookiebanner { width: min(440px,calc(100vw - 24px)); min-width: 0; padding: 22px; border: 1px solid #c7b58f; border-radius: 16px; background: #f5f1e8; color: #243b53; font-family: inherit; box-shadow: 0 12px 45px #17283930; }
#cmplz-manage-consent button.cmplz-manage-consent { bottom: 12px; right: 16px; height: auto; min-height: 44px; padding: 10px 14px; border: 1px solid #b8c6cd; border-radius: 8px; background: #f5f1e8; color: #243b53; font-size: 12px; transform: none; animation: none; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body { min-width: 0; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header { grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 8px; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-logo { display: none; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title { font-size: 20px; font-weight: 650; color: #243b53; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title { display: block; grid-column: 1; text-align: left; }
#cmplz-cookiebanner-container .cmplz-cookiebanner :is(.cmplz-message,.cmplz-category-title) { font-size: 14px; line-height: 1.65; color: #243b53; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn { min-height: 44px; padding: 10px 12px; border: 1px solid #243b53; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; background: #f5f1e8; color: #243b53; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #243b53; color: #fff; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-view-preferences { grid-column: 1 / -1; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links { font-size: 12px; }
#cmplz-cookiebanner-container .cmplz-cookiebanner :is(.cmplz-links,.cmplz-documents) ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 8px 0 0; padding: 0; list-style: none; }
#cmplz-cookiebanner-container .cmplz-cookiebanner :is(.cmplz-links,.cmplz-documents) a { color: #243b53; font-size: 12px; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close { display: flex; grid-column: 2; align-items: center; justify-content: center; width: 44px; height: 44px; color: #243b53; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close svg { display: block; width: 14px; height: 18px; }

@media (max-width: 700px) {
    .st-shop-grid { grid-template-columns: 1fr; }
    .st-article-body { font-size: 17px; line-height: 1.75; }
    .st-article-body :is(figure.wp-caption,figure.st-inline-photo,.wp-block-image) { width: min(100%,var(--st-photo-width,720px)); margin-block: 22px !important; }
    .st-article-body :is(figure.wp-caption,figure.st-inline-photo,.wp-block-image) img { max-height: none; }
    .st-motif-banner { grid-template-columns: 1fr; padding: 22px; }
    .st-motif-banner > .st-motif-image { grid-row: 1; max-width: 260px; justify-self: center; }
    .st-motif-banner > div { grid-row: 2; }
    .st-collection-copy { padding: 22px; }
    .st-comments { width: calc(100% - 32px); padding: 22px 20px; }
    .st-comments .comment-form { grid-template-columns: minmax(0,1fr); }
    .st-comments .comment-form > p { grid-column: 1; }
    .st-footer .st-footer-top { flex-direction: column; gap: 16px; }
    .st-footer .st-footer-bottom { gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 540px) {
    .st-shop-grid .st-motif-banner > .st-motif-image img { height: 224px !important; }
    .st-article-shop-note { width: calc(100% - 32px); }
    .st-newsletter-frame { height: 430px; }
    .st-newsletter-placement { padding: 24px 16px; }
    .st-newsletter-placement :is(form.mailpoet_form_form,#st-newsletter-preview) { grid-template-columns: minmax(0,1fr); padding: 22px 20px; border-radius: 14px; }
    .st-newsletter-placement .mailpoet_form h2 { font-size: 25px !important; min-height: 52px; padding-right: 64px; }
    .st-newsletter-placement .mailpoet_form h2::after { width: 48px; height: 48px; }
    .st-newsletter-placement .mailpoet_paragraph:has(.mailpoet_submit) { grid-column: 1; }
    .st-newsletter-placement .mailpoet_form .mailpoet_submit { width: 100%; }
    .st-shop-strip { align-items: flex-start; flex-direction: column; gap: 3px; padding: 14px 4px; }
    .st-contact-form { padding: 22px 20px; }
    #cmplz-cookiebanner-container .cmplz-cookiebanner { padding: 18px; max-height: calc(100dvh - 24px); overflow-y: auto; }
}
