@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Preview bar on kunden.nmkdesign.com only (injected in fe_page) */
.preview-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: #111;
  color: #fff;
  font: 600 0.85rem/1.3 var(--font, system-ui, sans-serif);
  position: sticky;
  top: 0;
  z-index: 10000;
}
.preview-bar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.preview-bar a:hover,
.preview-bar a:focus-visible {
  border-bottom-color: #92bf19;
}
.preview-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

:root {
  --font: "Mulish", "Segoe UI", sans-serif;
  --display: "Poppins", "Mulish", sans-serif;
  --lime: #92bf19;
  --lime-btn: #9cc212;
  --ink: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #fff;
  --bg: #fff;
  --band: #e7f3c9;
  --line: #d5e3b0;
  --footer: #2f2f2f;
}
body.theme-pool {
  --ink: #1a2333;
  --muted: #5b6575;
  --bg: #fff;
  --band: #eef3f9;
  /* live Poolbau brand / footer / CTA: rgb(0, 108, 154) */
  --pool: #006c9a;
  --lime: #006c9a;
  --lime-btn: #006c9a;
  --line: #d7dee8;
  --footer: #006c9a;
  --nav: #006c9a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.invisible, .skip {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.btn, #main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-btn);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: .85rem 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  border: 2px solid transparent;
}
#main .btn-outline, #main .btn-outline, .btn-outline {
  background: transparent;
  color: var(--lime-btn) !important;
  border-color: var(--lime-btn);
}
.btn-light {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}

/* —— Header —— */
#header {
  position: relative;
  z-index: 20;
  background: #fff;
  border: 0;
}
#header .inside {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  position: relative;
}
#header .mod_html { position: static; }
#header .mod_html { position: static; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand span { display: none; }
.phone {
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.phone img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.social {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  color: #fff;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social img { width: 14px; height: 14px; display: block; }
.social--circles a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
}
.social--circles a:hover { border-color: #181818; background: rgba(24,24,24,.08); }
.social--circles a:hover img { filter: brightness(0); }
.footer-social img { width: 22px; height: 22px; display: block; filter: brightness(0) invert(1); }
.gala-topbar { display: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .45rem .9rem;
  font: inherit;
}
.mod_navigation ul { list-style: none; margin: 0; padding: 0; }
.nav-main { margin-left: auto; }
.nav-main .level_1 { display: flex; align-items: center; gap: .1rem; }
.nav-main .level_1 > li { position: relative; }
.nav-main a, .nav-main strong {
  display: block;
  padding: .85rem .75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #3d3d3d;
}
.nav-main .level_2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17rem;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  padding: .35rem;
  z-index: 6;
}
.nav-main li:hover > .level_2,
.nav-main li:focus-within > .level_2 { display: block; }
.nav-main .level_2 a { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.nav-main .nav-legal,
.nav-main .nav-skip,
.nav-main .nav-jobs { display: none; }

#main { padding: 0; }
#main .inside { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
/* Contao article chrome — no gap under last CTA before footer */
#main .mod_article { margin: 0; padding: 0; }
#main .mod_article > .inside { padding: 0; }
#main .ce_html { margin: 0; }
#main h1, #main h2, #main h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #2f2f2f;
}
#main .lead { color: var(--muted); font-size: 1.05rem; }
.seo-note { color: var(--muted); font-size: .95rem; margin-top: 2rem; }

/* —— Hero (home) —— */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 560px;
  display: grid;
  align-items: center;
  background: #243028 center/cover no-repeat;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
  color: #fff;
}
#main .hero h1, #main .hero h2, #main .hero p { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 14ch; margin: 0 0 .55rem; }
.hero p { font-size: 1.15rem; max-width: 36rem; margin: 0 0 1.2rem; }

.band, .page-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  background: var(--band);
  text-align: center;
  padding: 3.4rem 1.75rem 3rem;
}
.leaf { width: 42px; height: 42px; object-fit: contain; margin: 0 auto .55rem; }
.band h2, .page-hero h1 { margin: .15rem 0 .55rem; font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.band p, .page-hero p { color: var(--muted); margin: 0 auto 1rem; max-width: 42rem; }
.page-hero { margin-top: 0; width: 100vw; margin-left: calc(50% - 50vw); box-sizing: border-box; padding-left: max(1.5rem, calc(50vw - 520px)); padding-right: max(1.5rem, calc(50vw - 520px)); }
.page-hero .btn { margin-top: .4rem; }

.reviews { padding: 2rem 0 1rem; }
.reviews > .leaf { margin-left: 0; }
.reviews h2 { font-size: 2rem; margin-top: 0; }
.stars { color: var(--lime-btn); letter-spacing: .15em; font-size: 1.15rem; margin-bottom: .6rem; }
.card-grid, .work-grid, .service-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card, .work-card, .work-intro, .service-box {
  background: #fff;
  border: 1px solid #e6eed4;
  border-radius: 2px;
  padding: 1.4rem 1.2rem 1.3rem;
}
.work-grid { margin: 2rem 0 3rem; align-items: stretch; }
/* Hub .info — kein max-width auf .page-hero (sonst 0px Innenbreite durch Full-bleed-Padding) */
.page-hero.page-hero--hub {
  text-align: center;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  margin-top: 0;
  box-sizing: border-box;
  padding-top: 0.85rem;
  padding-bottom: 2rem;
  padding-left: max(1.5rem, calc(50vw - 590px));
  padding-right: max(1.5rem, calc(50vw - 590px));
  background: #fff;
}
.work-grid--hub {
  display: grid;
  max-width: min(900px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
body.hub-site,
body.hub-site #wrapper,
body.hub-site #main {
  background: #fff;
}
body.hub-site #main .content-text { margin: 0; }
body.hub-site #main .content-text .rte { max-width: none; }

body.hub-site #footer.footer--hub {
  margin-top: 0;
  background: var(--footer);
  color: #a2b1a5;
}
body.hub-site .footer-colophon--hub {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  max-width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
body.hub-site .footer-colophon--hub .footer-copyright { margin: 0; color: #c8d4cb; }

/* Hub: kein Hauptmenü — GaLa-Header mit Logo + Topbar (ohne Nav-Zeile) */
body.hub-site .nav-main,
body.hub-site #site-nav,
body.hub-site .nav-toggle {
  display: none !important;
}
body.hub-site #header .inside {
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-rows: 75px;
  min-height: 0;
  align-items: stretch;
  width: min(1170px, calc(100% - 2rem));
  max-width: none;
  padding-bottom: 0;
}
body.hub-site.theme-galabau #header .inside {
  min-height: 0;
  grid-template-rows: 75px;
}
body.hub-site #main .mod_article:first-child .content-text {
  margin-top: 0;
  padding-top: 0;
}
body.hub-site .brand {
  grid-column: 1;
  grid-row: 1;
}
body.hub-site .gala-topbar {
  grid-column: 2;
  grid-row: 1;
}
@media (max-width: 720px) {
  .work-grid--hub { grid-template-columns: 1fr; }
}
.work-card img { width: calc(100% + 2.4rem); max-width: none; margin: .6rem -1.2rem; height: 180px; object-fit: cover; }
.work-intro { display: flex; flex-direction: column; justify-content: center; }
.work-intro h2 { font-size: 2rem; margin-top: .4rem; }
.work-intro .leaf { margin-left: 0; }

.service-split {
  margin: 1.75rem 0 1.5rem;
  align-items: stretch;
}
.service-box .leaf { margin-left: 0; width: 85px; height: 82px; }
.service-box h2 { font-size: 1.45rem; margin: .2rem 0 1rem; }
.service-box ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.service-box li { margin: .35rem 0; }
.service-split figure {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #e6eed4;
}
.service-split figure img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.center-actions { text-align: center; margin: 1.5rem 0 2rem; }

.cta-band {
  background: #92bf19;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: 100vw;
  margin: 2rem 0 0;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 1.7rem max(2rem, calc(50vw - 585px));
}
/* HARD RULE: Termin-CTA sits flush on #footer — no margin, no padding after */
.cta-band--termin {
  margin-top: 0;
  margin-bottom: 0 !important;
  padding-top: 50px;
  padding-bottom: 50px;
}
#main .cta-band--termin:last-child,
#main .ce_html:last-child .cta-band--termin,
#main .mod_article .cta-band--termin:last-of-type {
  margin-bottom: 0 !important;
}
#main:has(.cta-band--termin:last-child),
#main:has(.ce_html:last-child .cta-band--termin) {
  padding-bottom: 0;
}
#footer { margin-top: 0; }
/* beat Contao #main h2 / .btn specificity — live: white title + outline CTA */
#main .cta-band h2,
.cta-band h2,
#main .cta-band .cta-band__title,
.cta-band .cta-band__title {
  color: #fff !important;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 5px 0 10px;
}
#main .cta-band p:not(.cta-band__title),
.cta-band p:not(.cta-band__title) {
  color: #fff !important;
  opacity: 1;
  margin: 0;
  margin-top: 0;
  max-width: 48rem;
  line-height: 1.45;
  font-size: 18px;
}
#main .cta-band .btn-light,
.cta-band .btn-light,
#main .cta-band a.btn {
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: center;
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 25px;
  padding: 15px 37px 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#main .cta-band .btn-light:hover,
.cta-band .btn-light:hover,
#main .cta-band a.btn:hover {
  background: #fff !important;
  color: #92bf19 !important;
  border-color: #fff !important;
}
body.theme-pool .cta-band {
  background: var(--pool);
}
body.theme-pool #main .cta-band .btn-light:hover,
body.theme-pool .cta-band .btn-light:hover,
body.theme-pool #main .cta-band a.btn:hover {
  color: var(--pool) !important;
}

.prose { max-width: 46rem; margin: 2rem auto 0; color: var(--muted); }
.prose h2 { color: #2f2f2f; font-size: 1.35rem; }

/* Readable SEO/content text blocks (centered column, left-aligned copy) */
.prose-block {
  width: min(40rem, calc(100% - 2rem));
  margin: 2.75rem auto 2.25rem;
  padding: 0;
  color: var(--muted);
  text-align: left;
}
#main .prose-block h2 {
  margin: 0 0 .85rem;
  color: #2f2f2f;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}
.prose-block p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.prose-block p:last-child { margin-bottom: 0; }
body.theme-pool .prose-block h2 { color: #1a2333; }
body.theme-pool .prose-block {
  margin-top: 2.75rem;
  margin-bottom: 0;
  padding: 0 1rem 2.75rem;
}
body.theme-pool .prose-block + .cta-band--termin {
  margin-top: 0;
}

/* —— Footer (live parity) —— */
#footer {
  background: transparent;
  color: #a2b1a5;
  padding: 0;
  margin: 0;
}
#footer .inside { width: 100%; margin: 0; max-width: none; }
#footer .mod_html { margin: 0; }
#footer .mod_customnav,
#footer nav,
.nav-footer { display: none !important; }

.footer-widgets {
  background: #444;
  color: #a2b1a5;
  padding: 50px 0 30px;
}
.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.footer-grid--gala { grid-template-columns: 1.2fr 1fr .95fr 1.25fr; }
.footer-grid--pool { grid-template-columns: 1.45fr 1fr 1fr 1.25fr; gap: 2rem; }

.footer-col {
  padding: 0 1.25rem;
  min-width: 0;
}
.footer-grid--gala .footer-col:not(:last-child) {
  border-right: 1px solid #828c84;
}
.footer-col--logo { display: flex; align-items: flex-start; }

.footer-grid h3 {
  position: relative;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 1.125em;
  padding-top: 1.875em;
  color: #fff;
  line-height: 1.2;
}
body.theme-galabau .footer-grid h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 14px;
  background: url("/files/galabau/blatt-icon.svg") left top / contain no-repeat;
}

.footer-grid ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.footer-grid li { margin: .35rem 0; min-width: 0; max-width: 100%; }
.footer-grid a {
  color: #a2b1a5;
  text-decoration: none;
  transition: color .15s ease;
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.35;
}
.footer-grid a:hover { color: #92bf19; }
.footer-grid button.footer-linklike,
.footer-legal-inline button.footer-linklike {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: block;
  max-width: 100%;
  text-align: left;
  color: #a2b1a5;
  line-height: 1.35;
}
.footer-grid button.footer-linklike:hover,
.footer-legal-inline button.footer-linklike:hover {
  color: #92bf19;
}
body.theme-pool .footer-grid button.footer-linklike {
  color: rgba(255,255,255,.78);
}
body.theme-pool .footer-grid button.footer-linklike:hover {
  color: #fff;
}
.footer-legal-inline button.footer-linklike {
  display: inline;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.footer-legal-inline button.footer-linklike:hover {
  color: #fff;
}
.footer-grid p {
  margin: 0 0 .85rem;
  color: #a2b1a5;
  font-size: .95rem;
  line-height: 1.35;
}

.footer-logo-link { display: inline-block; }
.footer-logo {
  width: 200px;
  height: auto;
  max-width: 100%;
  margin: 0 0 .5rem;
  display: block;
}
.footer-logo--pool {
  width: min(240px, 100%);
  height: auto;
  border-radius: 0;
  filter: none;
}

.footer-socials {
  display: flex !important;
  gap: .55rem;
  list-style: none;
  margin: 1rem 0 0 !important;
  padding: 0;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
}
.footer-socials a:hover {
  color: #92bf19;
  border-color: #92bf19;
}
.footer-socials img { width: 14px; height: 14px; display: block; }
.footer-socials--circles a {
  background: #fff;
  border-color: #fff;
}
.footer-socials--circles img { filter: brightness(0); }

.footer-tagline {
  max-width: 18rem;
  margin-top: .75rem !important;
  line-height: 1.5 !important;
}

.footer-colophon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  position: relative;
}
.footer-colophon--gala {
  background: #92bf19;
  border-top: 3px solid #eaefdc;
  min-height: 74px;
}
.footer-colophon--gala .footer-copyright {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: .95rem;
}

body.theme-pool .footer-widgets {
  background: var(--footer, #006c9a);
  color: rgba(255,255,255,.9);
  padding: 3.25rem 0 0;
}
body.theme-pool .footer-grid h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  padding-top: 0;
  margin-bottom: 1rem;
}
body.theme-pool .footer-grid a { color: rgba(255,255,255,.78); }
body.theme-pool .footer-grid a:hover { color: #fff; }
body.theme-pool .footer-grid p { color: rgba(255,255,255,.72); }
.footer-colophon--pool {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 1.15rem 0 1.6rem;
  border-top: 1px solid rgba(255,255,255,.18);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.footer-colophon--pool .footer-copyright {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.footer-legal-inline {
  margin: 0;
  display: flex;
  gap: 1.25rem;
}
.footer-legal-inline a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .9rem;
}
.footer-legal-inline a:hover { color: #fff; }

.ce_form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  max-width: 40rem;
  margin: 1.5rem auto;
}
.ce_form .widget { margin: 0 0 1rem; }
.ce_form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.ce_form input[type="text"],
.ce_form input[type="email"],
.ce_form input[type="tel"],
.ce_form input[type="number"],
.ce_form input.captcha,
.ce_form textarea,
.ce_form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: .6rem;
  padding: .7rem .8rem;
  font: inherit;
  color: inherit;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}
.ce_form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 28rem;
  padding-right: 2.75rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.2 1.6 6 6.4l4.8-4.8' stroke='%235b6575' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 12px 8px;
  cursor: pointer;
}
.ce_form .widget-select {
  grid-column: 1 / -1;
}
.ce_form .submit, .ce_form button {
  background: var(--lime-btn);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.3rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* —— GaLaBau —— (header graphic matches live .header-v1 .topbar) —— */
body.theme-galabau #header {
  padding-top: 0;
  background: #fff;
  border-top: 0;
  overflow: visible;
}
body.theme-galabau #header::before { display: none; }
body.theme-galabau #header .inside {
  display: grid;
  /* live: col-lg-3 (~300) + col-lg-9 of 1170 container */
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-rows: 75px auto;
  align-items: stretch;
  column-gap: 0;
  row-gap: 0;
  min-height: 189px;
  width: min(1170px, calc(100% - 2rem));
  padding: 0;
  overflow: visible;
}
/* Only HTML module → contents so brand/topbar/toggle become grid items.
   .mod_navigation IS .nav-main — must stay a box (not contents). */
body.theme-galabau #header .mod_html { display: contents; }
body.theme-galabau #header .mod_navigation.nav-main {
  display: block;
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  /* cream line comes only from .gala-topbar border-bottom — not a second border here */
  border-top: 0;
  align-self: stretch;
}
body.theme-galabau .brand {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: start;
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 20px 0 20px 10px;
}
body.theme-galabau .brand img {
  width: 150px;
  height: 150px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
body.theme-galabau .gala-topbar {
  display: block;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  top: -3px;
  height: 75px;
  background: #92bf19;
  color: #fff;
  border-bottom: 3px solid #eaefdc;
  clip-path: none;
  margin: 0;
  /* bleed to viewport right edge (= live .menu-block-right) */
  margin-right: calc(-1 * max(1rem, calc(50vw - 585px)));
  z-index: 3;
  overflow: visible;
}
/* Exact live diagonal: white + lime border triangle, rotate -90deg */
body.theme-galabau .gala-topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 75px 75px 0 0;
  border-color: #fff #92bf19 transparent transparent;
  transform: rotate(-90deg);
  transform-origin: 37.5px 37.5px;
  z-index: 1;
  pointer-events: none;
}
/* Exact live cream accent stroke */
body.theme-galabau .gala-topbar::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 36px;
  width: 4px;
  height: 104px;
  background: #eaefdc;
  transform: rotate(-45deg);
  z-index: 2;
  pointer-events: none;
}
body.theme-galabau .gala-topbar-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  padding: 0 max(1.25rem, calc(50vw - 585px)) 0 5.5rem;
  box-sizing: border-box;
}
body.theme-galabau .phone {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
body.theme-galabau .phone img {
  width: 17px;
  height: 17px;
  margin-right: 7px;
  filter: brightness(0) invert(1);
}
body.theme-galabau .nav-main .level_1 {
  justify-content: flex-end;
  padding-right: .25rem;
  min-height: 65px;
  align-items: center;
}
body.theme-galabau .nav-main .level_1 > li > a,
body.theme-galabau .nav-main .level_1 > li > strong {
  border-top: 3px solid transparent;
  margin-top: -3px;
  padding-top: .7rem;
}
body.theme-galabau .nav-main .active > a,
body.theme-galabau .nav-main .active > strong,
body.theme-galabau .nav-main li.active > a,
body.theme-galabau .nav-main li.active > strong,
body.theme-galabau .nav-main .trail > a,
body.theme-galabau .nav-main .trail > strong {
  color: #92bf19 !important;
  border-top-color: #92bf19 !important;
}
body.theme-galabau .nav-main .level_1 > li:hover > a {
  color: #92bf19;
}
body.theme-galabau .nav-toggle {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  z-index: 6;
}

/* —— Pool —— */
body.theme-pool #header {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(15,23,36,.06);
  background: #fff;
}
body.theme-pool #header .inside {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 108px;
  gap: 1rem 1.5rem;
  width: min(1240px, calc(100% - 2rem));
}
body.theme-pool .mod_html,
body.theme-pool .mod_navigation { display: contents; }
body.theme-pool .brand { grid-column: 1; grid-row: 1; }
body.theme-pool .nav-main { grid-column: 2; grid-row: 1; justify-self: center; margin-left: 0; }
body.theme-pool .header-cta { grid-column: 3; grid-row: 1; justify-self: end; }
body.theme-pool .nav-toggle { grid-column: 3; }
body.theme-pool .brand img {
  height: 60px;
  width: auto;
  max-width: 160px;
}
body.theme-pool .phone,
body.theme-pool .topbar-right { display: none; }
body.theme-pool .nav-main a,
body.theme-pool .nav-main strong {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: .95rem;
  padding: .65rem .7rem;
  color: #1f2a37;
}
body.theme-pool .nav-main .active > a,
body.theme-pool .nav-main .active > strong,
body.theme-pool .nav-main .trail > a,
body.theme-pool .nav-main .trail > strong { color: #006c9a; }
body.theme-pool .header-cta {
  background: #006c9a;
  color: #fff !important;
  border: 0;
  border-radius: 100px;
  padding: .55rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body.theme-pool .header-cta:hover { background: #055a80; }
body.theme-pool .nav-main .nav-faq,
body.theme-pool .nav-main .nav-legal { display: none; }
body.theme-pool .float-call { display: none !important; }
body.theme-pool .nav-main .level_1 > li > a,
body.theme-pool .nav-main .level_1 > li > strong {
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 600;
  padding: .55rem .55rem;
}
body.theme-pool .nav-main .level_1 > li.active > strong,
body.theme-pool .nav-main .level_1 > li.active > a,
body.theme-pool .nav-main .level_1 > li.trail > a {
  color: var(--pool);
  box-shadow: inset 0 -2px 0 var(--pool);
}
body.theme-pool .hero { min-height: 72vh; }
body.theme-pool .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,32,58,.35), rgba(8,20,40,.72));
}
body.theme-pool .hero-copy { max-width: 40rem; }
body.theme-pool .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  opacity: .95;
}
body.theme-pool .hero h1 {
  max-width: 22ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff !important;
}
body.theme-pool .hero-accent {
  display: inline;
  box-shadow: inset 0 -0.22em 0 var(--pool);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}
body.theme-pool .pool-split-title .accent { color: var(--pool); }
body.theme-pool .stats { margin-top: 0; position: relative; z-index: 2; }
body.theme-pool .stats--flat {
  background: #fff;
  padding: 2.75rem 0 1.25rem;
  margin-top: 0;
  position: relative;
  z-index: 3;
}
body.theme-pool .hero + .stats--flat {
  /* live: stats sit on white below hero, not floating cards over image */
  margin-top: 0;
  box-shadow: none;
}
body.theme-pool .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}
body.theme-pool .stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0e1323;
  line-height: 1.1;
}
body.theme-pool .stat .accent { color: var(--pool); }
body.theme-pool .stat > span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .95rem;
}
body.theme-pool .stats .card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16,24,40,.08);
  text-align: center;
}
body.theme-pool .card-grid { grid-template-columns: repeat(4, 1fr); }
body.theme-pool .card-grid + .card-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
body.theme-pool .card h3 { margin-top: 0; }
body.theme-pool .card a {
  color: var(--pool, #006c9a);
  font-weight: 700;
  text-decoration: none;
}
body.theme-pool .page-hero { background: var(--band); }
body.theme-pool .service-box { border-color: var(--line); }
.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}
.nav-toggle-label { font-size: .85rem; font-weight: 700; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    order: 3;
    margin-left: auto;
    z-index: 6;
  }
  .nav-main {
    display: none;
    order: 10;
    width: 100%;
    margin: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: .5rem 0 1rem;
  }
  #header.is-open .nav-main { display: block; }
  .nav-main .level_1 { display: block; }
  .nav-main .level_1 > li { border-bottom: 1px solid #f0f0f0; }
  .nav-main .level_2 {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding: 0 0 .4rem .85rem;
    background: transparent;
  }
  .nav-main a, .nav-main strong {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    padding: .85rem .2rem;
  }
  body.theme-galabau .nav-main .level_1 > li > a,
  body.theme-galabau .nav-main .level_1 > li > strong { border-top: 0; }

  body.theme-galabau #header .mod_html,
  body.theme-galabau #header .mod_navigation {
    display: block;
  }
  body.theme-galabau #header {
    overflow: visible;
  }
  body.theme-galabau #header .inside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* full width + side padding — enables reliable topbar full-bleed */
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    min-height: 0;
    padding: 0 1rem .35rem;
    gap: 0;
  }
  /* Green phone bar: edge-to-edge (flex-basis 100% was overriding width:100vw) */
  body.theme-galabau .gala-topbar {
    display: block;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: calc(100% + 2rem);
    max-width: none;
    margin: 0 -1rem;
    height: 48px;
    top: 0;
    clip-path: none;
    border-radius: 0;
  }
  body.theme-galabau .gala-topbar::before,
  body.theme-galabau .gala-topbar::after { display: none; }
  body.theme-galabau .gala-topbar-inner {
    padding: 0 1rem;
    justify-content: space-between;
    width: 100%;
  }
  /* live mobile: social left + Tel. right */
  body.theme-galabau .gala-topbar .social {
    display: flex;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  body.theme-galabau .gala-topbar .social a {
    width: 28px;
    height: 28px;
    border-color: rgba(255,255,255,.55);
  }
  body.theme-galabau .gala-topbar .social img { filter: brightness(0) invert(1); }
  body.theme-galabau .gala-topbar .phone span::before { content: "Tel.: "; }
  body.theme-galabau #header .mod_html {
    display: contents;
  }
  body.theme-galabau .brand {
    order: 1;
    padding: .35rem 0 .35rem 0;
    margin: 0;
  }
  body.theme-galabau .brand img { width: 72px; height: 72px; }
  body.theme-galabau .nav-toggle {
    display: inline-flex;
    order: 2;
    margin: .35rem 0 .35rem auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
    border: 0;
    background: transparent;
    gap: 0;
    justify-content: center;
  }
  body.theme-galabau .nav-toggle-label { display: none; }
  body.theme-galabau .nav-toggle-bars {
    width: 22px;
    height: 2px;
    background: #333;
    box-shadow: 0 7px 0 #333, 0 -7px 0 #333;
  }
  body.theme-galabau .hero-nav { display: none; }
  /* Same element as .nav-main — must stay hidden until #header.is-open */
  body.theme-galabau #header .mod_navigation.nav-main {
    display: none;
    flex: 0 0 100%;
    order: 10;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  body.theme-galabau #header.is-open .mod_navigation.nav-main {
    display: block;
  }
  body.theme-galabau .phone { color: #fff; font-size: .95rem; }
  body.theme-galabau .phone img { filter: brightness(0) invert(1); }

  body.theme-pool #header .inside {
    display: flex;
    flex-wrap: wrap;
    min-height: 72px;
    gap: .5rem 1rem;
  }
  body.theme-pool .brand { order: 1; }
  body.theme-pool .header-cta {
    order: 2;
    margin-left: auto;
    padding: .45rem 1rem;
    font-size: .85rem;
  }
  body.theme-pool .nav-toggle { order: 3; margin-left: .35rem; }
  body.theme-pool .brand img { height: 48px; }
  /* Override desktop display:contents — hide until burger opens */
  body.theme-pool .mod_html,
  body.theme-pool .mod_navigation.nav-main {
    display: block;
  }
  body.theme-pool .mod_navigation.nav-main {
    display: none;
    order: 10;
    flex: 0 0 100%;
    width: 100%;
  }
  body.theme-pool #header.is-open .mod_navigation.nav-main {
    display: block;
  }

  .card-grid, .work-grid, .service-split,
  body.theme-pool .card-grid,
  body.theme-pool .card-grid + .card-grid,
  .footer-grid--gala,
  .footer-grid--pool { grid-template-columns: minmax(0, 1fr); }
  /* bleed images must not inflate grid track past column width */
  .work-card, .work-intro, .card, .service-box { min-width: 0; }
  .work-card { overflow: hidden; }
  .footer-grid--gala .footer-col:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #828c84;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
  }
  .footer-colophon--pool { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 640px) {
  body.theme-pool .header-cta { display: none; }
  body.theme-pool .nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    gap: 0;
    justify-content: center;
  }
  body.theme-pool .nav-toggle-label { display: none; }
  body.theme-pool .nav-toggle-bars {
    width: 18px;
    height: 2px;
    background: #111;
    box-shadow: 0 6px 0 #111, 0 -6px 0 #111; /* 3-line burger */
  }
  body.theme-galabau .brand img { width: 64px; height: 64px; }
  .hero { min-height: 360px; }
  .hero-copy { padding: 1.25rem; }
  .float-call { padding: .65rem 1rem; font-size: .85rem; }
  body.theme-pool .hero-copy { padding: 1.5rem 1.1rem 2rem; }
  body.theme-pool .hero h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); max-width: none; }
  body.theme-pool .lead-band--pool { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  body.theme-pool .pool-tl-media { aspect-ratio: 16 / 12; }
  body.theme-pool .footer-grid--pool { gap: 1.5rem; }
}

/* —— About split —— */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0 2.5rem;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 0;
}
.about-copy h2 span { color: var(--lime-btn); }
.about-portrait { margin: 0; }
.about-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}
.about-portrait figcaption {
  margin-top: .75rem;
  font-weight: 700;
  color: var(--muted);
  font-size: .95rem;
}
.about-split--pool .about-portrait img { min-height: 320px; }

/* —— Galleries —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  margin: 1.5rem 0 2rem;
}
.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  display: block;
  overflow: hidden;
  background: #dfe5ee;
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* Poolbau live-style mosaic (fixed row height, variable widths — matches ONE.com gallery) */
.gallery-grid--pool-mosaic,
.gallery-grid--masonry {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: 1.5rem 0 2rem;
}
.gallery-grid--pool-mosaic .gallery-row,
.gallery-grid--masonry .gallery-row {
  display: flex;
  gap: .45rem;
  height: clamp(170px, 20vw, 277px);
  min-height: 0;
}
.gallery-grid--pool-mosaic .gallery-item,
.gallery-grid--masonry .gallery-item {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: #dfe5ee;
}
.gallery-grid--pool-mosaic .gallery-item img,
.gallery-grid--masonry .gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.theme-pool .gallery-grid--pool-mosaic .gallery-item,
body.theme-pool .gallery-grid--masonry .gallery-item { border-radius: 0; }
.work-glimpse { margin: 2.5rem 0 1rem; }
.work-glimpse > .leaf { margin-left: 0; }
.work-glimpse h2 { margin-top: .2rem; font-size: 2rem; }
.home-gallery { margin: 3rem 0 1rem; }

/* Instagram-style block above footer (GaLaBau live parity) */
.ig-feed {
  text-align: center;
  margin: 3rem 0 2.5rem;
  padding-bottom: .5rem;
}
.ig-feed > .leaf { margin: 0 auto .35rem; display: block; }
.ig-feed h2 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}
.ig-grid {
  gap: 10px;
  margin: 0 auto 1.5rem;
  max-width: 1180px;
}
.ig-item { background: #111; }
.ig-item img { transition: transform .35s ease, opacity .35s ease; }
.ig-item:hover img { transform: scale(1.03); opacity: .92; }
.ig-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  z-index: 2;
  pointer-events: none;
}
.ig-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .65rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: .72rem;
}
.ig-user { font-weight: 700; }
.ig-date { opacity: .9; }
.ig-more { margin: 0; text-align: center; }
.btn-ig-more {
  background: #92bf19 !important;
  color: #fff !important;
  border-color: #92bf19 !important;
  letter-spacing: .1em;
  padding: .75rem 1.9rem;
}
.btn-ig-more:hover {
  background: transparent !important;
  color: #92bf19 !important;
  border-color: #92bf19 !important;
}
.seo-note { display: none; }

/* Instagram-style block above footer (GaLaBau live parity) */
.ig-feed {
  text-align: center;
  margin: 3rem 0 2.5rem;
  padding-bottom: .5rem;
}
.ig-feed > .leaf { margin: 0 auto .35rem; display: block; }
.ig-feed h2 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}
.ig-grid {
  gap: 10px;
  margin: 0 auto 1.5rem;
  max-width: 1180px;
}
.ig-item { background: #111; }
.ig-item img { transition: transform .35s ease, opacity .35s ease; }
.ig-item:hover img { transform: scale(1.03); opacity: .92; }
.ig-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  z-index: 2;
  pointer-events: none;
}
.ig-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .65rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: .72rem;
}
.ig-user { font-weight: 700; }
.ig-date { opacity: .9; }
.ig-more { margin: 0; text-align: center; }
.btn-ig-more {
  background: #92bf19 !important;
  color: #fff !important;
  border-color: #92bf19 !important;
  letter-spacing: .1em;
  padding: .75rem 1.9rem;
}
.btn-ig-more:hover {
  background: transparent !important;
  color: #92bf19 !important;
  border-color: #92bf19 !important;
}
.seo-note { display: none; }

/* —— Split media / benefits / FAQ —— */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}
.split-media--reverse { direction: rtl; }
.split-media--reverse > * { direction: ltr; }
.split-media figure { margin: 0; }
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
body.theme-pool .split-media {
  gap: clamp(1.5rem, 4vw, 3.25rem);
  margin: 3rem 0;
}
body.theme-pool .split-media > div {
  padding: .25rem 0;
  max-width: 32rem;
}
body.theme-pool .split-media--reverse > div {
  justify-self: end;
}
body.theme-pool .split-media h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
body.theme-pool .split-media p,
body.theme-pool .split-media .check-list {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
body.theme-pool .split-media figure {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .08);
  align-self: center;
}
body.theme-pool .split-media img {
  height: auto;
  min-height: 0;
  max-height: 380px;
  aspect-ratio: 4 / 3;
  display: block;
}
.benefit-block { margin: 2.5rem 0; text-align: center; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: left;
  margin-top: 1.25rem;
}
.check-list { padding-left: 1.1rem; color: var(--muted); }
.check-list li { margin: .55rem 0; }
.center-title { text-align: center; }
.faq-wrap { margin: 3rem 0 1rem; }
.faq-wrap .center-actions {
  text-align: center;
  margin: 1.25rem 0 0;
}
.faq-list {
  max-width: 820px;
  margin: 1.25rem auto 2rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: .5rem;
  margin: 0 0 .65rem;
  background: #fff;
  padding: .2rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: .9rem 0;
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  color: var(--lime-btn);
  font-weight: 700;
  line-height: 1;
  transition: transform .32s ease;
}
.faq-item[open] summary::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg); /* + → × / weich statt hartem – */
}
.faq-item__panel {
  overflow: hidden;
}
.faq-item__inner > p:last-child { margin-bottom: 1rem; }
.faq-item p { color: var(--muted); margin: 0 0 1rem; }
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

.page-hero--pool {
  background: var(--band);
  text-align: left;
}
.page-hero--pool h1 { text-align: left; }
body.theme-pool .page-hero { text-align: center; }
body.theme-pool .page-hero--pool { text-align: center; }
body.theme-pool .page-hero--pool h1 { text-align: center; }
body.theme-pool .benefit-grid .card {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,24,40,.06);
}
body.theme-pool .gallery-item { border-radius: 8px; }
body.theme-pool .card-grid { grid-template-columns: repeat(4, 1fr); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,14,20,.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* Form AGB / Datenschutz modal */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 14, 20, .72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.legal-modal[hidden] { display: none !important; }
.legal-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(84vh, 900px);
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
}
.legal-modal__close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #1a2333;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .45rem;
}
.legal-modal__body {
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}
.legal-modal__body h1,
.legal-modal__body h2,
.legal-modal__body h3 {
  color: #1a2333;
  margin: 0 0 .75rem;
  line-height: 1.25;
}
.legal-modal__body h1 { font-size: 1.45rem; }
.legal-modal__body h2 { font-size: 1.2rem; margin-top: 1.35rem; }
.legal-modal__body p { margin: 0 0 .85rem; }
.legal-modal__body ul,
.legal-modal__body ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-modal__loading { margin: 0; color: var(--muted); }
body.theme-pool .legal-modal__close { color: #1a2333; }
body.theme-galabau .legal-modal__body h1,
body.theme-galabau .legal-modal__body h2,
body.theme-galabau .legal-modal__body h3 { color: #2f2f2f; }

@media (max-width: 980px) {
  .about-split, .split-media, .split-media--reverse,
  .benefit-grid, .gallery-grid, .gallery-grid--3, .gallery-grid--4 {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .gallery-grid, .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--pool-mosaic .gallery-row,
  .gallery-grid--masonry .gallery-row { height: clamp(140px, 28vw, 220px); }
}

@media (max-width: 560px) {
  .gallery-grid--pool-mosaic .gallery-row,
  .gallery-grid--masonry .gallery-row {
    flex-wrap: wrap;
    height: auto;
  }
  .gallery-grid--pool-mosaic .gallery-item,
  .gallery-grid--masonry .gallery-item {
    flex: 1 1 calc(50% - .25rem) !important;
    height: 140px;
  }
}

/* —— Service tiles —— */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.service-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  color: #fff !important;
  background: #243028;
}
.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.service-tile span {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.1rem 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  /* long titles e.g. Jahrespflege/Industriepflege/Winterdienst */
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.service-tile:hover img { transform: scale(1.05); }
.service-tiles--pool { grid-template-columns: repeat(3, 1fr); }
body.theme-pool .service-tile { border-radius: 14px; }

/* —— Locations / contact —— */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}
.location-card {
  min-height: 320px;
  background: #92bf19 center/cover no-repeat;
  border-radius: 4px;
  display: grid;
  align-items: start;
  padding: 1.25rem;
}
.location-panel {
  background: rgba(146,191,25,.92);
  color: #fff;
  padding: 1.4rem 1.3rem 1.5rem;
  max-width: 18rem;
}
.location-panel strong { display: block; font-size: 1.15rem; margin-bottom: .4rem; }
.location-panel p { margin: 0 0 1rem; }
.location-panel .pin { margin: 0 0 .35rem; font-size: 1.2rem; }
.location-panel .btn { border-color: #fff; }
.contact-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  margin: 1rem 0 2rem;
  align-items: start;
}
.contact-split a { color: var(--lime-btn); font-weight: 700; text-decoration: none; }
.contact-split .leaf { margin-left: 0; }
.muted { color: var(--muted); font-size: .95rem; }
body.theme-pool .contact-split a { color: #2f6fe4; }

/* —— News —— */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.5rem 0 2rem;
}
.news-card {
  background: #fff;
  border: 1px solid #e6eed4;
  overflow: hidden;
}
.news-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.news-card > div { padding: 1rem 1.05rem 1.2rem; }
.news-card h2 { font-size: 1.2rem; margin: 0 0 .35rem; }
.news-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* —— Mid-page video band (live Revolution Slider video substitute) —— */
.video-band {
  position: relative;
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  background: #1a1a1a;
  line-height: 0;
}
.video-band__media {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 700px);
  object-fit: cover;
  object-position: center;
}

/* —— Hero slider —— */
.hero-slider { overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 0; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(20,24,20,.55);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

/* —— Floating call —— */
.float-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--lime-btn);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: .75rem 1.05rem;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.float-call img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
body.theme-pool .float-call { background: var(--pool, #006c9a); }

@media (max-width: 980px) {
  .service-tiles, .service-tiles--pool, .location-grid, .contact-split, .news-grid {
    grid-template-columns: 1fr;
  }
  .service-tiles { grid-template-columns: 1fr 1fr; }
  .service-tile span { font-size: 1rem; padding: .9rem .75rem; }
}
@media (max-width: 640px) {
  .service-tiles, .service-tiles--pool { grid-template-columns: 1fr; }
}


/* Form layout closer to live (Contao wraps fields in .formbody) */
.ce_form {
  max-width: none;
  margin: 0 0 2rem;
}
.ce_form form { display: block; }
.ce_form .formbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  align-items: start;
}
.ce_form .widget { margin: 0; min-width: 0; }
.ce_form .widget:has(textarea),
.ce_form .widget-submit,
.ce_form .widget-captcha,
.ce_form .widget-checkbox,
.ce_form .widget-explanation {
  grid-column: 1 / -1;
}
.ce_form .checkbox_container {
  border: 0;
  margin: 0;
  padding: 0;
}
.ce_form .checkbox_container > span {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.45;
}
.ce_form .checkbox_container input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  flex: 0 0 auto;
  accent-color: var(--lime-btn, #6b8f3c);
}
body.theme-pool .ce_form .checkbox_container input[type="checkbox"] {
  accent-color: var(--pool, #006c9a);
}
.ce_form .checkbox_container label {
  display: inline;
  font-weight: 400;
  margin: 0;
}
.ce_form .checkbox_container a {
  color: var(--lime-btn, #6b8f3c);
  font-weight: 700;
  text-decoration: underline;
}
body.theme-pool .ce_form .checkbox_container a {
  color: var(--pool, #006c9a);
}
.ce_form .captcha_text {
  display: inline-block;
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.ce_form .error,
.ce_form .widget .error {
  color: #b42318;
  font-size: .9rem;
  margin-top: .35rem;
}
.ce_form .widget.error input,
.ce_form .widget.error textarea,
.ce_form .widget.error select {
  border-color: #b42318;
}
/* Contao confirmation after submit (jumpTo empty → same page) */
.ce_form > .formbody + p,
.mod_form .tl_confirm,
.ce_form .confirmation,
#main .ce_form p:only-child {
  background: #f3f8ec;
  border: 1px solid #cfe0b4;
  border-radius: .75rem;
  padding: 1rem 1.1rem;
  max-width: 40rem;
}
body.theme-pool #main .ce_form p:only-child {
  background: #eef6fb;
  border-color: #b7d4e6;
}
@media (max-width: 700px) {
  .ce_form .formbody { grid-template-columns: 1fr; }
}

/* —— Process / lead band —— */
.process { margin: 3rem 0 2rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 8px 24px rgba(16,24,40,.05);
}
.process-step .num {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--nav, var(--lime-btn));
  margin-bottom: .35rem;
}
.process-step h3 { margin: .2rem 0 .45rem; font-size: 1.1rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.process-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pool, var(--lime-btn));
}
body.theme-pool .process-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--pool);
  color: #fff;
  font-size: .95rem;
  margin-bottom: .65rem;
}

.stats-grid { margin-bottom: 0; }
body.theme-pool .stats { margin-top: -3rem; }
body.theme-pool .home-services { margin-top: 2.5rem; }
body.theme-pool .card-grid.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.theme-pool .stats-grid .card { padding: 1.5rem 1rem; }

/* Leistungen KPI row: .stats > .card-grid (no .stats-grid class on markup) */
body.theme-pool .stats > .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}
body.theme-pool .stats > .card-grid .card {
  padding: 1.25rem 1rem;
  text-align: center;
  min-width: 0;
}
body.theme-pool .stats > .card-grid .card h3,
body.theme-pool .stats > .card-grid .card .card__value {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
}
body.theme-pool .stats > .card-grid .card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  overflow-wrap: anywhere;
}

/* Pool live-like icon service cards */
.pool-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2.75rem;
}
.pool-icon-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: 0 8px 24px rgba(16,24,40,.04);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.pool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #eef6fb;
  color: var(--pool);
}
.pool-icon img { width: 1.7rem; height: 1.7rem; display: block; }
.pool-icon-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0e1323;
}
.pool-icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  flex: 1;
}
.btn-sm {
  padding: .55rem 1.1rem;
  font-size: .72rem;
  align-self: flex-start;
  margin-top: .25rem;
}

/* Pool process timeline (live zig-zag) */
.pool-timeline {
  position: relative;
  max-width: 980px;
  margin: 2.5rem auto 1rem;
  padding: 0 .5rem;
}
.pool-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d7dee8;
  transform: translateX(-50%);
}
.pool-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 0 0 2.75rem;
}
.pool-tl-item:nth-child(even) .pool-tl-media { order: 2; }
.pool-tl-item:nth-child(even) .pool-tl-body { order: 1; text-align: right; }
.pool-tl-item:nth-child(even) .pool-tl-body .btn,
.pool-tl-item:nth-child(even) .process-kicker { margin-left: auto; }
.pool-tl-num {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--pool);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--display);
}
.pool-tl-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #1a2333;
}
.pool-tl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pool-tl-body h3 { margin: .15rem 0 .45rem; font-size: 1.2rem; }
.pool-tl-body p { margin: 0; color: var(--muted); }

.pool-about { margin: 3rem 0 2rem; }
.pool-about-lead { max-width: 46rem; margin-left: auto; margin-right: auto; }
.pool-about-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
}
.pool-about-points li {
  background: var(--band);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

.lead-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--band);
  padding: 3rem max(1.5rem, calc(50vw - 590px));
  margin-top: 2rem;
  margin-bottom: 1rem;
}
body.theme-pool .lead-band--pool {
  background: var(--pool);
  color: #fff;
}
body.theme-pool #main .lead-band--pool h2,
body.theme-pool .lead-band--pool h2 {
  color: #fff !important;
}
body.theme-pool .lead-band--pool p { color: #fff; opacity: .92; }
.lead-band-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.lead-band h2 { margin-top: 0; }
.lead-person {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.5rem;
}
.lead-person img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.55);
}
.lead-person strong,
.lead-person span { display: block; color: #fff; }
.lead-person strong { font-size: 1.05rem; }
.lead-person span { font-size: .9rem; opacity: .85; }
.lead-person--ink { margin: 1.5rem 0 1.25rem; }
.lead-person--ink strong,
.lead-person--ink span { color: var(--ink); }
.lead-person--ink span { opacity: .75; }
.lead-person--ink img { border-color: var(--line); }
.pool-about-points--page {
  margin: 1.25rem 0 0;
  grid-template-columns: 1fr;
}
.about-split--pool .pool-about-points--page li { text-align: left; }
body.theme-pool .about-split--pool .about-copy > .btn {
  display: inline-flex;
  margin-top: .25rem;
}
body.theme-pool .about-split--pool .about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* CTA unter FAQ-Liste / kurze Content-CTAs mittig */
body.theme-pool .prose-block + .center-actions,
body.theme-pool .page-hero--pool .center-actions {
  text-align: center;
}
.lead-form-wrap .ce_form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16,24,40,.08);
  border: 0;
  padding: 1.4rem;
  color: var(--ink);
}
body.theme-pool .lead-band--pool .ce_form .widget > label,
body.theme-pool .lead-band--pool .ce_form .checkbox_container label {
  color: var(--ink);
}
body.theme-pool .lead-band--pool .ce_form .widget-submit button,
body.theme-pool .lead-band--pool .ce_form .widget-submit input[type="submit"] {
  background: var(--pool);
  border-color: var(--pool);
  width: 100%;
}
.legal-prose {
  max-width: 48rem;
  margin: 1.5rem auto 3rem;
  line-height: 1.65;
  color: #333;
}
.legal-prose h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.25rem;
}
.legal-prose h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 .65rem;
}
.legal-prose h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.legal-prose p { margin: 0 0 .85rem; }
.legal-prose ul, .legal-prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-prose a { color: #92bf19; }
body.theme-pool .legal-prose a { color: var(--pool-accent, #1a6b8a); }
.legal-prose img { max-width: 220px; height: auto; }

@media (max-width: 980px) {
  .process-grid, .lead-band-inner, .pool-icon-grid, .pool-about-points { grid-template-columns: 1fr; }
  body.theme-pool .stats > .card-grid,
  body.theme-pool .card-grid.stats-grid,
  body.theme-pool .stats-row { grid-template-columns: 1fr; }
  .pool-icon-grid { grid-template-columns: 1fr 1fr; }
  .pool-timeline::before { left: 1.1rem; transform: none; }
  .pool-tl-item,
  .pool-tl-item:nth-child(even) {
    grid-template-columns: 1fr;
    padding-left: 3rem;
  }
  .pool-tl-item:nth-child(even) .pool-tl-media,
  .pool-tl-item:nth-child(even) .pool-tl-body { order: initial; text-align: left; }
  .pool-tl-num { left: 1.1rem; }
}
@media (max-width: 640px) {
  .pool-icon-grid,
  body.theme-pool .stats-row { grid-template-columns: 1fr; }
}



/* Form layout closer to live (Contao wraps fields in .formbody) */
.ce_form {
  max-width: none;
  margin: 0 0 2rem;
}
.ce_form form { display: block; }
.ce_form .formbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  align-items: start;
}
.ce_form .widget { margin: 0; min-width: 0; }
.ce_form .widget:has(textarea),
.ce_form .widget-submit,
.ce_form .widget-captcha,
.ce_form .widget-checkbox,
.ce_form .widget-explanation {
  grid-column: 1 / -1;
}
.ce_form .checkbox_container {
  border: 0;
  margin: 0;
  padding: 0;
}
.ce_form .checkbox_container > span {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.45;
}
.ce_form .checkbox_container input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  flex: 0 0 auto;
  accent-color: var(--lime-btn, #6b8f3c);
}
body.theme-pool .ce_form .checkbox_container input[type="checkbox"] {
  accent-color: var(--pool, #006c9a);
}
.ce_form .checkbox_container label {
  display: inline;
  font-weight: 400;
  margin: 0;
}
.ce_form .checkbox_container a {
  color: var(--lime-btn, #6b8f3c);
  font-weight: 700;
  text-decoration: underline;
}
body.theme-pool .ce_form .checkbox_container a {
  color: var(--pool, #006c9a);
}
@media (max-width: 700px) {
  .ce_form .formbody { grid-template-columns: 1fr; }
}

/* —— Rasenabo Kostenrechner —— */
.kostenrechner {
  margin: 2.5rem auto 2rem;
  max-width: 40rem;
  text-align: center;
}
.kostenrechner > h2 {
  text-align: center;
}
.kostenrechner-lead {
  margin: 0 auto 1rem;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.5;
}
.kostenrechner-box {
  border: 2px dashed #c5c5c5;
  border-radius: 8px;
  padding: 1.25rem 1.35rem 1.4rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  text-align: left;
}
.kostenrechner-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: .75rem 1rem;
  align-items: center;
  margin: 0 0 .85rem;
}
.kostenrechner-row label {
  font-weight: 700;
  margin: 0;
}
.kostenrechner-field { position: relative; min-width: 0; }
.kostenrechner-field input,
.kostenrechner-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: .6rem;
  padding: .7rem .85rem;
  font: inherit;
  font-family: inherit;
  color: inherit;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}
.kostenrechner-field textarea {
  min-height: 5.5rem;
  line-height: 1.45;
}
.kostenrechner-field input:focus,
.kostenrechner-field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(146, 191, 25, .22);
}
body.theme-pool .kostenrechner-field input:focus,
body.theme-pool .kostenrechner-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 108, 154, .2);
}
.kostenrechner-actions {
  margin: .65rem 0 0;
}
.kostenrechner-actions .btn,
#calculateCost {
  display: inline-block;
  padding: .7rem 1.45rem;
  border-radius: 999px;
  border: 0;
  background: var(--lime-btn) !important;
  color: #fff !important;
  text-transform: uppercase;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.kostenrechner-actions .btn:hover,
#calculateCost:hover {
  filter: brightness(.95);
}
.kostenrechner-result {
  margin: 1rem 0 0;
  min-height: 1.5em;
  line-height: 1.5;
  font-weight: 700;
}
.kostenrechner-result.form-error { color: #b42318; }
.kostenrechner-result.form-success { color: #3a7a12; }
.kostenrechner-attrib {
  margin: .85rem 0 0;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}
/* Honeypot — off-screen, not display:none (bots often skip that) */
.nmk-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.nmk-crm-inquiry-result[hidden] { display: none !important; }
.nmk-crm-inquiry-result.form-success {
  margin: 1.25rem 0 .25rem;
  text-align: center;
  font-size: 1.05rem;
}
.kostenrechner-actions .btn[disabled],
.kostenrechner-actions .btn.is-busy {
  opacity: .65;
  cursor: wait;
  pointer-events: none;
}
.kostenrechner-suggest {
  list-style: none;
  margin: .45rem 0 0;
  padding: .4rem;
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  max-height: 16rem;
  overflow: auto;
}
.kostenrechner-suggest li {
  margin: 0;
  padding: 0;
}
.kostenrechner-suggest li + li {
  margin-top: .15rem;
}
#main .kostenrechner-suggest button,
.kostenrechner-suggest button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: 0 !important;
  border-radius: .45rem;
  background: transparent !important;
  padding: .8rem 1rem !important;
  margin: 0;
  font: inherit;
  font-weight: 500;
  color: #2f2f2f !important;
  text-transform: none;
  cursor: pointer;
  line-height: 1.4;
  box-shadow: none !important;
}
#main .kostenrechner-suggest button:hover,
#main .kostenrechner-suggest button:focus,
#main .kostenrechner-suggest button:focus-visible,
#main .kostenrechner-suggest button.is-active,
.kostenrechner-suggest button:hover,
.kostenrechner-suggest button:focus,
.kostenrechner-suggest button:focus-visible,
.kostenrechner-suggest button.is-active {
  outline: none;
  background: #eef5dc !important;
  color: #2f2f2f !important;
  filter: none;
}
body.theme-pool #main .kostenrechner-suggest button:hover,
body.theme-pool #main .kostenrechner-suggest button.is-active,
body.theme-pool .kostenrechner-suggest button:hover,
body.theme-pool .kostenrechner-suggest button.is-active {
  background: #e4eef4 !important;
}
@media (max-width: 700px) {
  .kostenrechner-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}

/* NMK EMS — same box metrics as Kontakt .ce_form */
.module-nmk-ems-subscribe,
.module-nmk-ems-unsubscribe,
.module-nmk-ems-confirm {
  margin: 0;
  padding: 0;
}
.module-nmk-ems-subscribe > .ce_form,
.module-nmk-ems-unsubscribe > .ce_form,
.module-nmk-ems-confirm > .nmk-ems-form {
  max-width: none;
  width: 100%;
  margin: 1.5rem 0 3.5rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-sizing: border-box;
}
/* E-Mail alone (full row); Vorname + Nachname as a pair */
.nmk-ems-subscribe .formbody > .widget-email,
.nmk-ems-unsubscribe .formbody > .widget-email {
  grid-column: 1 / -1;
}
.page-hero .muted,
.page-hero .nmk-ems-hero-note {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.page-hero .nmk-ems-hero-note {
  margin: .75rem auto 0;
  max-width: 42rem;
}
.page-hero .muted a {
  color: var(--lime-btn, #6b8f3c);
  font-weight: 700;
}
body.theme-pool .page-hero .muted a {
  color: var(--pool, #006c9a);
}
.nmk-ems-msg {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: .6rem;
  font-weight: 600;
}
.nmk-ems-msg.ok {
  background: #eef5dc;
  color: #2f4a1f;
}
.nmk-ems-msg.error {
  background: #f8e6e6;
  color: #7a1f1f;
}
body.theme-pool .nmk-ems-msg.ok {
  background: #e4eef4;
  color: #1f3a4a;
}

/* —— Cookie-/Einwilligungsleiste —— */
html:not(.consent-external-ok) [data-nmk-consent="external"] {
  display: none !important;
}
.nmk-consent-hint {
  margin: 1rem auto 2rem;
  max-width: 40rem;
  padding: 1rem 1.15rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}
html.consent-external-ok .nmk-consent-hint {
  display: none;
}
.cookie-bar {
  position: fixed;
  z-index: 12000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: #1d2520;
  color: #f5f5f0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}
.cookie-bar[hidden] {
  display: none !important;
}
.cookie-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-bar__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.cookie-bar__text a {
  color: #c8e6a0;
  font-weight: 600;
}
body.theme-pool .cookie-bar__text a {
  color: #8fd4f0;
}
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.cookie-bar__btn {
  border-radius: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}
.cookie-bar__btn--primary {
  background: #7ea64b;
  color: #fff;
  border-color: #7ea64b;
}
body.theme-pool .cookie-bar__btn--primary {
  background: #006c9a;
  border-color: #006c9a;
}
.cookie-bar__btn--ghost {
  background: transparent;
  color: #f5f5f0;
  border-color: rgba(255, 255, 255, 0.45);
}
