/* Visual rhythm for the existing Gutenberg sections. */
:root { --nvs-mint: #f0f7f2; --nvs-mist: #f4f7f8; --nvs-ink: #23382b; }
body { line-height: 1.6; }
.wp-site-blocks > header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); box-shadow: 0 2px 5px #1638240a, 0 10px 28px #1638241f; transition: box-shadow .2s ease; }
.wp-site-blocks > header.nvs-scrolled { box-shadow: 0 3px 8px #1638240f, 0 14px 34px #16382429; }
.wp-site-blocks > header > .wp-block-group { padding-inline: 24px; }
.wp-site-blocks > header > .wp-block-group > .wp-block-group { max-width: 1200px; min-height: 94px; gap: 24px; }
.wp-site-blocks > header figure { flex-basis: 220px; margin: 0; }
.wp-site-blocks > header figure img { width: 220px; height: 94px; object-fit: cover; display: block; }
header .wp-block-navigation { font-size: 16px; }
header .wp-block-navigation a { font-size: 16px; text-decoration: none; padding-block: 10px; }
header .wp-block-navigation a:hover { color: #127930; }
header .header_cta > a { background: #16963c; color: white !important; padding: 11px 21px; border-radius: 28px; }
header .header_cta > a:hover { background: #127930; color: white; }
.home .wp-block-post-content > .alignfull { margin-block: 0; }
.home .wp-block-post-content > .wp-block-group[id] { position: relative; padding-block: 84px !important; scroll-margin-top: 94px; }
.home #der_saal, .home #galerie, .home #anfahrt-und-kontakt, .home #faq { background: white; }
.home #Ausstattung, .home #kontakt { background: var(--nvs-mint); }
.home #Reservierung { background: var(--nvs-mist); }
.home .wp-block-post-content > .wp-block-cover { position: relative; padding: 70px max(24px,calc((100vw - 1200px)/2)) 126px !important; min-height: 750px !important; }
.home .wp-block-cover__inner-container { margin-inline: auto; max-width: 1200px; }
.home .hero_teaser { width: 490px; max-width: 100%; margin: 0 !important; padding: 36px !important; background: rgba(255,255,255,.97); box-shadow: 0 20px 70px #10271926; }
.home .hero_teaser h1 { font-size: clamp(32px,3.4vw,43px); letter-spacing: -.7px; }
.home .hero_teaser > p { font-size: 17px; line-height: 1.65; }
.home .hero_teaser .facts { border-color: #dce7df; padding: 18px 0; }
.home .hero_teaser .facts p { font-size: 14px; }
.home .hero_teaser .facts img { width: 36px; height: 36px; }
.home .hero_teaser .facts > .wp-block-group { gap: 16px; }
.home .hero_teaser .facts figure { flex-basis: 36px; }
.home .wp-block-post-content > .wp-block-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 112px; z-index: 2; background: url('./hero-wave.svg?v=2') center bottom / 100% 100% no-repeat; pointer-events: none; }
.home #Reservierung::before { content: ''; display: block; height: 36px; position: absolute; inset: -18px 0 auto; background: url('./section-wave.svg') center / 100% 100% no-repeat; pointer-events: none; }
.home h2 { letter-spacing: -.4px; margin-bottom: 22px; }
.home .w1200.wp-block-columns { gap: 44px; }
.home .wp-block-group.boxes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.home .boxes > .wp-block-group { display: block; width: auto; min-width: 0; padding: 0 !important; }
.boxes figure { width: 100%; height: 100%; box-sizing: border-box; margin: 0; padding: 26px 12px; box-shadow: 0 4px 14px #18351f03; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.boxes + .boxes { margin-top: 14px; }
.boxes figure img { height: 48px !important; object-fit: contain; }
.boxes figure figcaption { margin-top: 17px; line-height: 1.5; }
@media (hover: hover) { .boxes figure:hover { transform: translateY(-5px); border-color: #a8d4b2; box-shadow: 0 12px 26px #18351f0d; } }
.home .nvs-section-intro { max-width: 1200px !important; color: #53625a; margin-inline: auto !important; margin-bottom: 32px; }
.home .sl-slider-wrapper { margin-top: 30px; }
.home .sl-slide { background: white; border: 1px solid #e2e8e3; border-radius: 16px; overflow: hidden; box-sizing: border-box; }
.home .sl-slide-media { cursor: zoom-in; }
.home .sl-slide-title { font-family: 'ssp_b', sans-serif; font-size: 15px; }
.home .sl-arrow { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 14px; background: #16963c; color: #fff; border: 1px solid #ffffffbf; box-shadow: 0 4px 12px #10271926, inset 0 1px 0 #ffffff26; font-size: 0; transition: background-color .2s ease, box-shadow .2s ease; }
.home .sl-arrow::before { content: ''; display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.home .sl-arrow-next::before { transform: translate(-50%, -50%) rotate(180deg); }
.home .sl-arrow-prev { left: 10px; }
.home .sl-arrow-next { right: 10px; }
.home .sl-arrow:hover { background: #127930; color: #fff; border-color: #fff; }
.home .sl-arrow:focus-visible { outline: 3px solid #127930; outline-offset: 3px; }
.home #Reservierung .vs-booking-grid { gap: 32px; }
.home #Reservierung .vs-calendar-card, .home #Reservierung .vs-form-card { border-color: #e0e9e3; box-shadow: 0 10px 30px #18351f07; font-family: 'ssp_r', sans-serif; }
.home #Reservierung .vs-form-title, .home #Reservierung .vs-cal-title { font-family: 'ssp_b', sans-serif; }
.home #Reservierung .vs-form label { font-size: 14px; }
.home #Reservierung .vs-field-group input, .home #Reservierung .vs-field-group select, .home #Reservierung textarea { font-size: 16px; min-height: 46px; }
.home #Reservierung .vs-cal-nav { width: 44px; height: 44px; }
.home #Reservierung .vs-cal-cell { font-family: 'ssp_b', sans-serif; }
.home #kontakt .nvs-building { position: relative; padding-top: 0; }
.home #kontakt .nvs-building::before { content: ''; position: absolute; inset: -1px 0 auto; height: 76px; z-index: 1; background: url('./contact-wave.svg') top / 100% 100% no-repeat; pointer-events: none; }
.home #kontakt .nvs-building img { height: 470px; }
.nvs-contact-details .nvs-contact-value a { color: #127930; text-decoration-thickness: 1px; }
.nvs-footer { background: #16963c; border-top: 1px solid #dce7df; padding-block: 60px !important; }
.nvs-footer a { color: #2b4735; }
.nvs-footer a[href^="mailto:"], .nvs-footer a[href^="tel:"] { position: relative; display: inline-block; padding-left: 26px; box-sizing: border-box; max-width: 100%; }
.nvs-footer a[href^="mailto:"]::before, .nvs-footer a[href^="tel:"]::before { content: ''; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; background-color: currentColor; mask-repeat: no-repeat; mask-position: center; mask-size: contain; }
.nvs-footer a[href^="mailto:"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
.nvs-footer a[href^="tel:"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.58 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.nvs-footer h3 { color: #23382b; }
.nvs-footer-bottom { border-color: #d2e0d5; }
.nvs-footer a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.nvs-footer .wp-block-columns a { font-family: 'ssp_b', sans-serif; font-size: 15px; line-height: 1.55; }
.nvs-footer .wp-block-columns a[href^="mailto:"], .nvs-footer .wp-block-columns a[href^="tel:"] { padding: 11px 14px 11px 42px; background: #ffffffb3; border: 1px solid #d8e6db; border-radius: 12px; }
.nvs-footer .wp-block-columns a[href^="mailto:"]::before, .nvs-footer .wp-block-columns a[href^="tel:"]::before { left: 14px; top: 14px; color: #16963c; }
.nvs-footer .wp-block-columns a:not([href^="mailto:"]):not([href^="tel:"]) { display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px 9px 0; border-radius: 10px; }
.nvs-footer .wp-block-columns a:not([href^="mailto:"]):not([href^="tel:"])::before { content: ''; width: 18px; height: 18px; flex: 0 0 18px; background: #16963c; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.nvs-footer .wp-block-columns a:hover, .nvs-footer .wp-block-columns a:focus-visible { color: #0e6328; }
.nvs-footer .wp-block-columns a[href^="mailto:"]:hover, .nvs-footer .wp-block-columns a[href^="tel:"]:hover { background: #fff; border-color: #94c5a1; box-shadow: 0 5px 16px #18351f0a; }
.nvs-footer .wp-block-columns a:not([href^="mailto:"]):not([href^="tel:"]):hover::before { transform: translateX(4px); }
.nvs-footer-bottom a { display: inline-block; padding: 6px 9px; border-radius: 7px; color: #53665a; }
.nvs-footer-bottom a:hover, .nvs-footer-bottom a:focus-visible { color: #127930; background: #fff; }
@media (prefers-reduced-motion: reduce) { .nvs-footer a, .nvs-footer .wp-block-columns a::before { transition: none !important; } .nvs-footer .wp-block-columns a:hover::before { transform: none !important; } }
.nvs-back-link a { display: inline-block; padding-block: 8px; }
.nvs-reveal { opacity: 1; transform: none; }
/* Content starts visible; JS only animates elements when they enter the viewport. */
.nvs-reveal.nvs-entering { animation: nvs-enter .65s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--nvs-delay,0ms); }
@keyframes nvs-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.cta a, .nvs-map-load { transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
@media (hover: hover) { .cta a:hover, .nvs-map-load:hover { transform: translateY(-2px); } }
@media (max-width: 1100px) and (min-width: 782px) {
 .home .w1200.wp-block-columns { gap: 26px; }
 .home .w1200.wp-block-columns > .wp-block-column:first-child { flex-basis: 34% !important; }
 .home .w1200.wp-block-columns > .wp-block-column:last-child { flex-basis: 66% !important; }
 .boxes { gap: 10px; }
 .boxes figure { padding: 22px 8px; }
 .boxes figure figcaption { font-size: 13px; }
}
@media (max-width: 1050px) {
 header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
 header .wp-block-navigation__responsive-container-open { display: flex !important; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; border-radius: 50%; background: #f0f7f2; color: #127930; }
 header .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
 header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 8px; width: 100%; }
 header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
 header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { font-size: 23px; padding: 14px 18px !important; width: 100%; min-height: 48px; box-sizing: border-box; line-height: 1.35; }
 header .wp-block-navigation__responsive-container.is-menu-open .header_cta > a { color: #fff !important; margin-top: 12px; }
 header .wp-block-navigation__responsive-container-close { min-width: 46px; min-height: 46px; padding: 11px; color: #127930; background: #f0f7f2; border-radius: 50%; }
}
@media (max-width: 781px) {
 .wp-site-blocks > header > .wp-block-group { padding-inline: 20px; }
 .wp-site-blocks > header > .wp-block-group > .wp-block-group { min-height: 76px; flex-wrap: nowrap; }
 .wp-site-blocks > header figure { flex-basis: 185px !important; }
 .wp-site-blocks > header figure img { width: 185px; height: 76px; }
 .home .wp-block-post-content > .wp-block-group[id] { padding: 56px 24px !important; scroll-margin-top: 76px; }
 .home .w1200.wp-block-columns { gap: 28px; }
 .home .wp-block-post-content > .wp-block-cover { min-height: 0 !important; padding: 180px 24px 80px !important; }
 .home .wp-block-cover__image-background { object-position: 60% center; }
 .home .hero_teaser { width: 100%; padding: 26px !important; border-radius: 20px; }
 .home .hero_teaser h1 { font-size: clamp(27px,7vw,36px); letter-spacing: -.6px; margin-bottom: 14px; }
 .home .hero_teaser > p { font-size: 16px; }
 .home .hero_teaser .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
 .home .hero_teaser .facts > .wp-block-group { margin: 0; gap: 10px; align-items: flex-start; }
 .home .hero_teaser .facts > .wp-block-group:last-child { grid-column: 1 / -1; align-items: center; }
 .home .hero_teaser .facts figure { flex-basis: 28px !important; }
 .home .hero_teaser .facts img { width: 28px; height: 28px; }
 .home .hero_teaser .facts p { font-size: 12.5px; line-height: 1.45; }
 .home .hero_teaser .facts .nutzbar br:last-child { display: none; }
 .home .hero_teaser .cta, .home .hero_teaser .cta a { width: 100%; box-sizing: border-box; }
 .home .wp-block-post-content > .wp-block-cover::after { height: 54px; }
 .home h2 { font-size: 29px; line-height: 1.2; margin-bottom: 20px; }
 .home #Reservierung::before { height: 24px; top: -12px; }
 .home .wp-block-group.boxes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .boxes > div { width: auto; }
 .boxes figure { padding: 24px 12px; min-height: 146px; }
 .boxes figure figcaption { font-size: 14px; margin-top: 14px; }
 .home .sl-slider-wrapper .sl-slide { flex: 0 0 100%; min-width: 100%; }
 .home .sl-slide-media { aspect-ratio: 4/3; }
 .home #Reservierung .vs-booking-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .home #Reservierung .vs-calendar-card, .home #Reservierung .vs-form-card { padding: 22px; min-width: 0; border-radius: 18px; }
 .home #Reservierung .vs-field-row { flex-direction: column; }
 .home #Reservierung .vs-col-6 { width: 100%; flex: 1 1 auto; }
 .home #Reservierung .vs-field-group { min-width: 0; }
 .home #Reservierung .vs-cal-days { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
 .home #Reservierung .vs-cal-legend { flex-wrap: wrap; gap: 10px 16px; }
 .home #kontakt .nvs-building img { height: auto; aspect-ratio: 4/3; }
 .home #kontakt .nvs-building::before { height: 42px; }
 .nvs-faq-list summary { padding: 19px 18px; font-size: 16px; }
 .nvs-map-placeholder { padding: 28px 20px; }
 .nvs-section:not(.home .nvs-section) { padding-inline: 24px !important; }
 .nvs-footer { padding: 44px 24px !important; }
 .nvs-footer .wp-block-columns { gap: 26px; }
 .nvs-footer h3 { margin-bottom: 12px; }
 .nvs-footer p { margin-top: 12px; }
 .nvs-footer-bottom { margin-top: 26px; }
}
@media (max-width: 360px) {
 .home .wp-block-post-content > .wp-block-group[id] { padding-inline: 18px !important; }
 .home .wp-block-post-content > .wp-block-cover { padding-inline: 16px !important; padding-top: 135px !important; }
 .home .hero_teaser { padding: 20px !important; }
 .home .hero_teaser h1 { font-size: 26px; }
 .home #Reservierung .vs-calendar-card, .home #Reservierung .vs-form-card { padding: 16px; }
 .home h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
 html, .sl-slider-track { scroll-behavior: auto !important; }
 .nvs-reveal.nvs-entering { animation: none !important; }
 .boxes figure, .cta a, .nvs-map-load, .wp-site-blocks > header { transition: none !important; }
 .boxes figure:hover, .cta a:hover, .nvs-map-load:hover { transform: none !important; }
}

/* Curved footer transition echoes the section ornaments. */
.nvs-footer { position: relative; border-top: 0; padding-top: 136px !important; }
.nvs-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 100px; background: url('./footer-wave.svg?v=2') center / 100% 100% no-repeat; pointer-events: none; }
@media (max-width: 781px) {
 .nvs-footer { padding-top: 96px !important; }
 .nvs-footer::before { height: 60px; }
 .nvs-footer .wp-block-columns a[href^="mailto:"] { font-size: clamp(12px, 3.5vw, 15px); white-space: nowrap; }
}

/* Mobile: complete centered cards, readable captions and flatter ornaments. */
@media (max-width: 781px) {
 .home .sl-slider-track { padding-inline: 0; }
 .home .sl-slide { scroll-snap-align: center; }
 .home .sl-slide-caption-wrap { padding: 16px 18px; text-align: center; }
 .home .sl-slide-title { font-family: 'ssp_r', Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.4; color: #23382b; white-space: normal; overflow: visible; }
 .home .sl-slide:hover, .home .sl-slide:hover .sl-slide-media img { transform: none; }
 .home .wp-block-post-content > .wp-block-cover::after { height: 28px; }
 .home #Reservierung::before { height: 14px; top: -7px; }
 .home #kontakt .nvs-building::before { height: 22px; }
 .nvs-footer::before { height: 32px; }
 .nvs-footer { padding-top: 72px !important; }
}

/* Strong footer text and a centered mobile layout. */
.nvs-footer, .nvs-footer p, .nvs-footer h3, .nvs-footer a { color: #000; }
@media (max-width: 781px) {
 .nvs-footer, .nvs-footer p, .nvs-footer h3 { text-align: center; }
 .nvs-footer .wp-block-image { margin-inline: auto; float: none; }
 .nvs-footer .wp-block-image img { margin-inline: auto; }
 .nvs-footer .wp-block-image, .nvs-footer .wp-block-image a { display: flex; justify-content: center; }
 .nvs-footer .nvs-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 18px; }
 .nvs-footer-bottom > p { width: 100%; margin: 0; }
 .nvs-footer-bottom > p:has(a[href*="/impressum"]) { order: -1; white-space: nowrap; }
}

/* Mobile hero facts: one readable row per fact. */
@media (max-width: 781px) {
 .home .hero_teaser .facts { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
 .home .hero_teaser .facts > .wp-block-group,
 .home .hero_teaser .facts > .wp-block-group:last-child { display: flex; width: 100%; justify-content: flex-start; align-items: center; gap: 14px; }
 .home .hero_teaser .facts figure { flex: 0 0 30px !important; margin: 0; }
 .home .hero_teaser .facts img { width: 30px; height: 30px; }
 .home .hero_teaser .facts p { margin: 0; text-align: left; font-size: 14px; line-height: 1.45; }
}
/* Brand-green footer with dark text and crisp white contact surfaces. */
.nvs-footer, .nvs-footer p, .nvs-footer h3, .nvs-footer a, .nvs-footer-bottom a { color: #000; }
.nvs-footer .wp-block-columns a[href^="mailto:"],
.nvs-footer .wp-block-columns a[href^="tel:"] { background: #fff; color: #103e1d; border-color: #fff; }
.nvs-footer .wp-block-columns a[href^="mailto:"]:hover,
.nvs-footer .wp-block-columns a[href^="tel:"]:hover { background: #edf8ef; color: #082610; border-color: #edf8ef; }
.nvs-footer-bottom { border-color: #00000030; }
.nvs-footer a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.nvs-footer .wp-block-image img { background: #fff; padding: 12px 16px; border-radius: 14px; box-sizing: border-box; }
/* White typography on the green footer; contact buttons keep dark text. */
.nvs-footer, .nvs-footer p, .nvs-footer h3, .nvs-footer a, .nvs-footer-bottom a { color: #fff; }
.nvs-footer .wp-block-columns a[href^="mailto:"],
.nvs-footer .wp-block-columns a[href^="tel:"] { color: #103e1d; }
.nvs-footer-bottom { border-color: #ffffff59; }
.nvs-footer a:focus-visible { outline-color: #fff; }
.nvs-footer-bottom a:hover, .nvs-footer-bottom a:focus-visible { color: #103e1d; background: #fff; }
/* Plain white footer contact links, without button surfaces. */
.nvs-footer .wp-block-columns a[href^="mailto:"],
.nvs-footer .wp-block-columns a[href^="tel:"],
.nvs-footer .wp-block-columns a[href^="mailto:"]:hover,
.nvs-footer .wp-block-columns a[href^="tel:"]:hover,
.nvs-footer .wp-block-columns a[href^="mailto:"]:focus-visible,
.nvs-footer .wp-block-columns a[href^="tel:"]:focus-visible {
 background: transparent; border: 0; box-shadow: none; color: #fff;
 padding: 10px 0 10px 28px; border-radius: 0;
}
.nvs-footer .wp-block-columns a[href^="mailto:"]::before,
.nvs-footer .wp-block-columns a[href^="tel:"]::before { color: #fff; left: 0; top: 50%; transform: translateY(-50%); }
.nvs-footer .wp-block-columns a[href^="mailto:"]:hover,
.nvs-footer .wp-block-columns a[href^="tel:"]:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Preserve the vector logo's full proportions in the header. */
.wp-site-blocks > header figure img { object-fit: contain; }
