/*
Theme Name: Nady Planzer Neu
Theme URI:
Author: Nady Planzer
Description: Sidebar layout with nature green/turquoise palette
Version: 2.1
Text Domain: nadyplanzer-new
*/

/* ── Variables ── */
:root {
  --color-primary: #1a7a6e;
  --color-primary-dark: #0e5245;
  --color-primary-light: #28a898;
  --color-accent: #00c9b0;
  --color-accent-dark: #009e8a;
  --color-text: #1c2420;
  --color-text-light: #4a5e58;
  --color-surface: rgba(255, 255, 255, 0.97);
  --color-surface-alt: rgba(236, 250, 248, 0.96);
  --sidebar-w: 240px;
  --sidebar-bg: rgba(10, 38, 32, 0.92);
  --sidebar-border: rgba(255, 255, 255, 0.1);
  --sidebar-text: rgba(255, 255, 255, 0.88);
  --sidebar-text-dim: rgba(255, 255, 255, 0.52);
  --sidebar-hover-bg: rgba(0, 201, 176, 0.18);
  --sidebar-active-text: #7df5ea;
  --transition: 0.2s ease;
  --radius: 10px;
  --shadow: 0 4px 28px rgba(0, 0, 0, 0.2);
  --mobile-bar-h: 3.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "Lato", sans-serif;
  background-color: #0e2420;
  background-image: url("https://www.nadyplanzer.com/wp-content/themes/nadyplanzer/images/header.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  min-height: 100vh;
  color: var(--color-text);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 32, 26, 0.97) 0%,
      rgba(8, 32, 26, 0.78) 30%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-wrap {
  display: flex;
  flex: 1;
  position: relative;
  z-index: 10;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem 1.5rem;
  box-shadow: 4px 0 28px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.site-branding {
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.site-branding a {
  display: block;
}
.site-title {
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.35;
  display: block;
}
.site-subtitle {
  font-size: 0.66rem;
  color: var(--sidebar-text-dim);
  display: block;
  margin-top: 0.45rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

/* ── Nav ── */
.nav-menu {
  flex: 1;
}
.nav-menu > li {
  margin-bottom: 0.1rem;
}
.nav-menu li > a {
  display: block;
  color: var(--sidebar-text);
  padding: 0.5rem 0.75rem 0.5rem 2.35rem; /* 1.6rem indent to align with caret-prefixed items */
  border-radius: 6px;
  transition:
    background var(--transition),
    color var(--transition);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.nav-menu li > a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-page-ancestor > a,
.nav-menu li.current_page_parent > a {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-active-text);
}

/* Parent items: flex row so link and caret sit side-by-side */
.menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.menu-item-has-children > a {
  flex: 1;
  min-width: 0;
  padding-left: 0.75rem; /* caret takes the indent space */
}
.menu-item-has-children > .sub-menu {
  flex-basis: 100%;
  order: 10;
}
.np-sub-toggle {
  background: none;
  border: none;
  color: var(--sidebar-text-dim);
  cursor: pointer;
  padding: 0.35rem 0;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  width: 1.6rem;
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition:
    transform 0.2s ease,
    color 0.15s,
    background 0.15s;
}
.np-sub-toggle:hover {
  color: var(--sidebar-active-text);
  background: var(--sidebar-hover-bg);
}
.menu-item-has-children.is-expanded > .np-sub-toggle {
  transform: rotate(90deg);
  color: var(--sidebar-active-text);
}

.sub-menu {
  display: none;
  padding: 0;
  margin: 0 0 0.4rem 0.85rem;
}
.menu-item-has-children.is-expanded > .sub-menu {
  display: block;
}
.sub-menu li > a {
  font-size: 0.8rem;
  color: var(--sidebar-text-dim);
  padding: 0.32rem 0.75rem;
}
.sub-menu li > a:hover,
.sub-menu li.current-menu-item > a {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-active-text);
}

/* ── Sidebar footer ── */
.sidebar-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.sidebar-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sidebar-footer .footer-links li a {
  font-size: 0.74rem;
  color: var(--sidebar-text-dim);
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  display: block;
  transition: color var(--transition);
}
.sidebar-footer .footer-links li a:hover {
  color: var(--sidebar-active-text);
}

/* ── Main ── */
.page-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.content-area {
  flex: 1;
  padding: 2.5rem 2.5rem 3rem;
}

.entry-content-box {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

/* ── Hero ── */
.hero-banner {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: center;
  padding: 4rem 2.5rem 3rem;
}
.hero-content {
  background: rgba(10, 42, 34, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 201, 176, 0.22);
  padding: 2.5rem 3rem;
  border-radius: var(--radius);
  max-width: 680px;
  margin: 0 auto;
  color: #fff;
}
.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  color: #fff;
}
.hero-content .tagline {
  color: var(--sidebar-active-text);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

/* ── Page header ── */
.page-header-bar {
  padding: 3rem 2.5rem 1.25rem;
}
.page-header-bar h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  max-width: 860px;
  margin: 0 auto;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 0.25rem max(2.5rem, calc((100% - 860px) / 2)) 1.25rem;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumbs span {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumbs span a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.breadcrumbs span a:hover {
  color: var(--sidebar-active-text);
}
.breadcrumbs span + span::before {
  content: "›";
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Typography ── */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary-dark);
  margin: 1.5rem 0 0.5rem;
  line-height: 1.3;
}
.entry-content h1 {
  font-size: 1.85rem;
}
.entry-content h2 {
  font-size: 1.45rem;
}
.entry-content h3 {
  font-size: 1.15rem;
}
.entry-content p {
  margin-bottom: 0.9rem;
  color: var(--color-text);
}
.entry-content a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 201, 176, 0.45);
  text-underline-offset: 2px;
}
.entry-content a:not(.btn):hover {
  color: var(--color-accent-dark);
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}
.entry-content li {
  list-style: disc;
  margin-bottom: 0.25rem;
}
.entry-content strong {
  color: var(--color-primary-dark);
}
.entry-content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

/* ── Subpage cards ── */
.subpage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0;
}
.subpage-cards a {
  display: block;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.subpage-card-title {
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 0.35rem;
  color: #fff;
}
.subpage-cards a:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0;
}
.testimonial-grid blockquote {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* ── Price table ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.price-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 0.58rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.price-table tr:nth-child(even) td {
  background: var(--color-surface-alt);
}

/* ── Contact box ── */
.contact-box {
  background: var(--color-surface-alt);
  border: 1px solid rgba(0, 201, 176, 0.22);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  margin: 1.5rem 0;
}
.contact-box p {
  margin-bottom: 0.35rem;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0;
}
.gallery-grid img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.62rem 1.4rem;
  border-radius: 6px;
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background var(--transition),
    transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary-light);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
html:not(.np-light) .btn-outline,
html.np-dark .btn-outline {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
html:not(.np-light) .btn-outline:hover,
html.np-dark .btn-outline:hover {
  background: var(--color-accent-dark);
  color: #fff;
  border-color: var(--color-accent-dark);
}

/* ── Footer ── */
.site-footer {
  background: rgba(8, 30, 24, 0.92);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.65);
  padding: 1rem 2rem 1rem calc(var(--sidebar-w) + 2rem);
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.footer-inner > div {
  min-width: 0;
  flex: 1 1 75px;
  overflow-wrap: break-word;
}
.footer-inner > div:last-child {
  text-align: right;
}
.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.footer-inner a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-inner a:hover {
  color: var(--sidebar-active-text);
}
.footer-copy {
  font-size: 0.72rem;
  opacity: 0.45;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.65rem;
  margin-top: 0.5rem;
}

/* ── News ── */
.news-section {
  margin: 1.5rem 0;
}
.news-section h3 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary-dark);
  margin-bottom: 0.65rem;
}
.news-item {
  margin-bottom: 0.65rem;
}
.news-item a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.menu-toggle {
  display: none;
}

/* ── Page transitions ── */
.page-main {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.page-main.np-visible {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .page-wrap {
    flex-direction: column;
    padding-top: var(--mobile-bar-h); /* compensate for always-fixed sidebar */
  }

  /* Sidebar: always fixed at top — prevents layout shift when nav opens */
  .sidebar {
    width: 100%;
    height: auto;
    min-height: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1.25rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  /* Full-screen overlay when nav is open */
  .sidebar.nav-is-open {
    position: fixed;
    inset: 0;
    height: 100dvh;
    height: 100vh; /* fallback */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.85rem 1.25rem 1.5rem;
    z-index: 300;
    transition: opacity 0.2s ease;
  }
  .sidebar.nav-is-fading {
    opacity: 0;
  }

  .site-branding {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    flex-shrink: 1;
    min-width: 0;
  }

  /* Restore branding separator inside overlay */
  .sidebar.nav-is-open .site-branding {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
    padding-right: 3rem; /* clear the absolute ✕ button */
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.88);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Lato", sans-serif;
    font-size: 0.88rem;
    flex-shrink: 0;
    margin-left: auto; /* push to far right in compact bar */
    margin-bottom: 0;
  }

  /* ✕ close button: absolutely positioned in overlay */
  .sidebar.nav-is-open .menu-toggle {
    position: absolute;
    top: 0.85rem;
    right: 1.25rem;
    margin-left: 0;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    padding: 0;
    font-size: 1.15rem;
    justify-content: center;
    gap: 0;
  }
  .sidebar.nav-is-open .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  /* Nav: hidden in compact bar, visible inside overlay — no slide animation */
  .main-navigation {
    display: none;
  }
  .main-navigation.is-open {
    display: block;
  }

  /* sidebar-footer: hidden in compact bar, shown at bottom of overlay */
  .sidebar-footer {
    display: none;
  }
  .sidebar.nav-is-open .sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--sidebar-border);
  }
  .sidebar.nav-is-open .theme-toggle {
    width: 100%;
    margin-top: 0.5rem;
  }

  .page-main {
    margin-left: 0;
  }
  .content-area {
    padding: 1.25rem 1rem 2rem;
  }
  .entry-content-box {
    padding: 1.25rem;
  }
  .page-header-bar {
    padding: 1.75rem 1rem 1rem;
  }
  .breadcrumbs {
    padding: 0.25rem 1rem 1rem;
  }
  .hero-banner {
    padding: 2rem 1rem;
    min-height: 20vh;
    padding-bottom: 0rem;
  }
  .hero-content {
    padding: 1.5rem;
  }

  /* Footer: remove sidebar-offset padding */
  .site-footer {
    padding: 1.25rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-inner > div:last-child {
    text-align: left;
  }
}

/* ── Light mode overrides (lighter sidebar + overlay) ── */
@media (prefers-color-scheme: light) {
  html:not(.np-dark) {
    --sidebar-bg: rgba(12, 72, 60, 0.72);
  }
  html:not(.np-dark) body::before {
    background:
      linear-gradient(
        to right,
        rgba(8, 32, 26, 0.78) 0%,
        rgba(8, 32, 26, 0.48) 30%,
        rgba(0, 0, 0, 0.22) 100%
      ),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
  }
}
html.np-light {
  --sidebar-bg: rgba(12, 72, 60, 0.72);
}
html.np-light body::before {
  background:
    linear-gradient(
      to right,
      rgba(8, 32, 26, 0.78) 0%,
      rgba(8, 32, 26, 0.48) 30%,
      rgba(0, 0, 0, 0.22) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
}

/* ── Hero: lighter in light mode ── */
html.np-light .hero-content {
  background: rgba(12, 72, 60, 0.45);
  border-color: rgba(0, 201, 176, 0.35);
}
@media (prefers-color-scheme: light) {
  html:not(.np-dark) .hero-content {
    background: rgba(12, 72, 60, 0.45);
    border-color: rgba(0, 201, 176, 0.35);
  }
}

/* ── Dark mode ── */
/* Variables: system preference (unless manually overridden to light) */
@media (prefers-color-scheme: dark) {
  html:not(.np-light) {
    --color-surface: rgba(10, 28, 23, 0.97);
    --color-surface-alt: rgba(14, 38, 30, 0.96);
    --color-text: rgba(218, 238, 233, 0.92);
    --color-text-light: rgba(155, 205, 190, 0.8);
  }
}
/* Variables: manual dark toggle */
html.np-dark {
  --color-surface: rgba(10, 28, 23, 0.97);
  --color-surface-alt: rgba(14, 38, 30, 0.96);
  --color-text: rgba(218, 238, 233, 0.92);
  --color-text-light: rgba(155, 205, 190, 0.8);
}

/* Element rules for system preference */
@media (prefers-color-scheme: dark) {
  html:not(.np-light) .entry-content h1,
  html:not(.np-light) .entry-content h2,
  html:not(.np-light) .entry-content h3,
  html:not(.np-light) .entry-content h4 {
    color: var(--color-accent);
  }
  html:not(.np-light) .entry-content strong {
    color: var(--color-accent-dark);
  }
  html:not(.np-light) .entry-content hr {
    border-top-color: rgba(255, 255, 255, 0.08);
  }
  html:not(.np-light) .entry-content a:not(.btn) {
    color: var(--color-accent);
    text-decoration-color: rgba(0, 201, 176, 0.5);
  }
  html:not(.np-light) .entry-content a:not(.btn):hover {
    color: #fff;
  }
  html:not(.np-light) .subpage-cards a {
    background: rgba(0, 100, 88, 0.55);
    border: 1px solid rgba(0, 201, 176, 0.35);
  }
  html:not(.np-light) .subpage-cards a:hover {
    background: rgba(0, 130, 114, 0.7);
  }
  html:not(.np-light) .price-table td {
    border-bottom-color: rgba(255, 255, 255, 0.07);
  }
  html:not(.np-light) .price-table tr:nth-child(even) td {
    background: var(--color-surface-alt);
  }
  html:not(.np-light) .news-section h3,
  html:not(.np-light) .news-item a {
    color: var(--color-accent);
  }
  html:not(.np-light) .testimonial-grid blockquote {
    color: var(--color-text);
  }
  html:not(.np-light) .contact-box {
    border-color: rgba(0, 201, 176, 0.28);
  }
}
/* Element rules for manual dark toggle */
html.np-dark .entry-content h1,
html.np-dark .entry-content h2,
html.np-dark .entry-content h3,
html.np-dark .entry-content h4 {
  color: var(--color-accent);
}
html.np-dark .entry-content strong {
  color: var(--color-accent-dark);
}
html.np-dark .entry-content hr {
  border-top-color: rgba(255, 255, 255, 0.08);
}
html.np-dark .entry-content a:not(.btn) {
  color: var(--color-accent);
  text-decoration-color: rgba(0, 201, 176, 0.5);
}
html.np-dark .entry-content a:not(.btn):hover {
  color: #fff;
}
html.np-dark .subpage-cards a {
  background: rgba(0, 100, 88, 0.55);
  border: 1px solid rgba(0, 201, 176, 0.35);
}
html.np-dark .subpage-cards a:hover {
  background: rgba(0, 130, 114, 0.7);
}
html.np-dark .price-table td {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
html.np-dark .price-table tr:nth-child(even) td {
  background: var(--color-surface-alt);
}
html.np-dark .news-section h3,
html.np-dark .news-item a {
  color: var(--color-accent);
}
html.np-dark .testimonial-grid blockquote {
  color: var(--color-text);
}
html.np-dark .contact-box {
  border-color: rgba(0, 201, 176, 0.28);
}

/* ── Theme toggle button ── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--sidebar-border);
  color: var(--sidebar-text-dim);
  padding: 0.38rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  margin-top: 0.75rem;
  width: 100%;
  text-align: left;
  transition:
    color var(--transition),
    border-color var(--transition);
}
.theme-toggle:hover {
  color: var(--sidebar-active-text);
  border-color: rgba(125, 245, 234, 0.35);
}
.theme-toggle .toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* ── Map (Kontakt & Anfahrt) ── */
.map-container {
  margin: 1.75rem 0 1rem;
}
.np-map {
  width: 100%;
  height: 320px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .np-map {
    height: 240px;
  }
}

/* ── Background switcher ── */
#np-bg-switcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  background: rgba(8, 24, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.55rem 0.7rem 0.7rem;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  font-family: "Lato", sans-serif;
  min-width: 170px;
}
.np-bg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  gap: 0.5rem;
}
.np-bg-header span {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.np-bg-collapse {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.np-bg-collapse:hover {
  color: #fff;
}
#np-bg-switcher.is-collapsed .np-bg-body {
  display: none;
}
.np-bg-group-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0.35rem 0 0.2rem;
}
.np-bg-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.np-bg-swatch {
  width: 44px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}
.np-bg-swatch:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.np-bg-swatch.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}
@media (max-width: 720px) {
  #np-bg-switcher {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}
