@font-face {
  font-family: 'Bebas';
  src: url('../fonts/BebasNeue_bold.ttf') format('truetype');
  font-display: swap; font-weight: 500;
}
@font-face {
  font-family: 'Bebasregular';
  src: url('../fonts/BebasNeue_regular.ttf') format('truetype');
  font-display: swap; font-weight: 400;
}

/* ============================================================================
 * AQUATEC J6 — Inner page "types"
 * Auto-generated by aquatec-hero-generator.sh
 * Hero Canon: v1.2 (Session 24)
 * Gradient: #1e1b4b (dark, left) -> #06b6d4 (light, right)
 * ============================================================================ */

/* ---- [01] BASE ---- */

/* ---- [02] HIDE legacy artifacts ---- */
body:has(#corner) .mod-breadcrumbs__wrapper { display: none !important; }
body.aquatec-site #youtube_reviews { display: none !important; }

/* ============================================================================
   [03] HERO #corner V2 (canon v1.2)
   ============================================================================ */

body:has(#corner) .aeo-summary { display: none; }
body:has(#corner) .inner-banner { display: none; }

#corner {
  --corner-skew: clamp(45px, 6.7vw, 100px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * var(--aq-header-h, 80px));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%231e1b4b'/><stop offset='1' stop-color='%2306b6d4'/></linearGradient></defs><polygon points='0,0 100,0 100,85 0,100' fill='url(%23g)'/></svg>") no-repeat center / 100% 100%;
  overflow: visible;
  isolation: isolate;
}

#corner > div {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  column-gap: 56px;
  align-items: center;
  max-width: var(--aq-container, 1366px);
  margin: 0 auto;
  padding: calc(var(--aq-header-h, 80px) - 48px) 24px 77px;
  min-height: clamp(420px, 52vh, 580px);
}

#corner img.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.28));
  animation: hero-image-float 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-image-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  #corner img.hero__image { animation: none !important; }
}

#h1_anim {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

#h1_anim h1 {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.0vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  text-wrap: pretty;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#h1_anim p {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
}

#h1_anim .get_in_touch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: var(--aq-orange, #f58025);
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 10px 24px -8px rgba(196, 87, 8, 0.45),
    0 4px 10px -2px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#h1_anim .get_in_touch::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.25s ease;
}

#h1_anim .get_in_touch:hover {
  background: #ff8c2e;
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px -8px rgba(196, 87, 8, 0.55),
    0 6px 14px -2px rgba(0, 0, 0, 0.22);
}

#h1_anim .get_in_touch:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  #corner { --corner-skew: clamp(34px, 5.3vw, 67px); }
  #corner > div {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding: calc(var(--aq-header-h, 80px) + 0px) 20px 72px;
    min-height: auto;
    text-align: center;
  }
  #corner img.hero__image {
    max-width: 425px;
    margin: 0 auto;
  }
  #h1_anim { align-items: center; }
  #h1_anim p { max-width: 100%; text-align: center; }
  #h1_anim p br.desktop { display: none; }
}

@media (max-width: 602px) {
  #corner { --corner-skew: clamp(25px, 5vw, 46px); }
  #h1_anim h1 { font-size: clamp(24px, 7.5vw, 38px); }
  #corner img.hero__image {
    max-width: 300px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.25));
    animation-duration: 5s;
  }
  @keyframes hero-image-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}

/* ============================================================================
   [04] HERO TOP FORCE — header transparent, body gradient match
   ============================================================================ */

body.aquatec-site.inner:has(#corner) #site-header:not(.scrolled),
body.aquatec-site.inner:has(#corner) #site-header:not(.scrolled) .site-header__inner {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.aquatec-site.inner:has(#corner) {
  background: linear-gradient(to right, #1e1b4b 0%, #06b6d4 100%) !important;
  background-color: #1e1b4b !important;
}

body.aquatec-site.inner:has(#corner) #main,
body.aquatec-site.inner:has(#corner) main.site-main,
body.aquatec-site.inner:has(#corner) .com-content-article,
body.aquatec-site.inner:has(#corner) .com-content-article > .item-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.aquatec-site.inner:has(#corner) #corner {
  margin-top: calc(-1 * var(--aq-header-h, 80px)) !important;
}

/* ============================================================================
   [09] HERO SHADOW (skew drop-shadow + overflow:visible parents)
   ============================================================================ */

:root {
  --aq-skew-shadow: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.32));
  --aq-skew-shadow-mobile: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

#corner { filter: var(--aq-skew-shadow); }

@media (max-width: 768px) {
  #corner { filter: var(--aq-skew-shadow-mobile); }
}

html, body { overflow-x: clip; }

body:has(#corner) main,
body:has(#corner) .com-content-article,
body:has(#corner) .com-content-article__body,
body:has(#corner) .item-page,
body:has(#corner) #center {
  overflow: visible !important;
}

/* === TYPES PAGE SECTIONS START === */

body.aquatec-site.inner:has(#corner),
body.aquatec-site:has(#corner) {
  background-color: var(--aq-bg, #f7f9fc) !important;
  background-size: 100% 100vh !important;
  background-repeat: no-repeat !important;
  background-position: 0 0 !important;
}
html[data-theme="dark"] body.aquatec-site:has(#corner) { background-color: #262e3a !important; }
html body.aquatec-site main { background: #f7f9fc !important; }
html[data-theme="dark"] body.aquatec-site main { background: #262e3a !important; }

body.aquatec-site #corner { position: relative; z-index: 2; }
body.aquatec-site .types-section { position: relative; z-index: 1; }

:where(#types-intro, #types-yama, #types-septik, #types-bioseptik, #types-aerob,
        #types-compare, #types-howto, #types-norms, #types-footer) h2 {
  font-family: 'Bebas', 'Bebas Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  margin: 0 0 clamp(20px, 2.5vw, 32px) !important;
  color: var(--aq-text, #1b2935) !important;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.08) !important;
}
:where(#types-compare, #types-howto, #types-norms) h2 { text-align: center !important; }
html[data-theme="dark"] :where(#types-intro, #types-yama, #types-septik, #types-bioseptik,
                                 #types-aerob, #types-compare, #types-howto, #types-norms,
                                 #types-footer) h2 { color: #e8edf3 !important; }

.types-section {
  padding: clamp(36px, 4.4vw, 64px) clamp(20px, 4vw, 60px);
  background: var(--aq-bg, #f7f9fc);
}
html[data-theme="dark"] .types-section { background: #262e3a !important; }
.types-section__container { max-width: 980px; margin: 0 auto; }

#types-intro .types-section__container {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6;
  color: var(--aq-text, #1b2935);
}
html[data-theme="dark"] #types-intro .types-section__container { color: #e8edf3; }

.types-type {
  border-radius: 14px;
  background: var(--aq-card-bg, #fff);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.15);
  padding: clamp(26px, 3vw, 40px);
  border-left: 6px solid #6b7280;
}
html[data-theme="dark"] .types-type {
  background: #2d3748 !important;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45) !important;
}
#types-yama       .types-type { border-left-color: #b91c1c; }
#types-septik     .types-type { border-left-color: #d97706; }
#types-bioseptik  .types-type { border-left-color: #ca8a04; }
#types-aerob      .types-type { border-left-color: #10b981; }

.types-type__lead {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6;
  color: var(--aq-text, #1b2935);
  margin: 0 0 clamp(18px, 2vw, 24px);
}
html[data-theme="dark"] .types-type__lead { color: #e8edf3; }

.types-meta { display: grid; gap: 12px; }
.types-meta__item {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px; line-height: 1.5;
  background: rgba(15, 23, 42, 0.04);
  color: var(--aq-text, #1b2935);
}
html[data-theme="dark"] .types-meta__item {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf3;
}
.types-meta__item strong {
  font-weight: 700; color: #1b2935;
  text-transform: uppercase;
  font-size: 13px; letter-spacing: 0.04em;
}
html[data-theme="dark"] .types-meta__item strong { color: #cfd6dd; }
.types-meta__item--metric { border-left: 3px solid #06b6d4; }
.types-meta__item--pro    { border-left: 3px solid #10b981; }
.types-meta__item--con    { border-left: 3px solid #b91c1c; }
.types-meta__item--lim    { border-left: 3px solid #d97706; }
.types-meta__item--cert   { border-left: 3px solid #6366f1; }
.types-meta__item a {
  color: #0066a5; text-decoration: underline; text-underline-offset: 3px;
}
html[data-theme="dark"] .types-meta__item a { color: #2cc1f5; }
@media (max-width: 700px) {
  .types-meta__item { grid-template-columns: 1fr; gap: 6px; }
}

.types-compare__wrap { max-width: 1240px; margin: 0 auto; overflow-x: auto; }
.types-compare {
  width: 100%; border-collapse: collapse;
  font-family: 'Manrope', sans-serif;
  background: var(--aq-card-bg, #fff);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .types-compare {
  background: #2d3748 !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45) !important;
}
.types-compare thead { background: linear-gradient(135deg, #1e1b4b 0%, #06b6d4 100%); }
.types-compare th {
  padding: 14px 16px; text-align: center;
  font-family: 'Bebas', 'Bebas Neue', sans-serif;
  font-weight: 500; font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
}
.types-compare th:first-child { text-align: left; }
.types-compare td {
  padding: 14px 16px; font-size: 15px; text-align: center;
  color: var(--aq-text, #1b2935);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
html[data-theme="dark"] .types-compare td { color: #e8edf3; border-bottom-color: rgba(255,255,255,0.08); }
.types-compare td:first-child { text-align: left; font-weight: 600; }
.types-compare tbody tr:hover { background: rgba(6, 182, 212, 0.04); }
.types-compare td:last-child { background: rgba(16, 185, 129, 0.08); font-weight: 500; }
html[data-theme="dark"] .types-compare td:last-child { background: rgba(16, 185, 129, 0.15); }
.types-compare tbody tr:last-child td { border-bottom: 0; }
.types-compare__note {
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-style: italic;
  color: var(--aq-text-muted, #6b7c8c);
  margin: 14px 0 0; text-align: center;
}
html[data-theme="dark"] .types-compare__note { color: #a3b2c2; }

@media (max-width: 700px) {
  .types-compare thead { display: none; }
  .types-compare, .types-compare tbody,
  .types-compare tr, .types-compare td { display: block; width: 100%; }
  .types-compare tr {
    margin-bottom: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px; overflow: hidden;
  }
  .types-compare td {
    text-align: left; padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .types-compare td::before {
    content: attr(data-label) ":  ";
    font-weight: 700; color: #1b2935;
    text-transform: uppercase;
    font-size: 11px; letter-spacing: 0.04em;
    display: inline-block; margin-right: 6px;
  }
  html[data-theme="dark"] .types-compare td::before { color: #cfd6dd; }
  .types-compare td:first-child {
    background: linear-gradient(135deg, #1e1b4b 0%, #06b6d4 100%);
    color: #fff;
    font-family: 'Bebas', 'Bebas Neue', sans-serif;
    font-weight: 500; font-size: 17px;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 12px 14px;
  }
  .types-compare td:first-child::before { display: none; }
  .types-compare td:last-child { background: rgba(16, 185, 129, 0.10); }
}

.types-howto__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.types-howto__item {
  padding: 18px 22px;
  background: var(--aq-card-bg, #fff);
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.12);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55;
  color: var(--aq-text, #1b2935);
}
html[data-theme="dark"] .types-howto__item {
  background: #2d3748; color: #e8edf3;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4);
}
.types-howto__item strong { font-weight: 700; }
.types-howto__item:nth-child(1) strong { color: #b91c1c; }
.types-howto__item:nth-child(2) strong { color: #d97706; }
.types-howto__item:nth-child(3) strong { color: #ca8a04; }
.types-howto__item:nth-child(4) strong { color: #10b981; }
.types-cta-group {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}
.types-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #f58025 0%, #ea580c 100%);
  color: #fff !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 16px;
  text-decoration: none !important;
  box-shadow: 0 10px 22px -8px rgba(245, 128, 37, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.types-cta-pill:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -8px rgba(245,128,37,0.55); }
.types-cta-pill--alt {
  background: linear-gradient(135deg, #06b6d4 0%, #1e1b4b 100%);
  box-shadow: 0 10px 22px -8px rgba(6, 182, 212, 0.45);
}
.types-cta-pill--alt:hover { box-shadow: 0 16px 28px -8px rgba(6, 182, 212, 0.55); }

.types-norms__body { font-family: 'Manrope', sans-serif; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--aq-text, #1b2935); }
.types-norms__body p { margin: 0 0 16px; }
.types-norms__body strong { color: #1e1b4b; }
html[data-theme="dark"] .types-norms__body { color: #e8edf3; }
html[data-theme="dark"] .types-norms__body strong { color: #2cc1f5; }
.types-norms__cta-wrap { text-align: center; margin-top: clamp(20px, 2.5vw, 30px); }

#types-footer { padding-top: clamp(20px, 2.5vw, 32px); padding-bottom: clamp(50px, 6vw, 90px); }
#types-footer .types-section__container {
  font-family: 'Manrope', sans-serif;
  font-size: 15px; line-height: 1.65;
  color: var(--aq-text-muted, #6b7c8c);
  font-style: italic; text-align: center;
  max-width: 820px;
}
html[data-theme="dark"] #types-footer .types-section__container { color: #a3b2c2; }
#types-footer a { color: #0066a5; text-decoration: underline; }
html[data-theme="dark"] #types-footer a { color: #2cc1f5; }

/* === PATCH P1: rim fix — Cassiopeia <main> padding visible as grey frame === */
html body.aquatec-site main,
html body.aquatec-site main#main,
html body.aquatec-site main.site-main,
html body.aquatec-site .site-main,
html body.inner main,
html body.inner .site-main,
html body .com-content-article,
html body .com-content-article__body,
html body [itemprop="articleBody"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  background: #f7f9fc !important;
}
html[data-theme="dark"] body.aquatec-site main,
html[data-theme="dark"] body.aquatec-site main#main,
html[data-theme="dark"] body.aquatec-site main.site-main,
html[data-theme="dark"] body.aquatec-site .site-main,
html[data-theme="dark"] body.inner main,
html[data-theme="dark"] body.inner .site-main,
html[data-theme="dark"] body .com-content-article,
html[data-theme="dark"] body .com-content-article__body,
html[data-theme="dark"] body [itemprop="articleBody"] {
  background: #262e3a !important;
}

@media (prefers-reduced-motion: reduce) {
  .types-cta-pill { transition: none !important; transform: none !important; }
}
/* === TYPES PAGE SECTIONS END === */
