/* =========================================================
   Eco Stolz – Cinematic Water-Tech Stylesheet
   ========================================================= */

:root {
  --ink: #18213E;
  --ink-2: #1f2a4d;
  --deep: #1f2a4d;
  --teal: #EF793E;
  --teal-bright: #EF793E;
  --aqua: #EF793E;
  --sand: #f4f1ea;
  --cloud: #f8fbfc;
  --white: #ffffff;
  --muted: #5d7682;
  --line: rgba(24, 33, 62, 0.12);

  --grad-deep: linear-gradient(160deg, #18213E 0%, #1f2a4d 55%, #28365f 100%);
  --grad-aqua: linear-gradient(120deg, #F4925A 0%, #EF793E 100%);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --r: 18px;
  --shadow: 0 30px 70px -30px rgba(24, 33, 62, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cloud);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92vw); margin: 0 auto; }

/* Visually hidden, but available to search engines & screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--aqua); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.lead--light { color: rgba(255,255,255,0.82); }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-aqua); z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(239, 121, 62,0.7);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0; transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(24, 33, 62, 0.82);
  backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
}
.header__inner { width: min(var(--maxw), 92vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 34px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.nav { display: flex; align-items: center; gap: 1.1rem; }
.nav__link {
  color: rgba(255,255,255,0.86); font-size: 0.92rem; font-weight: 500;
  position: relative; transition: color 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--aqua); transition: width 0.3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--grad-aqua); color: #18213E; padding: 0.55rem 1.25rem; border-radius: 999px; font-weight: 600;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { color: #18213E; transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(239, 121, 62,0.7); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s var(--ease); border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.95rem 2rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  will-change: transform;
}
.btn--primary { background: var(--grad-aqua); color: #18213E; box-shadow: 0 14px 36px -14px rgba(239, 121, 62,0.8); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(239, 121, 62,0.95); }
.btn--ghost { border: 1.5px solid var(--teal); color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(24, 33, 62,0.62) 0%, rgba(24, 33, 62,0.45) 40%, rgba(24, 33, 62,0.9) 100%),
    radial-gradient(120% 80% at 20% 30%, rgba(239, 121, 62, 0.30), transparent 60%);
}
.hero__content { position: relative; z-index: 2; width: min(var(--maxw), 92vw); margin: 0 auto; color: #fff; padding-top: 4rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); margin-bottom: 1.4rem; }
.hero__title { font-size: clamp(2.8rem, 7.5vw, 6rem); font-weight: 500; margin-bottom: 1.6rem; }
.hero__title span { display: block; }
.hero__title--accent {
  background: linear-gradient(100deg, #F4925A, #EF793E);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero__sub { max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.86); margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.75);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 46px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--aqua); animation: scrollDown 1.8s var(--ease) infinite;
}
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: rgba(255,255,255,0.85); overflow: hidden; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.marquee__track { display: flex; gap: 2.4rem; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: 0.04em; color: var(--aqua); }
.marquee__track span:nth-child(even) { color: rgba(255,255,255,0.4); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem { background: var(--cloud); }
.problem__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.problem__media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.parallax-wrap { overflow: hidden; }
.parallax-img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.problem__badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; background: rgba(24, 33, 62,0.85);
  backdrop-filter: blur(8px); color: #fff; padding: 1rem 1.3rem; border-radius: 14px; display: flex; gap: 0.8rem; align-items: center;
}
.problem__badge-num { font-family: var(--serif); font-size: 2.2rem; color: var(--aqua); line-height: 1; }
.problem__badge-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); line-height: 1.3; }
.problem__list { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.problem__list li { padding-left: 1.8rem; position: relative; color: var(--muted); }
.problem__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px;
  background: var(--grad-aqua); border-radius: 50%; box-shadow: 0 0 0 4px rgba(239, 121, 62,0.18);
}
.problem__list strong { color: var(--ink); }

/* ---------- Solution (video) ---------- */
.solution { color: #fff; overflow: hidden; }
.solution__video-bg { position: absolute; inset: 0; z-index: 0; }
.solution__video { width: 100%; height: 100%; object-fit: cover; }
.solution__video-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(24, 33, 62,0.92) 0%, rgba(24, 33, 62,0.7) 50%, rgba(6,34,47,0.55) 100%); }
.solution__content { position: relative; z-index: 1; max-width: 760px; }
.solution__pills { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.pill {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); color: #fff;
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ---------- Products ---------- */
.products { background: var(--white); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card__img { height: 200px; background-size: cover; background-position: center; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.08); }
.product-card__body { padding: 1.7rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-card__body h3 span {
  display: inline-block; background: var(--grad-aqua);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic;
}
.product-card__for { font-family: var(--sans); color: var(--teal); font-weight: 600; font-size: 0.85rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; }
.product-card__body > p { color: var(--muted); font-size: 0.96rem; }
.product-card__body ul { list-style: none; margin: 0.4rem 0 1rem; display: grid; gap: 0.45rem; }
.product-card__body ul li { font-size: 0.9rem; padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.product-card__body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-bright); font-weight: 700; }
.product-card__link { margin-top: auto; font-weight: 600; color: var(--teal); transition: gap 0.3s, color 0.3s; }
.product-card__link:hover { color: var(--teal-bright); }
.product-card--featured { border: 2px solid var(--teal-bright); box-shadow: 0 30px 70px -34px rgba(239, 121, 62,0.55); }
.product-card__flag { position: absolute; top: 1rem; right: 1rem; z-index: 2; background: var(--grad-aqua); color: #18213E; font-size: 0.72rem; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- How ---------- */
.how { background: var(--grad-deep); color: #fff; overflow: hidden; }
.how .eyebrow { color: var(--aqua); }
.how__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.how__steps { list-style: none; margin-top: 2rem; display: grid; gap: 1.4rem; }
.how__steps li { display: flex; gap: 1.2rem; align-items: flex-start; }
.how__num { font-family: var(--serif); font-size: 1.5rem; color: var(--aqua); min-width: 2.4rem; }
.how__steps h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.15rem; color: #fff; }
.how__steps p { color: rgba(255,255,255,0.66); font-size: 0.95rem; }
.how__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #0a2230; }
.how__media img { width: 100%; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); display: block; background: linear-gradient(120deg, #FFC9A0, #EF793E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat__label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem; display: block; }

/* ---------- Family ---------- */
.family { background: var(--sand); }
.family__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.family__card { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.family__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.family__card:hover img { transform: scale(1.07); }
.family__card figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(24, 33, 62,0.92)); color: #fff; }
.family__card figcaption h3 { margin-bottom: 0.3rem; }
.family__card figcaption p { font-size: 0.9rem; color: rgba(255,255,255,0.82); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; position: relative; }
.testimonial::before { content: "“"; font-family: var(--serif); font-size: 4rem; color: var(--aqua); line-height: 0.6; opacity: 0.4; }
.testimonial p { font-family: var(--serif); font-size: 1.12rem; font-style: italic; color: var(--ink-2); margin: 0.5rem 0 1.2rem; }
.testimonial footer { font-size: 0.88rem; color: var(--teal); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--cloud); }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq__list { display: grid; gap: 0.9rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 600; line-height: 1.4; margin: 0; color: var(--ink); }
.faq__item summary::after { content: "+"; font-size: 1.6rem; color: var(--teal); transition: transform 0.3s var(--ease); font-weight: 300; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 1.3rem; font-size: 0.97rem; max-width: 64ch; }

/* ---------- CTA ---------- */
.cta { color: #fff; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 33, 62,0.85), rgba(24, 33, 62,0.94)); }
.cta__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta__content .lead { margin: 1.2rem auto 2.2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__address { margin-top: 2rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1fr 2.7fr; gap: 3rem; }
.footer__logo { height: 38px; margin-bottom: 1rem; }
.footer__brand p { max-width: 36ch; font-size: 0.95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.8rem; }
.footer__cols h3 { font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--aqua); font-weight: 700; margin-bottom: 0.9rem; }
.footer__cols h4 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aqua); margin-bottom: 0.9rem; }
.footer__cols a, .footer__cols span { display: block; font-size: 0.92rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; transition: color 0.25s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { width: min(var(--maxw), 92vw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---------- Reveal animations (only hidden when JS is active) ---------- */
html.js .reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }

html.js [data-zoom] { transform: scale(1.12); transition: transform 1.4s var(--ease); }
html.js .in [data-zoom], html.js [data-zoom].in { transform: scale(1); }
.zoom-on-scroll img { transition: transform 1.4s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .problem__grid, .how__grid { grid-template-columns: 1fr; }
  .products__grid, .testimonials__grid, .footer__cols { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; }
  .how__media { order: -1; }
}

@media (max-width: 680px) {
  .products__grid, .testimonials__grid, .family__grid, .footer__inner, .footer__cols, .footer__bottom { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { gap: 2rem; }
  .hero { height: 92vh; }
  .cta__actions, .hero__actions { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  [data-zoom] { transform: none; }
}

/* =========================================================
   Subpage components (Kalk im Wasser etc.)
   ========================================================= */

/* ---------- Subpage hero ---------- */
.subhero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 3.5rem; }
.subhero__media { position: absolute; inset: 0; z-index: 0; }
.subhero__media video, .subhero__media img { width: 100%; height: 100%; object-fit: cover; }
.subhero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(24, 33, 62,0.5) 0%, rgba(24, 33, 62,0.45) 38%, rgba(24, 33, 62,0.93) 100%),
    radial-gradient(120% 80% at 18% 25%, rgba(239, 121, 62,0.35), transparent 60%);
}
.subhero__content { position: relative; z-index: 2; width: min(var(--maxw), 92vw); margin: 0 auto; color: #fff; padding-top: 7rem; }
.subhero__eyebrow { text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.76rem; font-weight: 600; color: var(--aqua); margin-bottom: 1rem; }
.subhero__content h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 18ch; margin: 0.4rem 0 1.2rem; }
.subhero__content h1 .accent {
  background: linear-gradient(100deg, #F7A35C, #EF793E 60%, #FFC9A0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic;
}
.subhero__lead { max-width: 62ch; color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.4vw, 1.22rem); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.72); margin-bottom: 0.4rem; }
.breadcrumb a { color: rgba(255,255,255,0.72); transition: color 0.25s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.45; }
.breadcrumb [aria-current] { color: var(--aqua); }

/* ---------- Wasserhärte cards ---------- */
.hardness__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hardness__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 2.1rem 1.8rem; text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hardness__card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.hardness__card .h-name { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--teal); display: block; }
.hardness__card .h-val { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); display: block; margin: 0.5rem 0 0.1rem; }
.hardness__card .h-unit { font-size: 0.82rem; color: var(--muted); display: block; margin-bottom: 0.7rem; }
.hardness__card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Big fact highlight ---------- */
.bigfact { background: var(--grad-deep); color: #fff; text-align: center; }
.bigfact__inner { max-width: 820px; margin: 0 auto; }
.bigfact__num { font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 6rem); line-height: 1; background: linear-gradient(120deg, #FFC9A0, #EF793E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.bigfact__lead { color: rgba(255,255,255,0.82); margin: 1rem auto 0; max-width: 52ch; }

/* responsive */
@media (max-width: 900px) {
  .hardness__grid { grid-template-columns: 1fr; }
  .subhero { min-height: 64vh; }
}

/* =========================================================
   Nav dropdown (Wasserwissen)
   ========================================================= */
.nav__item--has-sub { position: relative; display: flex; align-items: center; }
.nav__caret { font-size: 0.65em; margin-left: 0.35rem; opacity: 0.7; transition: transform 0.25s var(--ease); display: inline-block; }
.nav__item--has-sub:hover .nav__caret,
.nav__item--has-sub:focus-within .nav__caret { transform: rotate(180deg); }
/* invisible hover-bridge so the menu doesn't close in the gap */
.nav__item--has-sub::before { content: ""; position: absolute; top: 100%; left: -0.6rem; right: -0.6rem; height: 1rem; }
.nav__sub {
  position: absolute; top: calc(100% + 0.7rem); left: 0; min-width: 240px;
  background: rgba(24, 33, 62, 0.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 0.5rem;
  display: flex; flex-direction: column; gap: 0.1rem; z-index: 101;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.75);
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sublink {
  color: rgba(255, 255, 255, 0.82); padding: 0.65rem 0.9rem; border-radius: 9px;
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav__sublink:hover { background: rgba(239, 121, 62, 0.16); color: #fff; }
.nav__sublink[aria-current] { color: var(--aqua); }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); flex-direction: column; align-items: flex-start;
    gap: 1.05rem; background: rgba(24, 33, 62, 0.98); backdrop-filter: blur(18px);
    padding: 5.5rem 2rem 2.5rem; transform: translateX(100%); transition: transform 0.45s var(--ease);
    z-index: 99; overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  /* backdrop-filter macht den Header zum Bezugsrahmen und laesst das fixierte Menue zusammenschrumpfen -> auf Mobil abschalten */
  .header, .header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.scrolled { background: rgba(24, 33, 62, 0.97); }
  .nav__link { font-size: 1.08rem; }
  .nav-toggle { display: flex; z-index: 100; }
  .nav__item--has-sub { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav__item--has-sub::before { display: none; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; backdrop-filter: none; border: 0; box-shadow: none;
    padding: 0.45rem 0 0.3rem 0.9rem; margin-top: 0.3rem; min-width: 0; gap: 0.4rem; z-index: auto;
  }
  .nav__sublink { font-size: 0.95rem; padding: 0.1rem 0; white-space: normal; }
}

/* =========================================================
   Wasseraufbereitung – h5/h6, Vorteile, verschachtelter Wissensblock
   ========================================================= */
h5 { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; }
h6 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal); }

/* Vorteils-Karten */
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.benefit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.9rem 1.6rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.benefit-card .b-tag { font-family: var(--serif); font-size: 1.7rem; color: var(--aqua); display: block; line-height: 1; margin-bottom: 0.8rem; }
.benefit-card h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.benefit-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Verschachtelter Wissensblock (h3 > h4 > h5 > h6) */
.depth h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.6rem; }
.depth p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.5rem; }
.depth .lvl3 { margin-bottom: 2.2rem; }
.depth .lvl4 { padding-left: 1.2rem; border-left: 2px solid var(--line); margin-top: 1rem; }
.depth h4 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--ink); }
.depth .lvl5 { padding-left: 1rem; border-left: 2px solid rgba(239, 121, 62, 0.28); margin-top: 0.9rem; }
.depth h5 { margin: 0 0 0.25rem; color: var(--ink); }
.depth h6 { margin: 0.7rem 0 0.1rem; }

@media (max-width: 900px) { .benefits__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Sanfter Orange-Schimmer rund um die ganze Seite
   ========================================================= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  box-shadow: inset 0 0 150px 10px rgba(239, 121, 62, 0.20);
}

/* Zwei-Spalten-Vergleich (Enthärtung vs. Aufbereitung) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.9rem; }
.compare-card.is-bad { background: #fbf4f1; }
.compare-card.is-good { border-color: var(--teal); box-shadow: 0 24px 60px -30px rgba(239, 121, 62, 0.4); }
.compare-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.compare-card .c-tag { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.8rem; }
.compare-card.is-bad .c-tag { color: #b0654a; }
.compare-card.is-good .c-tag { color: var(--teal); }
.compare-card ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.6rem; }
.compare-card li { padding-left: 1.7rem; position: relative; color: var(--ink-2); font-size: 0.95rem; }
.compare-card.is-bad li::before { content: "✕"; position: absolute; left: 0; color: #c2765c; font-weight: 700; }
.compare-card.is-good li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* =========================================================
   Produktseiten (TESL® II MINI / MEDIUM / MAX)
   ========================================================= */
.prodhero { position: relative; background: var(--grad-deep); color: #fff; padding: clamp(7.5rem, 13vw, 10rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.prodhero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.prodhero__media { display: flex; align-items: center; justify-content: center; }
.prodhero__media img { width: 100%; height: 440px; object-fit: contain; filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.55)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.prodhero .breadcrumb { margin-bottom: 1rem; }
.prodhero__eyebrow { color: var(--aqua); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.9rem; }
.prodhero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; margin-bottom: 1rem; }
.prodhero h1 .accent { background: var(--grad-aqua); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.prodhero__desc { color: rgba(255, 255, 255, 0.82); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 52ch; margin-bottom: 1.3rem; }
.prodhero__price { font-family: var(--serif); font-size: 1.6rem; color: var(--aqua); margin-bottom: 1.6rem; }
.prodhero__price span { color: rgba(255, 255, 255, 0.55); font-family: var(--sans); font-size: 0.85rem; }

.specs { background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid rgba(255,255,255,0.07); }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.spec { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 1.5rem 1.4rem; }
.spec__label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--aqua); font-weight: 600; }
.spec__value { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.5rem); margin-top: 0.4rem; line-height: 1.15; }

.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.model-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model-card.is-active { border-color: var(--teal); box-shadow: 0 24px 60px -34px rgba(239, 121, 62, 0.5); }
.model-card h3 span { color: var(--teal); font-style: italic; }
.model-card p { color: var(--muted); font-size: 0.93rem; margin-top: 0.3rem; }
.model-card .model-link { color: var(--teal); font-weight: 600; font-size: 0.9rem; display: inline-block; margin-top: 0.8rem; }

@media (max-width: 880px) {
  .prodhero__grid { grid-template-columns: 1fr; text-align: center; }
  .prodhero__media { order: -1; }
  .prodhero__media img { height: 300px; }
  .prodhero__desc { margin-left: auto; margin-right: auto; }
  .prodhero .breadcrumb { text-align: left; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .models-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .specs-grid { grid-template-columns: 1fr; } }

/* Lesbarkeit: problem__list auf dunklem .how-Hintergrund hell darstellen */
.how .problem__list strong { color: #fff; }
.how .problem__list li { color: rgba(255, 255, 255, 0.82); }

/* Original-Icons in Benefit-Karten */
.b-icon { width: 66px; height: 66px; object-fit: contain; display: block; margin-bottom: 0.9rem; }

/* =========================================================
   Zertifikate – Galerie & Checkliste
   ========================================================= */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cert-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-card__img { aspect-ratio: 3 / 4; background: #eef2f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.cert-card__label { padding: 0.85rem 1rem; font-size: 0.84rem; font-weight: 600; color: var(--ink); text-align: center; }
.cert-card__label span { display: block; font-weight: 400; color: var(--muted); font-size: 0.74rem; margin-top: 0.15rem; }

.cert-checks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem 1.6rem; margin-top: 1.5rem; }
.cert-checks li { padding-left: 1.7rem; position: relative; color: var(--ink-2); font-size: 0.96rem; }
.cert-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } .cert-checks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cert-grid { grid-template-columns: 1fr; } .cert-checks { grid-template-columns: 1fr; } }

/* Studien – Foto-Dokumentation */
.studie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.studie-fig { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0; }
.studie-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #eef2f5; display: block; }
.studie-fig figcaption { padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--ink-2); }
.studie-fig figcaption strong { display: block; color: var(--teal); margin-bottom: 0.15rem; }
@media (max-width: 760px) { .studie-grid { grid-template-columns: 1fr; } }

/* Kontakt – Karte & Kontaktdaten */
.map-embed { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; }
.contact-info { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.contact-info li { padding-left: 2.2rem; position: relative; }
.contact-info li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--grad-aqua); }
.contact-info strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); }
.contact-info a, .contact-info span { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 680px) { .map-embed iframe { height: 320px; } }

/* ===== Kontaktformular ===== */
.cform { max-width: 780px; margin: 0 auto; }
.cform__grid { display: grid; gap: 1.15rem; }
.cform__row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .cform__row--2 { grid-template-columns: 1fr 1fr; } }
.cform__field { display: flex; flex-direction: column; gap: 0.5rem; }
.cform__field label, .cform__legend { font-weight: 600; font-size: 0.92rem; color: var(--ink); letter-spacing: 0.01em; }
.cform .req { color: var(--aqua); }
.cform input[type="text"], .cform input[type="email"], .cform textarea {
  width: 100%; padding: 0.92rem 1.05rem; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.cform input::placeholder, .cform textarea::placeholder { color: rgba(24,33,62,0.4); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(239,121,62,0.16); }
.cform textarea { min-height: 160px; resize: vertical; }
.cform__legend { display: block; margin-bottom: 0.7rem; }
.cform__checks { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cform__checks { grid-template-columns: 1fr 1fr; } }
.cform__check { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.8rem 0.95rem; border: 1px solid var(--line);
  border-radius: 13px; cursor: pointer; transition: border-color .2s, background .2s; font-size: 0.92rem; color: var(--ink); line-height: 1.35; }
.cform__check:hover { border-color: rgba(239,121,62,0.55); }
.cform__check input { margin-top: 0.12rem; accent-color: var(--aqua); width: 1.1rem; height: 1.1rem; flex: none; }
.cform__check:has(input:checked) { border-color: var(--aqua); background: rgba(239,121,62,0.07); }
.cform__actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 0.3rem; }
.cform__note { font-size: 0.82rem; color: rgba(24,33,62,0.6); }
.cform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cform__status { display: none; margin-top: 0.4rem; padding: 1.15rem 1.3rem; border-radius: 14px; font-size: 1rem; line-height: 1.5; }
.cform__status--ok { display: block; background: rgba(39,150,86,0.1); color: #1d7a44; border: 1px solid rgba(39,150,86,0.32); }
.cform__status--err { display: block; background: rgba(214,69,69,0.09); color: #b23535; border: 1px solid rgba(214,69,69,0.32); }
.cform__status a { color: inherit; font-weight: 600; text-decoration: underline; }

/* ===== Barrierefreiheit: Skip-Link & Fokus ===== */
.skip-link { position: absolute; left: 0; top: 0; transform: translateY(-120%); z-index: 2000;
  background: var(--ink); color: #fff; padding: 0.8rem 1.3rem; border-radius: 0 0 12px 0; font-weight: 600;
  text-decoration: none; transition: transform .2s; }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--aqua); outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }

/* ===== Footer: Rechtslinks ===== */
.footer__legal { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
.footer__legal a, .footer__legal-btn { color: rgba(255,255,255,0.72); font-size: 0.86rem; text-decoration: none;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.86rem; padding: 0; transition: color .2s; }
.footer__legal a:hover, .footer__legal-btn:hover { color: var(--aqua); }

/* ===== Rechtstext-Seiten (Impressum / Datenschutz) ===== */
.legal { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--bg, #fff); }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.4rem; }
.legal .legal__updated { color: rgba(24,33,62,0.55); font-size: 0.92rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.6rem 0 0.9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink); }
.legal h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; color: var(--ink); }
.legal h4 { font-size: 1rem; margin: 1.3rem 0 0.4rem; color: var(--deep); }
.legal p, .legal li { color: rgba(24,33,62,0.82); line-height: 1.75; margin-bottom: 1rem; font-size: 1rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--teal); text-decoration: underline; word-break: break-word; }
.legal address { font-style: normal; line-height: 1.8; margin: 0.6rem 0 1.4rem; color: var(--ink); }
.legal__card { background: #f7f8fb; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.7rem; margin: 1.2rem 0 2rem; }
.legal__card p { margin-bottom: 0.3rem; }

/* ===== Cookie-Consent ===== */
.cookie { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(160%);
  width: min(680px, calc(100vw - 2rem)); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(24,33,62,0.45);
  padding: 1.6rem 1.7rem; z-index: 1600; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.cookie.is-visible { transform: translateX(-50%) translateY(0); }
.cookie h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.cookie p { font-size: 0.92rem; line-height: 1.6; color: rgba(24,33,62,0.78); margin: 0 0 1rem; }
.cookie p a { color: var(--teal); text-decoration: underline; }
.cookie__options { display: none; margin: 0 0 1.1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.cookie.is-open .cookie__options { display: block; }
.cookie__opt { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; }
.cookie__opt label { font-weight: 600; font-size: 0.92rem; }
.cookie__opt small { display: block; font-weight: 400; color: rgba(24,33,62,0.6); font-size: 0.82rem; margin-top: 0.15rem; }
.cookie__opt input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--aqua); flex: none; }
.cookie__opt input:disabled { opacity: 0.6; }
.cookie__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie__actions .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
.cookie__link { background: none; border: 0; color: rgba(24,33,62,0.6); font: inherit; font-size: 0.86rem;
  text-decoration: underline; cursor: pointer; padding: 0.7rem 0.4rem; }
@media (max-width: 520px) { .cookie__actions .btn, .cookie__actions .cookie__link { width: 100%; text-align: center; } }

/* Consent-Gate für eingebettete Medien (z.B. Google Maps) */
.consent-gate { position: relative; }
.consent-gate__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  text-align: center; padding: 2.5rem 1.5rem; background: #eef1f6; border: 1px dashed var(--line); border-radius: inherit; min-height: 320px; }
.consent-gate__ph p { max-width: 440px; color: rgba(24,33,62,0.72); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.consent-gate.is-loaded .consent-gate__ph { display: none; }

/* Cookie-Buttons auf hellem Grund */
.cookie .btn--ghost { border: 1px solid var(--ink); color: var(--ink); background: none; }
.cookie .btn--ghost:hover { background: var(--ink); color: #fff; }
.cookie__save { display: none; }
.cookie.is-open .cookie__save { display: inline-block; }
.cookie.is-open #cookieSettings { display: none; }

.consent-gate:not(.is-loaded) iframe { display: none; }

/* ===== Sprachumschalter ===== */
.header__inner { justify-content: flex-start; gap: 1.1rem; }
.header__logo { margin-right: auto; }
.lang { position: relative; flex: none; }
.lang__btn { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.26); color: #fff; padding: 0.45rem 0.75rem; border-radius: 999px;
  cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1; transition: background .2s, border-color .2s; }
.lang__btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.lang__globe { width: 16px; height: 16px; flex: none; }
.lang__caret { font-size: 0.7em; opacity: 0.85; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 168px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 46px -14px rgba(24,33,62,0.45);
  padding: 0.4rem; display: none; flex-direction: column; z-index: 1200; }
.lang.is-open .lang__menu { display: flex; }
.lang__menu button { display: flex; align-items: center; gap: 0.6rem; text-align: left; background: none; border: 0;
  padding: 0.62rem 0.8rem; border-radius: 9px; cursor: pointer; font: inherit; font-size: 0.92rem; color: var(--ink); transition: background .15s; }
.lang__menu button:hover { background: rgba(239,121,62,0.1); }
.lang__menu button[aria-current="true"] { color: var(--teal); font-weight: 700; }
.lang__flag { font-size: 1.05rem; line-height: 1; }
@media (max-width: 1080px) { .lang { margin-left: auto; } }

/* Google-Translate-Standard-UI ausblenden */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon { display: none !important; }
#google_translate_element { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Footer-Credit (Soul Marketing) */
.footer__credit-link { color: rgba(255,255,255,0.72); text-decoration: underline; transition: color .2s; }
.footer__credit-link:hover { color: var(--aqua); }

/* ===== Zertifikate & Urkunden: Liste (ohne Datum) ===== */
.cert-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.cert-listcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem 1.8rem; box-shadow: 0 24px 60px -34px rgba(24,33,62,0.4); }
.cert-listcard h3 { font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); font-weight: 700; margin-bottom: 1.1rem; }
.cert-listcard ul { list-style: none; }
.cert-listcard li { position: relative; padding-left: 1.6rem; margin-bottom: 0.72rem; color: var(--ink); font-size: 0.96rem; line-height: 1.5; }
.cert-listcard li:last-child { margin-bottom: 0; }
.cert-listcard li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--aqua); font-weight: 700; }
@media (max-width: 900px) { .cert-lists { grid-template-columns: 1fr; } }

/* ===== Zertifikate: überlappender Scan-Stapel (Datum verdeckt) ===== */
.cert-pile { position: relative; width: min(600px, 94%); margin: 0 auto clamp(2.5rem,5vw,4rem); aspect-ratio: 1 / 0.92; }
.cert-pile img { position: absolute; width: 48%; border-radius: 5px; border: 6px solid #fff; background: #fff;
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.55); }
.cert-pile img:nth-child(1) { left: 4%;  top: 3%;  transform: rotate(-7deg); z-index: 1; }
.cert-pile img:nth-child(2) { left: 29%; top: 0;   transform: rotate(4deg);  z-index: 2; }
.cert-pile img:nth-child(3) { left: 52%; top: 4%;  transform: rotate(-4deg); z-index: 3; }
.cert-pile img:nth-child(4) { left: 15%; top: 24%; transform: rotate(6deg);  z-index: 4; }
.cert-pile img:nth-child(5) { left: 40%; top: 28%; transform: rotate(-5deg); z-index: 5; }
.cert-pile img:nth-child(6) { left: 2%;  top: 48%; transform: rotate(3deg);  z-index: 6; }
.cert-pile img:nth-child(7) { left: 28%; top: 52%; transform: rotate(-6deg); z-index: 7; }
.cert-pile img:nth-child(8) { left: 51%; top: 46%; transform: rotate(5deg);  z-index: 8; }

/* ===== Zertifikate: Original-Layout (Liste links, Kaskade rechts) ===== */
.cert-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.cert-textcol h3 { font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aqua); font-weight: 700; margin: 2rem 0 0.9rem; }
.cert-simplelist { list-style: none; margin-bottom: 0.4rem; }
.cert-simplelist li { position: relative; padding-left: 1.4rem; margin-bottom: 0.62rem; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.cert-simplelist li::before { content: "·"; position: absolute; left: 0.35rem; top: -0.05rem; color: var(--aqua); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.cert-cascade { position: relative; width: 100%; aspect-ratio: 1 / 1.5; }
.cert-cascade img { position: absolute; width: 52%; border: 1px solid rgba(0,0,0,0.1); background: #fff; box-shadow: 0 18px 44px -16px rgba(0,0,0,0.5); }
.cert-cascade img:nth-child(1) { left: 1%;  top: 0;   z-index: 1; }
.cert-cascade img:nth-child(2) { left: 46%; top: 5%;  z-index: 2; }
.cert-cascade img:nth-child(3) { left: 9%;  top: 15%; z-index: 3; }
.cert-cascade img:nth-child(4) { left: 40%; top: 24%; z-index: 4; }
.cert-cascade img:nth-child(5) { left: 19%; top: 33%; z-index: 5; }
.cert-cascade img:nth-child(6) { left: 3%;  top: 44%; z-index: 6; }
.cert-cascade img:nth-child(7) { left: 43%; top: 52%; z-index: 7; }
.cert-cascade img:nth-child(8) { left: 22%; top: 61%; z-index: 8; }
@media (max-width: 860px) { .cert-layout { grid-template-columns: 1fr; } .cert-cascade { aspect-ratio: 1 / 1.35; margin-top: 1.5rem; } }

/* ===== Bewerbungsformular: Datei-Upload ===== */
.cform input[type="file"] { width: 100%; padding: 0.8rem 1rem; border: 1px dashed var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cform input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 0.9rem; padding: 0.5rem 1rem; border: 0; border-radius: 999px; background: var(--grad-aqua); color: #18213E; cursor: pointer; }

/* ===== Formular: Datenschutz-Einwilligung (Pflicht-Checkbox) ===== */
.cform__consent { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0.2rem 0 0.4rem; font-size: 0.92rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.cform__consent input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--teal); cursor: pointer; }
.cform__consent a { color: var(--teal); text-decoration: underline; }
.cform__consent a:hover { text-decoration: none; }
