/* LFTools – main stylesheet */

:root {
  --lf-bg: #f6f7f8;
  --lf-surface: #ffffff;
  --lf-ink: #121417;
  --lf-ink-soft: #3d4450;
  --lf-muted: #6b7280;
  --lf-line: #e3e6ea;
  --lf-panel: #eef1f4;
  --lf-panel-deep: #161a20;
  --lf-accent: #1f6f8b;
  --lf-accent-soft: #d7ebf2;
  --lf-radius: 16px;
  --lf-radius-sm: 10px;
  --lf-shadow: 0 12px 40px rgba(18, 20, 23, 0.08);
  --lf-container: 1120px;
  --lf-header: 72px;
  --lf-font: "Source Sans 3", system-ui, sans-serif;
  --lf-display: "Outfit", "Source Sans 3", system-ui, sans-serif;
  --lf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--lf-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--lf-ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(31, 111, 139, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(22, 26, 32, 0.05), transparent 55%),
    var(--lf-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lf-accent);
}

h1, h2, h3, h4 {
  font-family: var(--lf-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--lf-ink-soft); }

.container {
  width: min(100% - 2rem, var(--lf-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--lf-ink);
  color: #fff;
  border-radius: 8px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-muted);
}

.eyebrow--on-dark { color: rgba(255, 255, 255, 0.65); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--lf-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.25s var(--lf-ease), background 0.25s var(--lf-ease), color 0.25s var(--lf-ease), border-color 0.25s var(--lf-ease);
}

.btn:hover { transform: translateY(-1px); color: inherit; }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.88rem; }

.btn--primary {
  background: var(--lf-ink);
  color: #fff !important;
}
.btn--primary:hover { background: #000; color: #fff !important; }

.btn--ghost {
  background: transparent;
  border-color: rgba(18, 20, 23, 0.22);
  color: var(--lf-ink) !important;
}
.btn--ghost:hover { border-color: var(--lf-ink); }

.btn--light {
  background: #fff;
  color: var(--lf-ink) !important;
}
.btn--light:hover { background: var(--lf-accent-soft); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--lf-display);
  font-weight: 600;
  text-decoration: none !important;
  color: var(--lf-ink) !important;
}
.text-link .icon { transition: transform 0.25s var(--lf-ease); }
.text-link:hover .icon { transform: translateX(4px); }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--lf-header);
  background: rgba(246, 247, 248, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--lf-ease), background 0.25s var(--lf-ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--lf-line);
  background: rgba(255, 255, 255, 0.9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.site-title {
  font-family: var(--lf-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none !important;
  color: var(--lf-ink) !important;
}
.custom-logo { max-height: 40px; width: auto; }
.site-header__lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.primary-nav__list {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  text-decoration: none !important;
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--lf-ink-soft) !important;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--lf-ink) !important;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  text-decoration: none !important;
  color: var(--lf-ink) !important;
  border: 1px solid var(--lf-line);
  background: var(--lf-surface);
}
.header-cart__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--lf-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--lf-line);
  background: var(--lf-surface);
  color: var(--lf-ink);
  cursor: pointer;
}
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.hero__lead { font-size: 1.125rem; max-width: 38rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero__panel {
  background: var(--lf-panel-deep);
  color: #fff;
  border-radius: calc(var(--lf-radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--lf-shadow);
}
.hero__panel-label,
.hero__panel p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.hero__list li {
  padding-left: 1.15rem;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lf-accent-soft);
}
.hero__list--inline {
  margin-top: 1.5rem;
}
.hero__list--inline li {
  color: var(--lf-ink-soft);
}
.hero__list--inline li::before {
  background: var(--lf-accent);
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.section--muted { background: rgba(255, 255, 255, 0.55); }
.section__header { max-width: 40rem; margin-bottom: 2rem; }
.section__header--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.section__intro { margin: 0; }

.offer-grid,
.hub-grid,
.feature-grid {
  display: grid;
  gap: 1.25rem;
}
.offer-grid { grid-template-columns: repeat(2, 1fr); }
.hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }

.offer-card,
.feature-card,
.hub-card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--lf-ease), box-shadow 0.3s var(--lf-ease), border-color 0.3s var(--lf-ease);
}
.offer-card:hover,
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lf-shadow);
  border-color: transparent;
}
.offer-card--accent {
  background: linear-gradient(160deg, #fff 0%, var(--lf-accent-soft) 140%);
}
.offer-card__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lf-muted);
  font-weight: 600;
}
.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--lf-ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.95em;
  height: 0.95em;
  border-radius: 50%;
  background:
    linear-gradient(var(--lf-accent), var(--lf-accent)) center / 55% 2px no-repeat,
    linear-gradient(var(--lf-accent), var(--lf-accent)) center / 2px 55% no-repeat,
    var(--lf-accent-soft);
  transform: rotate(45deg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.why-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.why-points li {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius-sm);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}
.why-points strong {
  font-family: var(--lf-display);
  font-size: 1.05rem;
}
.why-points span { color: var(--lf-ink-soft); font-size: 0.98rem; }

.hub-card {
  text-decoration: none !important;
  color: inherit !important;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(215, 235, 242, 0.55)),
    var(--lf-surface);
}
.hub-card__title {
  font-family: var(--lf-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.hub-card__text {
  margin: 0.75rem 0 1.5rem;
  color: var(--lf-ink-soft);
}
.hub-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--lf-display);
  font-weight: 600;
}
.shop-hubs-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--lf-muted);
}

.cta-band {
  margin: 0 0 3rem;
}
.cta-band--compact {
  margin-top: 2rem;
}
.shop-toolbar {
  margin-bottom: 1.5rem;
}
.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
}
.search-form .search-field {
  margin-top: 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--lf-radius) + 6px);
  background: var(--lf-panel-deep);
  color: #fff;
}
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }

/* Page */
.page-hero { padding: 3rem 0 1rem; }
.page-hero--compact { padding: 2.25rem 0 0.5rem; }
.page-hero__lead { max-width: 40rem; font-size: 1.1rem; }
.page-header { margin: 2.5rem 0 1.5rem; }
.content-wrap { padding-bottom: 4rem; }
.content-wrap--narrow { max-width: 40rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.75em; }
.entry-content .legal-summary {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.2rem;
  background: var(--lf-panel);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius-sm);
}
.entry-content .legal-summary h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}
.entry-content .legal-summary ul {
  margin: 0;
  padding-left: 1.15rem;
}
.entry-content .legal-summary li + li { margin-top: 0.35rem; }
.entry-content blockquote {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--lf-ink);
  background: var(--lf-panel);
}

.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.inquiry-form-panel {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--lf-shadow);
  max-width: 720px;
  margin: 0 auto;
}
.inquiry-form-panel__head {
  margin-bottom: 1.25rem;
  text-align: center;
}
.inquiry-form-panel__head h2 { margin-bottom: 0.4rem; }
.inquiry-form-panel__head p { margin: 0; }
.inquiry-form-panel__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--lf-line);
  font-size: 0.95rem;
  text-align: center;
}
.inquiry-form-panel__note a { font-weight: 600; }
.inquiry-calc-note {
  margin: 1.15rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--lf-panel);
  border-radius: var(--lf-radius-sm);
  font-size: 0.95rem;
  color: var(--lf-ink-soft);
  text-align: left;
}
.inquiry-compact-note {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--lf-panel);
  border-radius: var(--lf-radius-sm);
  color: var(--lf-ink-soft);
  font-size: 0.98rem;
}

/* Product preview rail */
.product-rail {
  position: relative;
  margin-top: 0.25rem;
}
.product-rail__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  padding: 0.35rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-rail__track:focus-visible {
  outline: 2px solid var(--lf-accent);
  outline-offset: 4px;
  border-radius: 8px;
}
.product-rail__card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--lf-ease), box-shadow 0.3s var(--lf-ease);
}
.product-rail__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lf-shadow);
}
.product-rail__media {
  display: block;
  aspect-ratio: 1;
  background: var(--lf-panel);
  overflow: hidden;
}
.product-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-rail__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product-rail__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.product-rail__title a {
  text-decoration: none !important;
  color: var(--lf-ink) !important;
}
.product-rail__price {
  margin: 0;
  font-family: var(--lf-display);
  font-weight: 700;
  color: var(--lf-ink);
}
.product-rail__link {
  margin-top: auto;
  font-weight: 600;
  font-family: var(--lf-display);
  text-decoration: none !important;
  color: var(--lf-accent) !important;
}
.product-rail__nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--lf-line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--lf-shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--lf-ink);
  transition: transform 0.2s var(--lf-ease);
}
.product-rail__nav:hover { transform: scale(1.05); }
.product-rail__nav--prev { left: -0.35rem; }
.product-rail__nav--next { right: -0.35rem; }
.product-rail__footer {
  margin: 0.5rem 0 0;
  text-align: center;
}

@media (max-width: 720px) {
  .product-rail__nav { display: none; }
}

/* Sparte catalog (category blocks) */
.shop-back {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}
.shop-back a {
  text-decoration: none !important;
  font-weight: 600;
  color: var(--lf-ink-soft) !important;
}
.shop-back a:hover { color: var(--lf-accent) !important; }
.sparte-catalog {
  display: grid;
  gap: 2.5rem;
  margin-top: 0.5rem;
}
.sparte-category__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.sparte-category__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.sparte-category__desc {
  margin: 0;
  max-width: 36rem;
}
.sparte-empty {
  background: var(--lf-surface);
  border: 1px dashed var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 2rem;
  text-align: center;
}

/* Forms (CF7 / WP) */
.wpcf7-form label,
.inquiry-form-wrap label {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 550;
  font-size: 0.92rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea,
.woocommerce form .input-text,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea,
.search-field {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius-sm);
  background: #fff;
  font: inherit;
  color: var(--lf-ink);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-submit,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit {
  background: var(--lf-ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-family: var(--lf-display) !important;
  font-weight: 600 !important;
  padding: 0.85rem 1.4rem !important;
  transition: transform 0.25s var(--lf-ease), background 0.25s var(--lf-ease);
}
.wpcf7-submit:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: #000 !important;
  transform: translateY(-1px);
}

/* WooCommerce */
.site-main--woocommerce { padding: 2rem 0 4rem; }
.shop-header { margin-bottom: 1.75rem; }
.shop-header__intro { max-width: 36rem; }
.shop-hubs-block { margin-bottom: 2.5rem; }

ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}
ul.products::before,
ul.products::after { display: none !important; content: none !important; }

.product-card,
ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--lf-ease), box-shadow 0.3s var(--lf-ease);
}
.product-card:hover,
ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--lf-shadow);
}
.product-card__media,
ul.products li.product a img {
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--lf-panel);
  width: 100%;
}
.product-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-muted);
  font-weight: 600;
}
.product-card__title,
ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem !important;
  margin: 0 0 0.5rem !important;
}
.product-card__title a,
ul.products li.product .woocommerce-loop-product__title a {
  text-decoration: none !important;
  color: var(--lf-ink) !important;
}
.product-card__excerpt {
  font-size: 0.92rem;
  margin: 0 0 1rem;
  flex: 1;
}
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.product-card__price,
ul.products li.product .price {
  font-family: var(--lf-display);
  font-weight: 700;
  color: var(--lf-ink) !important;
  margin: 0 !important;
}
.product-card__btn,
ul.products li.product .button {
  white-space: nowrap;
}

.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 1.25rem;
}
.woocommerce-ordering select {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--lf-line);
}

/* —— Single product (kompakt & verkaufsstark) —— */
.single-product .site-main--woocommerce .container {
  max-width: 1100px;
}

.lf-product,
.single-product div.product {
  display: block;
  float: none !important;
  width: 100% !important;
}

.lf-product__grid {
  display: grid;
  grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
  align-items: start;
  margin-top: 0.25rem;
}

.lf-product__gallery,
.single-product .woocommerce-product-gallery,
.single-product div.product div.images {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
  position: relative;
  background: #fff;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 0.55rem;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
  background: #fff;
}

.single-product .flex-viewport {
  margin: 0 !important;
  background: #fff;
  min-height: 260px;
  max-height: 400px;
  overflow: hidden;
}

/* Aktiver Slide muss immer sichtbar bleiben (kein Fade-Opacity-Lock) */
.single-product .woocommerce-product-gallery .slides > li,
.single-product .woocommerce-product-gallery__image {
  margin: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.single-product .woocommerce-product-gallery .flex-active-slide {
  opacity: 1 !important;
  visibility: visible !important;
}

.single-product .woocommerce-product-gallery__image a {
  display: block;
  pointer-events: none;
  background: #fff;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image--placeholder img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
  cursor: default !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Nur echte Thumbnail-Nav; Zahlen-Paging ausblenden */
.single-product ol.flex-control-nav:not(.flex-control-thumbs),
.single-product .flex-control-paging {
  display: none !important;
}

.single-product .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.4rem;
  margin: 0.55rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.single-product .flex-control-thumbs img {
  width: 100% !important;
  height: 56px !important;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.25s var(--lf-ease), border-color 0.25s var(--lf-ease), transform 0.25s var(--lf-ease);
}

.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs .flex-active {
  opacity: 1;
  border-color: var(--lf-ink);
  transform: translateY(-1px);
}

.single-product .flex-control-thumbs a,
.single-product .flex-control-thumbs img {
  pointer-events: auto;
}

/* Default-Pfeile + Zoom/Lupe weg */
.single-product .flex-direction-nav,
.single-product .flex-direction-nav *,
.single-product .flex-prev,
.single-product .flex-next,
.single-product .woocommerce-product-gallery__trigger,
.single-product .zoomImg,
.single-product .zoomWindow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.lf-gallery-nav {
  position: absolute;
  top: calc(50% - 28px);
  transform: translateY(-50%);
  z-index: 8;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(18, 20, 23, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--lf-ink);
  box-shadow: 0 4px 14px rgba(18, 20, 23, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--lf-ease), box-shadow 0.2s var(--lf-ease);
}
.lf-gallery-nav:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(18, 20, 23, 0.16);
}
.lf-gallery-nav:active {
  transform: translateY(-50%) scale(0.96);
}
.lf-gallery-nav--prev { left: 0.55rem; }
.lf-gallery-nav--next { right: 0.55rem; }
.lf-gallery-nav svg {
  width: 16px;
  height: 16px;
  display: block;
}

.lf-product__summary,
.single-product div.product div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

@media (min-width: 901px) {
  .lf-product__summary {
    position: sticky;
    top: calc(var(--lf-header) + 0.85rem);
  }
}

.single-product .product_title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

.single-product .woocommerce-product-rating {
  margin-bottom: 0.5rem;
}

.single-product p.price,
.single-product .summary .price {
  font-family: var(--lf-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--lf-ink) !important;
  margin: 0 0 0.55rem !important;
}

.single-product .woocommerce-product-details__short-description {
  color: var(--lf-ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  max-width: 36rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lf-buy-box {
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(160deg, #fff 0%, var(--lf-accent-soft) 140%);
  border: 2px solid var(--lf-ink);
  border-radius: var(--lf-radius);
  box-shadow: var(--lf-shadow);
}

.lf-buy-box.is-focus {
  box-shadow: 0 14px 36px rgba(31, 111, 139, 0.22);
  border-color: var(--lf-accent);
}

.lf-buy-box__label {
  margin: 0 0 0.7rem;
  font-family: var(--lf-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lf-ink);
}

.lf-trust {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--lf-ink-soft);
}
.lf-trust li {
  position: relative;
  padding-left: 1.15rem;
}
.lf-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lf-accent);
}
.lf-trust a {
  font-weight: 600;
  text-decoration: none !important;
  color: inherit;
}
.lf-trust a:hover {
  color: var(--lf-accent);
}

.lf-desc-jump {
  margin: 0.5rem 0 0 !important;
  font-size: 0.92rem;
  font-weight: 600;
}
.lf-desc-jump a {
  text-decoration: none !important;
}

.lf-faq {
  margin: 1.75rem 0 0.5rem;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: var(--lf-surface);
}
.lf-faq h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.lf-faq__list {
  display: grid;
  gap: 0.45rem;
}
.lf-faq__item {
  border: 1px solid var(--lf-line);
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.9rem;
}
.lf-faq__item summary {
  cursor: pointer;
  font-family: var(--lf-display);
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
}
.lf-faq__item summary::-webkit-details-marker {
  display: none;
}
.lf-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--lf-muted);
  font-weight: 600;
}
.lf-faq__item[open] summary::after {
  content: "–";
}
.lf-faq__item p {
  margin: 0.55rem 0 0.15rem;
  color: var(--lf-ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.lf-faq__cta {
  margin: 0.95rem 0 0;
}

.lf-404-links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.lf-404-links a {
  font-weight: 600;
  text-decoration: none !important;
}

.footer-nav--shop {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.single-product table.variations {
  width: 100% !important;
  margin: 0 0 0.85rem !important;
  border: 0 !important;
}

.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations td,
.single-product table.variations th {
  display: block;
  width: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.single-product table.variations th.label {
  margin-bottom: 0.35rem;
}

.single-product table.variations th.label label {
  font-family: var(--lf-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lf-ink);
}

.single-product table.variations select,
.single-product .variations_form select {
  width: 100% !important;
  min-height: 52px !important;
  padding: 0.75rem 1rem !important;
  border: 2px solid var(--lf-ink) !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-family: var(--lf-display) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--lf-ink) !important;
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.06);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--lf-ink) 50%), linear-gradient(135deg, var(--lf-ink) 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  cursor: pointer;
  transition: border-color 0.2s var(--lf-ease), box-shadow 0.2s var(--lf-ease), transform 0.2s var(--lf-ease);
}

.single-product table.variations select:hover,
.single-product table.variations select:focus {
  border-color: var(--lf-accent) !important;
  box-shadow: 0 10px 28px rgba(31, 111, 139, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.single-product .reset_variations {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.single-product form.cart {
  margin: 0 !important;
}

.single-product form.cart .quantity {
  float: none !important;
  margin: 0 0 0.65rem !important;
}

.single-product form.cart .quantity .qty {
  width: 5rem !important;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--lf-line);
  border-radius: 12px;
}

.single-product form.cart .single_add_to_cart_button,
.single-product .single_add_to_cart_button.button {
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: var(--lf-ink) !important;
  color: #fff !important;
  font-family: var(--lf-display) !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(18, 20, 23, 0.18);
  transition: transform 0.25s var(--lf-ease), background 0.25s var(--lf-ease) !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
  background: #000 !important;
  transform: translateY(-2px);
}

.single-product .product_meta {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--lf-line);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--lf-muted);
}

.single-product .product_meta a {
  font-weight: 600;
  text-decoration: none !important;
}

.lf-product__after {
  margin-top: 1.75rem;
}

.single-product .woocommerce-tabs {
  margin-top: 0;
}

/* Hide duplicate "Description" / panel H2 – tab label is enough */
.single-product .woocommerce-Tabs-panel > h2:first-child {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 0.75rem;
  border: 0;
}

.single-product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--lf-line) !important;
  border-radius: 999px !important;
  background: var(--lf-surface) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  padding: 0.5rem 0.95rem !important;
  display: block;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  background: var(--lf-ink) !important;
  border-color: var(--lf-ink) !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

.single-product .woocommerce-Tabs-panel {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 1.1rem 1.2rem;
}

.single-product .related.products {
  margin-top: 2rem;
}

.single-product .related.products > h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .woocommerce-message,
.single-product .woocommerce-info {
  margin-bottom: 0.85rem;
}

@media (max-width: 900px) {
  .lf-product__grid {
    grid-template-columns: 1fr;
  }

  .lf-product__gallery,
  .single-product .woocommerce-product-gallery {
    max-width: 420px;
    margin-inline: auto !important;
  }

  .single-product .woocommerce-product-gallery__image img {
    max-height: 300px;
  }

  .single-product .flex-control-thumbs img {
    height: 52px !important;
  }

  .lf-product__summary {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-product .flex-control-thumbs img,
  .single-product form.cart .single_add_to_cart_button,
  .single-product table.variations select,
  .lf-gallery-nav {
    transition: none !important;
  }
}

.woocommerce-cart table.cart,
.woocommerce-checkout .woocommerce {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  box-shadow: 0 8px 28px rgba(18, 20, 23, 0.04);
}

.woocommerce-cart .site-main--woocommerce .page-title,
.woocommerce-checkout .site-main--woocommerce .page-title,
.woocommerce-account .site-main--woocommerce .page-title,
.woocommerce-cart .entry-title,
.woocommerce-account .entry-title,
.woocommerce-account .page-title {
  font-family: var(--lf-display);
  letter-spacing: -0.02em;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
  border: 0;
  border-radius: var(--lf-radius-sm);
  overflow: hidden;
  width: 100%;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--lf-line);
  padding: 0.95rem 0.85rem;
  vertical-align: middle;
}
.woocommerce table.shop_table thead th {
  background: var(--lf-panel);
  font-family: var(--lf-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.woocommerce-cart-form .product-thumbnail img {
  border-radius: 10px;
  background: var(--lf-panel);
}
.woocommerce .quantity .qty {
  width: 4.2rem;
  padding: 0.55rem 0.5rem;
  border: 1px solid var(--lf-line);
  border-radius: 8px;
  text-align: center;
}
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
  margin-top: 1.5rem;
}
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review {
  background: var(--lf-panel);
  border-radius: var(--lf-radius);
  padding: 1.25rem;
  border: 1px solid var(--lf-line);
}
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  width: 100%;
}

/* —— Mein Konto: bewusst einfach, alles untereinander (kein Sticky, kein 2-Spalten) —— */
.woocommerce-account .woocommerce {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
  clear: both;
}

.lf-account {
  display: block !important;
  width: 100% !important;
  margin: 0.75rem 0 0;
  clear: both;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .lf-account__content,
.woocommerce-account .u-columns,
.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  z-index: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin: 0 0 1.25rem !important;
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  list-style: none;
  float: none !important;
  width: auto !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--lf-line);
  background: #fff;
  text-decoration: none !important;
  font-family: var(--lf-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lf-ink-soft) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--lf-ink);
  border-color: var(--lf-ink);
  color: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .lf-account__content {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: clamp(1.15rem, 3vw, 1.75rem);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce,
.woocommerce-account .lf-account__content .woocommerce {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row,
.woocommerce-account .lf-account__content .form-row,
.woocommerce-account .woocommerce-MyAccount-content .form-row-first,
.woocommerce-account .woocommerce-MyAccount-content .form-row-last,
.woocommerce-account .woocommerce-MyAccount-content .form-row-wide {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 0 0 0.85rem !important;
}

.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea,
.woocommerce-account .lf-account__content input.input-text,
.woocommerce-account .lf-account__content select,
.woocommerce-account .lf-account__content textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content .password-input,
.woocommerce-account .lf-account__content .password-input,
.woocommerce-account .woocommerce-MyAccount-content .show-password-input {
  display: block;
  width: 100%;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.my_account_orders,
.woocommerce-account table.shop_table {
  width: 100% !important;
  table-layout: auto;
}

.woocommerce-account mark {
  background: transparent;
  color: var(--lf-ink);
  font-weight: 700;
}

.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 440px;
  margin: 0 auto;
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  padding: 1.5rem;
  box-shadow: var(--lf-shadow);
}
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 0.85rem;
  float: none !important;
  width: 100% !important;
}
.woocommerce-form-login label,
.woocommerce-form-register label {
  font-weight: 600;
  font-size: 0.92rem;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-radius: var(--lf-radius-sm) !important;
  border-top: 0 !important;
  border: 1px solid var(--lf-line) !important;
  background: var(--lf-panel) !important;
  padding: 0.95rem 1.1rem !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  float: none !important;
  clear: both !important;
  position: static !important;
}

.woocommerce-account .woocommerce > .woocommerce-info,
.woocommerce-account .woocommerce > .woocommerce-message,
.woocommerce-account .woocommerce > .woocommerce-error,
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  clear: both;
}

.woocommerce-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--lf-muted);
}
.woocommerce-breadcrumb a { text-decoration: none !important; }

/* Footer */
.site-footer {
  background: #0f1216;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; text-decoration: none !important; }
.site-footer a:hover { color: var(--lf-accent-soft); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer__logo {
  font-family: var(--lf-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}
.site-footer__tagline { color: rgba(255, 255, 255, 0.65); }
.site-footer__heading {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.footer-nav,
.footer-platforms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.site-footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  font-size: 0.9rem;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--lf-ease), transform 0.7s var(--lf-ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__grid,
  .why-grid,
  .offer-grid,
  .hub-grid,
  .feature-grid,
  .feature-grid--3,
  .single-product div.product,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .sparte-category__header {
    flex-direction: column;
    align-items: flex-start;
  }
  ul.products { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav {
    position: fixed;
    inset: var(--lf-header) 0 auto 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lf-line);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--lf-ease), opacity 0.35s var(--lf-ease);
  }
  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav__list {
    flex-direction: column;
    gap: 0.35rem;
  }
  .primary-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1.05rem;
  }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .section__header--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  ul.products { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta-band .btn { width: 100%; }
}

/* GTranslate: desktop stays bottom-right; phone sits next to the logo */
.gt_float_switcher {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 14px !important;
  bottom: 18px !important;
  transform: scale(0.78);
  transform-origin: bottom right;
  z-index: 90 !important;
}
.gt_float_switcher .gt-selected {
  border-radius: 999px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
}
.gt_float_switcher .gt-selected .gt-current-lang {
  padding: 6px 10px !important;
}
.gt_float_switcher img {
  width: 18px !important;
  height: auto !important;
}
.gt_float_switcher .gt_options a {
  font-size: 13px !important;
  padding: 6px 10px !important;
}

@media (min-width: 961px) {
  .site-header__lang {
    width: 0;
    height: 0;
    overflow: visible;
  }
}

@media (max-width: 960px) {
  .site-header .gt_float_switcher,
  .site-header__lang .gt_float_switcher {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 2 !important;
  }
  .site-header .gt_float_switcher .gt-selected .gt-current-lang,
  .site-header__lang .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 5px 8px !important;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .site-header .gt_float_switcher .gt_options,
  .site-header__lang .gt_float_switcher .gt_options {
    top: calc(100% + 6px) !important;
    bottom: auto !important;
  }
}
