
/* Rechtliche Footer-Links */
.nw-legal-links{display:flex!important;gap:1.2rem;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:12px;font-size:14px;line-height:1.6}
.nw-legal-links a{color:inherit!important;text-decoration:underline!important;text-underline-offset:3px}
/* Cookie-Hinweis: aktuell nur technisch notwendige Speicherung der Auswahl */
.nw-cookie-banner{position:fixed;z-index:2147483646;left:16px;right:16px;bottom:16px;max-width:670px;margin:auto;background:#fff;color:#222;border:1px solid #bbb;box-shadow:0 6px 30px #0005;padding:20px 22px;font:15px/1.5 Arial,sans-serif;border-radius:4px}
.nw-cookie-banner[hidden]{display:none!important}.nw-cookie-banner p{margin:8px 0 14px}.nw-cookie-banner a{color:#222;text-decoration:underline}.nw-cookie-actions{display:flex;gap:10px;flex-wrap:wrap}.nw-cookie-actions button{background:#262626;color:#fff;border:0;padding:10px 18px;min-height:44px;cursor:pointer;font:inherit}.nw-cookie-actions button:focus-visible{outline:3px solid #777;outline-offset:2px}
@media(max-width:480px){.nw-cookie-banner{left:8px;right:8px;bottom:8px;padding:15px}.nw-cookie-actions button{width:100%}}

/* V3: dezente Gestaltung passend zur zurückhaltenden Immobilienseite */
.nw-cookie-banner{background:#f8f7f3;color:#303534;border:1px solid #b7b9b2;border-top:4px solid #758476;box-shadow:0 12px 36px #0004;border-radius:5px}
.nw-cookie-banner strong{font-size:19px;font-weight:600}
.nw-cookie-banner a{color:#344b40}
.nw-cookie-actions{justify-content:flex-end}
.nw-cookie-actions button{background:#526757;border-radius:3px}
.nw-cookie-actions #nw-cookie-reject{background:transparent;color:#344b40;border:1px solid #526757}
.nw-cookie-actions button:hover{filter:brightness(.92)}
.nw-cookie-settings{cursor:pointer}
#kontakt{scroll-margin-top:90px}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V4: Startseiten-Hero – Lesbarkeit ohne Änderung der Geometrie */
body.home .style-kubio-28-text, body.home .style-local-26-text {text-shadow:0 2px 8px rgba(0,0,0,.78),0 0 24px rgba(0,0,0,.52);}
body.home .style-kubio-153-text {text-shadow:0 2px 8px rgba(0,0,0,.72);}

/* Ergänzende Informationen zur Cookie-Richtlinie */
.nw-cookie-policy{max-width:920px;margin:28px auto;padding:0 24px 30px;line-height:1.7;color:inherit}
.nw-cookie-policy h2{font-size:clamp(1.25rem,2vw,1.7rem);margin:0 0 16px}
.nw-cookie-policy p{margin:0 0 14px}
.nw-cookie-policy code{overflow-wrap:anywhere}




/* V16: Nur Fliesstext und Ueberschriften der drei betroffenen Seiten schwarz. */
body.nw-black-text .wp-block-post-content,
body.nw-black-text .wp-block-post-content *,
body.nw-black-text .kubio-page-content,
body.nw-black-text .kubio-page-content *,
body.nw-black-text article,
body.nw-black-text article * { color:#000 !important; }

body.nw-black-text .h-section:not(header):not(footer) p,
body.nw-black-text .h-section:not(header):not(footer) h1,
body.nw-black-text .h-section:not(header):not(footer) h2,
body.nw-black-text .h-section:not(header):not(footer) h3,
body.nw-black-text .h-section:not(header):not(footer) h4,
body.nw-black-text .h-section:not(header):not(footer) li,
body.nw-black-text .h-section:not(header):not(footer) a {color:#000 !important;}

/* V17: Hauptnavigation bleibt weiss; Inhaltsfarbe bleibt schwarz. */
body.nw-black-text .wp-block-kubio-header .kubio-menu a,
body.nw-black-text .wp-block-kubio-header .kubio-menu a span,
body.nw-black-text .wp-block-kubio-header .wp-block-kubio-navigation a,
body.nw-black-text .wp-block-kubio-header .wp-block-kubio-navigation a span,
body.nw-black-text .wp-block-kubio-header .wp-block-kubio-navigation a * {color:#fff !important;}
