/**
 * Homepage-only overrides extracted from wj-workshops.css.
 *
 * Safety rule:
 * - wj-workshops.css remains unchanged for workshops, events, contact,
 *   newsletter, material list, Cologne landing pages and About.
 * - This file contains only selectors explicitly scoped to body.home,
 *   preserving the declarations and media-query context from the source file.
 * - Shared primitives continue to come from wj-components.css.
 *
 * @package OceanWP_Child
 */

body.home #right-sidebar,
body.home #left-sidebar,
body.home #sidebar,
body.home .widget-area {
display: none !important;
}

body.home #primary,
body.home .content-area {
width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home #content-wrap,
body.home #content-wrap.container {
max-width: 1100px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 24px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

body.home #main .page-header {
display: none !important;
}

body.home {
--wj-bg: #ffffff;
  --wj-surface: rgba(0,0,0,.04);
  --wj-text: rgba(15, 23, 42, .92);
  --wj-muted: rgba(15, 23, 42, .66);
  --wj-border: rgba(15, 23, 42, .10);
  --wj-soft: rgba(15, 23, 42, .03);
  --wj-accent: #d8c3a5;
  --wj-font: 'Josefin Sans', sans-serif;
  font-family: var(--wj-font);
}

body.home .wj-hero--light.wj-hero {
background: transparent !important;
  padding: 24px 0 !important;
}

body.home .wj-hero--light .wj-hero__inner {
background: #fff !important;
  border-radius: 34px !important;
  padding: var(--wj-box-padding);
  padding-bottom: clamp(16px, 2vw, 22px) !important;
  box-shadow: none !important;
  position: relative;
  border: 0 !important;
  overflow: hidden;
  display: block !important;
  min-height: unset !important;
}

body.home .wj-hero--light .wj-hero__inner::after {
content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15,23,42,.16);
  border-radius: inherit;
  pointer-events: none;
}

body.home .wj-hero__grid {
width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  min-height: auto; /* überschreibt Basis: Box passt sich Inhalt an */
  grid-template-rows: min-content;
}

body.home .wj-hero__copy,
body.home .wj-hero__media {
min-width: 0;
}

body.home .wj-hero__media {
align-self: center;
}

body.home .wj-hero__copy {
align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.home .wj-hero__cta {
margin-bottom: 0 !important;
}

body.home .wj-hero__media {
justify-self: end;
  align-self: center;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 20px;
}

body.home .wj-hero__img {
width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}

body.home .wj-hero--light .wj-btn--ghost {
border: 1px solid rgba(15,23,42,.28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--wj-text) !important;
}

body.home .wj-bullets {
list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.home .wj-bullets li {
font-size: 14px;
  color: var(--wj-muted);
  background: var(--wj-soft);
  border: 1px solid var(--wj-border);
  padding: 8px 12px;
  border-radius: 999px;
}

body.home .wj-card .wj-bullets {
margin-top: 12px;
}

body.home .wj-card__desc {
margin: 0 0 12px;
  color: var(--wj-muted);
  line-height: 1.55;
  font-size: 15px;
}

body.home .wj-tags {
list-style: disc;
  margin: 0 0 12px;
  padding-left: 1.2em;
  font-size: 13px;
  color: var(--wj-muted);
  line-height: 1.5;
}

body.home .wj-tags li {
margin: 0 0 4px;
}

body.home .wj-tags li:last-child {
margin-bottom: 0;
}

body.home .wj-card__cta.wj-link {
margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-weight: 600;
  color: var(--wj-text);
  text-decoration: underline;
}

body.home .wj-card__link:hover .wj-card__cta {
text-decoration: underline;
}

body.home .wj-section {
padding: clamp(19px, 3vw, 29px) 0;
}

body.home .wj-section--soft {
background: var(--wj-soft);
  padding: clamp(19px, 3vw, 29px) 0;
}

body.home .wj-section__head {
margin-bottom: 28px;
  text-align: center !important;
}

body.home .wj-section__head .wj-h2 {
margin-bottom: 8px;
  text-align: center !important;
}

body.home .wj-section__head .wj-sub {
margin: 0 auto !important;
  max-width: 70ch;
  text-align: center !important;
}

body.home .wj-h1,
body.home .wj-h2,
body.home .wj-h2-sub,
body.home .wj-h3,
body.home .wj-h4,
body.home .wj-h5,
body.home .wj-h6,
body.home .wj-sub,
body.home .wj-lead {
background: transparent !important;
  color: var(--wj-text) !important;
  /* Überschreibt Theme/Customizer-Regeln, damit die Klassen immer funktionieren */
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  margin: inherit !important;
  padding: inherit !important;
}

body.home .wj-h1 {
margin: 0 0 12px !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

body.home .wj-h2 {
margin: 0 0 10px !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  font-weight: 700 !important;
}

body.home .wj-h3 {
margin: 0 0 8px !important;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

body.home .wj-h4 {
margin: 0 0 6px !important;
  font-size: clamp(16px, 1.5vw, 20px) !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

body.home .wj-sub {
margin: 0 !important;
  color: var(--wj-muted) !important;
  max-width: 70ch !important;
  line-height: 1.6 !important;
  font-size: clamp(15px, 1.3vw, 17px) !important;
}

body.home .wj-h2-sub {
font-size: clamp(15px, 1.3vw, 17px) !important;
  line-height: 1.6 !important;
}

body.home .wj-lead {
margin: 0 0 22px !important;
  font-size: clamp(16px, 1.4vw, 18px) !important;
  line-height: 1.55 !important;
  color: var(--wj-muted) !important;
  max-width: 52ch !important;
}

body.home .wj-grid {
display: grid !important;
  gap: 24px !important;
}

body.home .wj-grid--3 {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 768px) {
body.home .wj-grid--3 {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

@media (max-width: 600px) {
body.home .wj-grid--3 {
grid-template-columns: 1fr !important;
}
}

body.home .wj-workshop-badge-wrap {
grid-column: 1 / -1;
  margin-top: -16px;
}

body.home .wj-workshop-badge-wrap .wj-badge2 {
display: flex;
  width: 100%;
  justify-content: center;
}


/* =========================================================
   Homepage — OceanWP Woo shell after general Woo CSS trim
   =========================================================
   The global OceanWP woo/woocommerce.min.css is intentionally removed on the
   homepage. OceanWP still prints two shell elements in the footer:
   - Quick View wrapper (feature disabled on the homepage)
   - Mobile cart sidebar (must stay hidden until OceanWP toggles show-cart)
   Keep only the tiny state/layout subset those shells need.
   ========================================================= */

body.home #owp-qv-wrap {
  display: none !important;
}

body.home #oceanwp-cart-sidebar-wrap {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: all .25s ease-in-out;
}

body.home #oceanwp-cart-sidebar-wrap,
body.home #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

body.home #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar-overlay {
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;
}

body.home #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar {
  position: absolute;
  top: 0;
  right: -100%;
  width: 325px;
  height: 100%;
  padding: 20px 0 0;
  overflow: auto;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  z-index: 10000;
  transition: right .3s ease-in-out;
}

body.home #oceanwp-cart-sidebar-wrap .owp-cart-title {
  margin: 0;
  padding: 0 20px;
  color: #555;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

body.home #oceanwp-cart-sidebar-wrap .divider {
  display: block;
  width: 30px;
  height: 2px;
  margin: 10px auto 20px;
  background: rgba(0, 0, 0, .1);
}

body.home #oceanwp-cart-sidebar-wrap .oceanwp-cart-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  color: #333;
  font-size: 40px;
  font-weight: 300;
  line-height: 40px;
  text-align: center;
  opacity: .5;
  z-index: 10001;
}

body.home #oceanwp-cart-sidebar-wrap .oceanwp-cart-close:hover {
  opacity: 1;
}

body.home.show-cart #oceanwp-cart-sidebar-wrap,
body.home.show-cart-sidebar #oceanwp-cart-sidebar-wrap {
  visibility: visible;
  opacity: 1;
}

body.home.show-cart #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar,
body.home.show-cart-sidebar #oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar {
  right: 0;
}

@media (max-width: 959px) {
  body.home #oceanwp-cart-sidebar-wrap {
    display: block;
  }
}


/* Homepage newsletter: keep the lazy Turnstile slot compact before interaction. */
body.home .wj-nl .wj-turnstile-wrap {
  min-height: 0;
  margin: 0;
}

body.home .wj-nl .wj-turnstile-wrap:has(.wj-turnstile-container[data-wj-turnstile-rendered="1"]) {
  min-height: 65px;
  margin: .35em 0;
}

body.home .wj-nl .wj-newsletter-consent {
  margin-top: .75em;
}
