/* ============ KLARWERK polish layer ============ */

/* ---------- Loading screen ---------- */
#kw-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #000000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 600ms ease, visibility 600ms ease;
}
#kw-loader.kw-loader-hide { opacity: 0; visibility: hidden; pointer-events: none; }
#kw-loader img {
  width: 52px; height: 52px;
  animation: kwLoaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(0,183,165,0.55));
}
#kw-loader .kw-loader-name {
  font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 500;
  letter-spacing: -0.03em; color: #ffffff;
}
#kw-loader .kw-loader-bar {
  width: 148px; height: 2px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,0.10); position: relative;
}
#kw-loader .kw-loader-bar::after {
  content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  border-radius: 999px; background: #00B7A5;
  animation: kwLoaderSweep 1.1s ease-in-out infinite;
}
@keyframes kwLoaderPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.9); opacity: 0.75; } }
@keyframes kwLoaderSweep { 0% { left: -40%; } 100% { left: 100%; } }

/* ---------- Scroll progress bar ---------- */
#kw-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, #00B7A5, rgba(0,183,165,0.55));
  box-shadow: 0 0 12px rgba(0,183,165,0.65);
  z-index: 9998; pointer-events: none;
  transition: width 80ms linear;
}

/* ---------- Scroll reveal ---------- */
.kw-reveal {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}
.kw-reveal.kw-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--kw-delay, 0ms);
}

/* ---------- Card hover lift (portfolio, pricing, services) ---------- */
.kw-lift { transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 350ms ease, border-color 350ms ease !important; }
.kw-lift:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,183,165,0.22) !important; }

/* ---------- Hero: fill the viewport, center content ---------- */
@media (min-width: 861px) {
  [data-screen-label="01 Hero"] > div[style*="max-width"] {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 140px !important; padding-bottom: 120px !important;
    box-sizing: border-box;
  }
}

/* ---------- Mobile / tablet fixes ---------- */
@media (max-width: 860px) {
  /* Navbar: drop the center link row, tighten paddings */
  [data-screen-label="00 Navbar"] { padding: 8px 8px 8px 14px !important; }
  [data-screen-label="00 Navbar"] > div:nth-of-type(1) { display: none !important; }
  [data-screen-label="00 Navbar"] a[href="#kontakt"] { padding: 9px 13px !important; font-size: 13px !important; }

  /* Hero: tighter vertical rhythm on small screens */
  [data-screen-label="01 Hero"] > div[style*="max-width"] { padding: 130px 20px 80px !important; }

  /* Sections: 110px desktop padding is too heavy on phones */
  [data-screen-label] > div[style*="padding: 110px"] { padding: 68px 20px !important; }

  /* Footer + stats grids breathe better */
  [data-screen-label="02 Stats"] > div { gap: 28px !important; }
}

@media (max-width: 480px) {
  [data-screen-label="01 Hero"] h1 { font-size: 38px !important; }
  [data-screen-label="01 Hero"] > div[style*="max-width"] { padding: 118px 18px 64px !important; }
}

/* ---------- Highlighter badge (hero + every section label) ---------- */
.kw-badge, .kw-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;          /* never stretch inside a flex column */
  vertical-align: middle;
  max-width: 100%;
  padding: 5px 15px 5px 5px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  transition: border-color 240ms ease, transform 240ms ease;
}
.kw-badge:hover, .kw-label:hover {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 45%, transparent);
}
.kw-badge-tag {
  display: inline-block;
  flex-shrink: 0;
  background: var(--kw-accent, #00B7A5);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #ffffff;
  box-shadow: 0 1px 40px color-mix(in srgb, var(--kw-accent, #00B7A5) 80%, transparent);
}
.kw-badge-text {
  font-size: 15px;
  letter-spacing: -0.3px;
  color: #ffffff;
  white-space: nowrap;
}

/* ---------- Section CTA button ---------- */
.kw-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 14px;
  background: var(--kw-accent, #00B7A5);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--kw-accent, #00B7A5) 25%, transparent);
  transition: transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms ease, background 220ms ease;
}
.kw-cta::after { content: '\2192'; transition: transform 220ms ease; }
.kw-cta:hover {
  background: color-mix(in srgb, var(--kw-accent, #00B7A5) 86%, #000000);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--kw-accent, #00B7A5) 42%, transparent);
  color: #ffffff !important;
}
.kw-cta:hover::after { transform: translateX(4px); }
.kw-cta-ghost {
  background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(153,153,153,0.06));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}
.kw-cta-ghost:hover {
  background: linear-gradient(0deg, rgba(255,255,255,0.08), rgba(153,153,153,0.09));
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 50%, transparent);
  box-shadow: 0 14px 44px rgba(0,0,0,0.4);
}

/* ---------- FAQ: box + plus-chip toggle ---------- */
.kw-plus {
  position: relative;
  display: inline-flex;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 250ms ease, border-color 250ms ease;
}
.kw-plus::before, .kw-plus::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: #ffffff; border-radius: 1px;
  transform: translate(-50%, -50%);
}
.kw-plus::before { width: 12px; height: 2px; }
.kw-plus::after { width: 2px; height: 12px; transition: transform 250ms ease, opacity 250ms ease; }
#faq details { transition: border-color 250ms ease, background 250ms ease; }
#faq details[open] {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 50%, transparent) !important;
  background: linear-gradient(0deg, color-mix(in srgb, var(--kw-accent, #00B7A5) 10%, transparent), rgba(97,97,97,0.06)) !important;
}
#faq details[open] .kw-plus { background: var(--kw-accent, #00B7A5); border-color: transparent; }
#faq details[open] .kw-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* ---------- Ambient section lighting (top-left + bottom-right teal) ---------- */
#diagnose, #methode, #arbeiten, #leistungen, #vergleich, #preise, #stimmen, #faq, #kontakt { position: relative; }
#diagnose::before, #methode::before, #arbeiten::before, #leistungen::before, #vergleich::before, #preise::before, #stimmen::before, #faq::before, #kontakt::before {
  content: '';
  position: absolute; top: -140px; left: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--kw-accent, #00B7A5) 8%, transparent) 0%, transparent 66%);
  pointer-events: none;
}
#diagnose::after, #methode::after, #arbeiten::after, #leistungen::after, #vergleich::after, #preise::after, #stimmen::after, #faq::after, #kontakt::after {
  content: '';
  position: absolute; bottom: -140px; right: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--kw-accent, #00B7A5) 6%, transparent) 0%, transparent 66%);
  pointer-events: none;
}

/* ---------- Navbar: language switch matches CTA height ---------- */
[data-screen-label="00 Navbar"] > div:last-child > div:first-child {
  border-radius: 12px !important;
  padding: 3px !important;
}
[data-screen-label="00 Navbar"] > div:last-child > div:first-child button {
  padding: 9px 13px !important;
  border-radius: 9px !important;
}

/* ---------- Pricing: featured badge needs overflow ---------- */
#preise [style*="grid-template-columns"] > div { overflow: visible; }

/* ---------- Hero chips with icons ---------- */
.kw-hchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 8px;
  background: #131313; border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px; color: rgba(255,255,255,0.72); letter-spacing: -0.2px;
  transition: border-color 220ms ease, color 220ms ease;
}
.kw-hchip svg { color: var(--kw-accent, #00B7A5); flex-shrink: 0; }
.kw-hchip:hover { border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 40%, transparent); color: #fff; }

/* ---------- Stats marquee ---------- */
.kw-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.kw-mq-track { display: flex; width: max-content; gap: 0; animation: kwMarquee 42s linear infinite; }
.kw-marquee:hover .kw-mq-track { animation-play-state: paused; }
.kw-mq-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 30px; font-size: 15px; letter-spacing: -0.3px;
  color: rgba(255,255,255,0.72); white-space: nowrap;
}
.kw-mq-ic {
  width: 17px; height: 17px; flex-shrink: 0;
  background: var(--kw-accent, #00B7A5);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--kw-accent, #00B7A5) 55%, transparent));
  -webkit-mask: var(--kw-mq-icon) center / contain no-repeat;
  mask: var(--kw-mq-icon) center / contain no-repeat;
}
.kw-mq-ic[data-ic="rocket"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="euro"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8.2a6 6 0 1 0 0 7.6'/%3E%3Cpath d='M4 10.5h9'/%3E%3Cpath d='M4 13.5h9'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="clock"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="user"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="server"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01'/%3E%3Cpath d='M6 18h.01'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="zap"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="shield"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.kw-mq-ic[data-ic="key"] { --kw-mq-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3'/%3E%3C/svg%3E"); }
@keyframes kwMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Arbeiten work cards ---------- */
.kw-work-media img, .kw-work-media video { transition: transform 600ms cubic-bezier(0.22,1,0.36,1); }
.kw-lift:hover .kw-work-media img, .kw-lift:hover .kw-work-media video { transform: scale(1.06); }
.kw-work-cta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 10px;
  background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff !important; font-size: 13px; font-weight: 500; letter-spacing: -0.2px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.kw-work-cta:hover {
  background: var(--kw-accent, #00B7A5);
  border-color: transparent; transform: translateY(-1px);
  box-shadow: 0 8px 26px color-mix(in srgb, var(--kw-accent, #00B7A5) 40%, transparent);
  color: #fff !important;
}

/* ---------- Vergleich: 3-Spalten-Karten ---------- */
.kw-vgl3 { overflow: visible; }
.kw-vgl3-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 7px 14px; border-radius: 6px; background: var(--kw-accent, #00B7A5); color: #ffffff;
  font-size: 12px; font-weight: 700; letter-spacing: -0.2px; white-space: nowrap;
  box-shadow: 0 1px 62px var(--kw-accent, #00B7A5);
}
.kw-vgl3-head { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 6px; }
.kw-vgl3-name { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 500; letter-spacing: -0.4px; }
.kw-vgl3-tag { margin-top: 5px; font-size: 13.5px; color: #9A9AA2; letter-spacing: -0.2px; }
.kw-vgl3-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14.5px; letter-spacing: -0.2px;
}
.kw-vgl3-row:last-child { border-bottom: none; padding-bottom: 0; }
.kw-vgl3-k { color: #9A9AA2; flex-shrink: 0; }
.kw-vgl3-v { text-align: right; color: rgba(255,255,255,0.62); }
.kw-vgl3:has(.kw-vgl3-badge) .kw-vgl3-v { color: #ffffff; font-weight: 500; }

/* ---------- Testimonial carousel ---------- */
.kw-carousel-nav { display: flex; gap: 10px; }
.kw-carousel-btn {
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(153,153,153,0.06));
  border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.kw-carousel-btn:hover {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 55%, transparent);
  background: color-mix(in srgb, var(--kw-accent, #00B7A5) 12%, rgba(255,255,255,0.04)); transform: translateY(-1px);
}
.kw-carousel-btn:active { transform: translateY(0); }
.kw-carousel-viewport { overflow: hidden; }
.kw-carousel-track {
  display: flex; gap: 20px;
  transition: transform 520ms cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.kw-testimonial {
  flex: 0 0 auto; width: min(400px, 82vw);
  display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(0deg, color-mix(in srgb, var(--kw-accent, #00B7A5) 15%, transparent), rgba(97,97,97,0.09));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 30px;
  transition: transform 320ms ease, border-color 320ms ease;
}
.kw-testimonial:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 30%, transparent); }

/* ---------- Contact form (Velour spec, teal accent) ---------- */
.kw-form {
  position: relative;
  background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(153,153,153,0.06));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 34px;
}
.kw-form-title { font-size: 22px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 22px; }
.kw-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kw-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.kw-field label { font-size: 14px; font-weight: 500; letter-spacing: -0.2px; margin-bottom: 8px; color: rgba(255,255,255,0.85); }
.kw-input {
  width: 100%; box-sizing: border-box; padding: 13px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; font-family: 'DM Sans', sans-serif; font-size: 16px; letter-spacing: -0.2px;
  outline: none; resize: vertical; transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.kw-input::placeholder { color: rgba(255,255,255,0.38); }
.kw-input:focus {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 90%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kw-accent, #00B7A5) 18%, transparent);
  background: rgba(255,255,255,0.08);
}
.kw-check { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 22px; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.66); }
.kw-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.kw-check-box {
  flex-shrink: 0; width: 19px; height: 19px; margin-top: 1px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.06);
  position: relative; transition: background 180ms ease, border-color 180ms ease;
}
.kw-check input:checked + .kw-check-box {
  background: var(--kw-accent, #00B7A5); border-color: transparent;
  box-shadow: 0 0 14px color-mix(in srgb, var(--kw-accent, #00B7A5) 55%, transparent);
}
.kw-check input:checked + .kw-check-box::after {
  content: ''; position: absolute; left: 6px; top: 2.5px; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.kw-check input:focus-visible + .kw-check-box { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kw-accent, #00B7A5) 25%, transparent); }
.kw-form-sent {
  padding: 13px 16px; margin-bottom: 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--kw-accent, #00B7A5) 40%, transparent);
  background: linear-gradient(0deg, color-mix(in srgb, var(--kw-accent, #00B7A5) 15%, transparent), rgba(97,97,97,0.09));
  font-size: 14px; line-height: 1.5;
}
.kw-form-submit {
  width: 100%; padding: 15px 20px; border: none; border-radius: 14px; cursor: pointer;
  background: var(--kw-accent, #00B7A5); color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.2px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--kw-accent, #00B7A5) 25%, transparent);
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.kw-form-submit:hover { background: color-mix(in srgb, var(--kw-accent, #00B7A5) 86%, #000); transform: translateY(-2px); box-shadow: 0 14px 44px color-mix(in srgb, var(--kw-accent, #00B7A5) 42%, transparent); }
@media (max-width: 480px) { .kw-form-grid2 { grid-template-columns: 1fr; } .kw-form { padding: 26px; } }

/* ---------- Methode scroll activation ---------- */
.kw-mphase { position: relative; }
.kw-mphase.kw-methode-on .kw-micon {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 60%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--kw-accent, #00B7A5) 35%, transparent);
}

/* ---------- Section sublines ---------- */
.kw-subline {
  margin: 0 0 46px; max-width: 560px;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.2px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Tag chips (showcase) ---------- */
.kw-tag {
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: -0.2px;
  transition: border-color 200ms ease, color 200ms ease;
}
.kw-lift:hover .kw-tag { border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.8); }

/* ---------- Mobile navigation: burger + overlay ---------- */
.kw-burger { display: none; }
.kw-mobilemenu { display: none; }
@media (max-width: 860px) {
  .kw-navlinks { display: none !important; }
  .kw-navright { display: none !important; }
  .kw-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer;
    background: transparent; border: 1px solid rgba(255,255,255,0.08);
  }
  .kw-burger span { display: block; height: 2px; width: 20px; border-radius: 2px; background: #fff;
    transition: transform 300ms cubic-bezier(0.22,1,0.36,1), opacity 200ms ease; }
  .kw-burger.kw-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .kw-burger.kw-open span:nth-child(2) { opacity: 0; }
  .kw-burger.kw-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .kw-mobilemenu {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(0,0,0,0.82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden; transition: opacity 380ms ease, visibility 380ms ease;
  }
  .kw-mobilemenu.kw-open { opacity: 1 !important; visibility: visible !important; }
  .kw-mm-inner {
    position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px;
  }
  .kw-mm-link {
    font-size: 26px; font-weight: 500; letter-spacing: -0.5px; color: #fff !important;
    padding: 12px; opacity: 0; transform: translateY(14px);
    transition: opacity 400ms ease, transform 400ms ease, color 200ms ease;
  }
  .kw-mobilemenu.kw-open .kw-mm-link { opacity: 1; transform: none; }
  .kw-mobilemenu.kw-open .kw-mm-link:nth-child(1) { transition-delay: 90ms; }
  .kw-mobilemenu.kw-open .kw-mm-link:nth-child(2) { transition-delay: 150ms; }
  .kw-mobilemenu.kw-open .kw-mm-link:nth-child(3) { transition-delay: 210ms; }
  .kw-mobilemenu.kw-open .kw-mm-link:nth-child(4) { transition-delay: 270ms; }
  .kw-mobilemenu.kw-open .kw-mm-link:nth-child(5) { transition-delay: 330ms; }
  .kw-mm-link:hover { color: var(--kw-accent, #00B7A5) !important; }
  .kw-mm-cta { margin-top: 20px; opacity: 0; transform: translateY(14px); transition: opacity 400ms ease 400ms, transform 400ms ease 400ms; }
  .kw-mobilemenu.kw-open .kw-mm-cta { opacity: 1; transform: none; }
  .kw-mm-lang { display: flex; gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; }
  .kw-mm-lang button { padding: 9px 16px !important; border-radius: 999px !important; }
  body.kw-menu-open { overflow: hidden; }
}

/* ---------- Methode: vertical timeline ---------- */
.kw-timeline { position: relative; padding-left: 46px; margin-top: 40px; }
.kw-timeline-rail {
  position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}
.kw-timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: var(--kw-accent, #00B7A5); box-shadow: 0 0 14px var(--kw-accent, #00B7A5); transition: height 200ms linear; }
.kw-tl-item { position: relative; margin-bottom: 20px; }
.kw-tl-item:last-child { margin-bottom: 0; }
.kw-tl-dot {
  position: absolute; left: -41px; top: 30px; width: 12px; height: 12px; border-radius: 50%;
  background: #141414; border: 2px solid rgba(255,255,255,0.22);
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
.kw-tl-item.kw-methode-on .kw-tl-dot {
  background: var(--kw-accent, #00B7A5); border-color: var(--kw-accent, #00B7A5);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--kw-accent, #00B7A5) 18%, transparent), 0 0 16px var(--kw-accent, #00B7A5);
}
.kw-tl-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 24px 28px;
  background: linear-gradient(0deg, rgba(255,255,255,0.05), rgba(153,153,153,0.06));
  transition: border-color 400ms ease, box-shadow 400ms ease, transform 400ms ease;
}
.kw-tl-ghost {
  position: absolute; top: 2px; right: 20px; pointer-events: none; user-select: none;
  font-size: 88px; font-weight: 500; letter-spacing: -4px; line-height: 1;
  color: rgba(255,255,255,0.045); transition: color 400ms ease;
}
.kw-tl-item.kw-methode-on .kw-tl-ghost { color: color-mix(in srgb, var(--kw-accent, #00B7A5) 16%, transparent); }
@media (max-width: 640px) { .kw-tl-ghost { font-size: 64px; right: 14px; } }
.kw-tl-item.kw-methode-on .kw-tl-card {
  border-color: color-mix(in srgb, var(--kw-accent, #00B7A5) 45%, transparent);
  box-shadow: 0 12px 44px color-mix(in srgb, var(--kw-accent, #00B7A5) 14%, transparent);
}
.kw-tl-head { display: flex; align-items: center; gap: 16px; }
.kw-tl-titles { flex: 1; }
.kw-tl-kicker { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #9A9AA2; }
.kw-tl-name { font-size: 21px; font-weight: 400; letter-spacing: -0.4px; margin-top: 3px; }
.kw-tl-body { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.66); }
.kw-mstatus {
  flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #9A9AA2;
  border: 1px solid rgba(255,255,255,0.14); transition: color 350ms ease, border-color 350ms ease, background 350ms ease;
}
.kw-mstatus::after { content: 'Bereit'; }
:root[lang="en"] .kw-mstatus::after, html[lang="en"] .kw-mstatus::after { content: 'Ready'; }
.kw-tl-item.kw-methode-on .kw-mstatus {
  color: #fff; border-color: transparent; background: var(--kw-accent, #00B7A5);
  box-shadow: 0 0 18px color-mix(in srgb, var(--kw-accent, #00B7A5) 45%, transparent);
}
.kw-tl-item.kw-methode-on .kw-mstatus::after { content: 'Aktiv'; }
html[lang="en"] .kw-tl-item.kw-methode-on .kw-mstatus::after { content: 'Active'; }

/* ---------- Arbeiten: erst 3 Projekte, Rest per Klick ---------- */
.kw-work-hidden { display: none !important; }
.kw-work-more { cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 16px; }
.kw-work-more::after { content: '\2193'; }
.kw-work-more:hover::after { transform: translateY(3px); }

/* ---------- Kontakt: animierter Aurora-Verlauf ---------- */
@keyframes kwAurora {
  0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1.06); }
  50%  { transform: translate3d(2.5%, 1.5%, 0) scale(1.14); }
  100% { transform: translate3d(-2.5%, -1.5%, 0) scale(1.06); }
}
.kw-aurora { animation: kwAurora 18s ease-in-out infinite; will-change: transform; }

/* ---------- Testimonials: continuous marquee ---------- */
.kw-tmarquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.kw-tmarquee-track { display: flex; width: max-content; gap: 20px; animation: kwTMarquee 46s linear infinite; }
.kw-tmarquee:hover .kw-tmarquee-track { animation-play-state: paused; }
@keyframes kwTMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Contact form: higher opacity for visibility ---------- */
.kw-form { background: linear-gradient(0deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05)) !important;
  border-color: rgba(255,255,255,0.12) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Förderung slider polish ---------- */
#foerderung input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.12); outline: none;
}
#foerderung input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--kw-accent, #00B7A5); cursor: pointer; border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kw-accent, #00B7A5) 30%, transparent), 0 0 16px var(--kw-accent, #00B7A5);
}
#foerderung input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--kw-accent, #00B7A5); cursor: pointer; border: 3px solid #0a0a0a;
}

/* ---------- Global hover states ---------- */
.kw-navbar a[href="#kontakt"]:hover { filter: brightness(1.08); }
[data-screen-label="00 Navbar"] .kw-navlinks a { position: relative; transition: color 200ms ease; }
.kw-navbar .kw-navlinks a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--kw-accent, #00B7A5); transition: width 240ms ease; }
.kw-navbar .kw-navlinks a:hover::after { width: 100%; }
.kw-work-media:hover .kw-work-cta { background: var(--kw-accent, #00B7A5); border-color: transparent; }
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------- Floating contact FAB + help center ---------- */
.kw-fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.kw-help {
  width: 300px; max-width: calc(100vw - 44px);
  background: rgba(14,14,16,0.92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.96); transform-origin: bottom right;
  transition: opacity 260ms cubic-bezier(0.22,1,0.36,1), transform 260ms cubic-bezier(0.22,1,0.36,1), visibility 260ms;
}
.kw-fab-wrap.kw-open .kw-help { opacity: 1; visibility: visible; transform: none; }
.kw-help-head { padding: 8px 10px 14px; }
.kw-help-title { font-size: 16px; font-weight: 600; letter-spacing: -0.3px; }
.kw-help-sub { font-size: 13px; color: #9A9AA2; margin-top: 3px; }
.kw-help-item {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 11px 12px; border-radius: 13px; border: 1px solid transparent; background: transparent;
  cursor: pointer; color: #fff !important; font-family: 'DM Sans', sans-serif; transition: background 200ms ease, border-color 200ms ease;
}
.kw-help-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.kw-help-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; }
.kw-help-tx { display: flex; flex-direction: column; flex: 1; }
.kw-help-k { font-size: 15px; font-weight: 500; letter-spacing: -0.2px; }
.kw-help-v { font-size: 12.5px; color: #9A9AA2; margin-top: 1px; }
.kw-help-go { color: #9A9AA2; font-size: 16px; }
.kw-fab {
  padding: 14px 22px; font-size: 15px; font-weight: 500;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; letter-spacing: -0.2px;
  background: var(--kw-accent, #00B7A5); color: #ffffff;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--kw-accent, #00B7A5) 35%, transparent);
  transition: background 200ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms ease;
}
.kw-fab:hover {
  background: color-mix(in srgb, var(--kw-accent, #00B7A5) 86%, #000000);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--kw-accent, #00B7A5) 42%, transparent);
}
.kw-fab:active { transform: translateY(0) scale(0.98); }
.kw-fab span { display: inline-flex; align-items: center; }
@media (max-width: 560px) {
  .kw-fab-wrap { right: 16px; bottom: 16px; }
  .kw-fab { padding: 13px 18px; font-size: 14px; }
}

/* ---------- Mobile: center everything ---------- */
@media (max-width: 860px) {
  [data-screen-label="01 Hero"] > div[style*="max-width"] { align-items: center; text-align: center; }
  [data-screen-label="01 Hero"] .kw-badge { align-self: center; }
  [data-screen-label="01 Hero"] h1 span, [data-screen-label="01 Hero"] p { margin-left: auto; margin-right: auto; }
  [data-screen-label="01 Hero"] > div[style*="max-width"] > div[style*="flex-wrap"] { justify-content: center; }

  [data-screen-label] h2, .kw-subline { text-align: center; }
  .kw-subline { margin-left: auto; margin-right: auto; }
  [data-screen-label] > div > div[style*="margin-bottom: 18px"] { display: flex; justify-content: center; }
  .kw-label { align-self: center; }

  /* section body cards: center text */
  #diagnose .kw-lift, #leistungen .kw-lift, #preise [style*="grid-template-columns"] > div { text-align: center; }
  #diagnose .kw-lift > div, #leistungen .kw-lift > div { align-items: center; }
  #leistungen .kw-lift > div[style*="justify-content: space-between"] { justify-content: center; gap: 14px; }
  #methode .kw-tl-head { flex-wrap: wrap; justify-content: center; text-align: center; }
  #arbeiten [style*="align-items: center"] { justify-content: center; }
  #arbeiten [style*="flex-wrap: wrap"] { justify-content: center; }

  /* Footer centered */
  [data-screen-label="13 Footer"] > div > div[style*="justify-content: space-between"] { justify-content: center; text-align: center; }
  [data-screen-label="13 Footer"] > div > div:first-child > div:first-child { flex-direction: column; align-items: center; }
  [data-screen-label="13 Footer"] .kw-fcol, [data-screen-label="13 Footer"] > div > div > div { align-items: center; }
  [data-screen-label="13 Footer"] > div > div:first-child { max-width: none !important; align-items: center; display: flex; flex-direction: column; }
  [data-screen-label="13 Footer"] > div > div:first-child > div[style*="gap: 12px"] { justify-content: center; }
  [data-screen-label="13 Footer"] > div > div:last-child { flex-direction: column; justify-content: center; text-align: center; gap: 18px; }
  [data-screen-label="13 Footer"] > div > div:nth-child(1) > div:last-child { justify-content: center; }
}
@media (max-width: 860px) {
  [data-screen-label="13 Footer"] > div > div:first-child > div:nth-child(2) { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; width: 100%; }
  [data-screen-label="13 Footer"] > div > div:first-child > div:nth-child(2) > div { min-width: 0 !important; text-align: center; }
  [data-screen-label="13 Footer"] > div > div:first-child > div:nth-child(2) > div > div:last-child { align-items: center; }
}

/* ---------- Reduced motion: respect the preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .kw-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kw-lift, .kw-lift:hover { transform: none !important; transition: none !important; }
  #kw-loader img, #kw-loader .kw-loader-bar::after { animation: none !important; }
  .kw-mq-track { animation: none !important; }
  .kw-tmarquee-track { animation: none !important; }
  .kw-aurora { animation: none !important; }
}
