/*
Vida Vertical 2.0
Grunddesign
*/

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #333333;
    /* The fixed site header is removed from normal document flow. */
    padding-top: var(--vv-site-header-height, 154px);
}


h1,
h2,
h3 {
    color: #1b5e20;
}


a {
    color: #2e7d32;
}

.site-logo {
  max-width: 140px;
  height: auto;
  display: block;
}.site-header {
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topics-region {
  margin-top: 40px;
}

/* Hauptnavigation */

/* Hauptnavigation */

.main-menu ul.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li.menu__item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a.menu__link {
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: #1b5e20;
  padding: 10px 5px;
}

.main-menu a.menu__link:hover {
  color: #2e7d32;
}

/* =========================================================
   HEADER LAYOUT
   ========================================================= */

.site-header {
  width: 100%;
  background: #ffffff;
  position: fixed;
  top: var(--drupal-displace-offset-top, 0px);
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(23, 53, 47, .12);
}

.site-header .container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header .logo {
  flex: 0 0 auto;
}

.site-header .main-menu {
  display: block;
  flex: 1 1 auto;
  margin-left: auto;
}

.site-header .main-menu > div {
  width: 100%;
}

.main-menu ul.menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu li.menu__item {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}

.main-menu a.menu__link {
  display: block;
  white-space: nowrap;
}

.main-menu ul.menu ul.menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d6e4da;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 53, 47, .14);
}

.main-menu li.menu__item:hover > ul.menu,
.main-menu li.menu__item:focus-within > ul.menu {
  display: block;
}

.main-menu ul.menu ul.menu a.menu__link {
  padding: 8px 10px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 2px solid #1b5e20;
  border-radius: 8px;
  background: #ffffff;
  color: #1b5e20;
  font: inherit;
  font-weight: 700;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f0b84d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body {
    padding-top: var(--vv-site-header-height, 90px);
  }

  .site-header .container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header .main-menu {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin: 0;
  }

  .site-header .main-menu.is-open {
    display: block;
  }

  .main-menu ul.menu,
  .main-menu ul.menu ul.menu {
    position: static;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .main-menu ul.menu ul.menu {
    margin: 0 0 6px 14px;
    width: calc(100% - 14px);
    padding-left: 10px;
    border-left: 2px solid #d6e4da;
  }

  .main-menu a.menu__link {
    min-height: 44px;
    padding: 11px 8px;
  }
}

/* Shop: leeres Views-Filterformular ausblenden */
.views-exposed-form:empty {
  display: none;
}

/* =========================================================
   SHOP HEADER
   ========================================================= */

.vv-shop-header {
  margin: 30px 0 28px;
}

.vv-shop-header-inner {
  max-width: 900px;
}

.vv-shop-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #2e7d32;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vv-shop-title {
  margin: 0 0 10px;
  color: #1b5e20;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.vv-shop-intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: #555555;
  font-size: 1.05rem;
  line-height: 1.6;
}

.shop-kategorie-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-kategorie-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid #2e7d32;
  border-radius: 999px;
  background: #ffffff;
  color: #2e7d32;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-kategorie-nav a:hover {
  background: #2e7d32;
  color: #ffffff;
}

@media (max-width: 600px) {
  .vv-shop-header {
    margin-top: 22px;
  }

  .shop-kategorie-nav {
    gap: 8px;
  }

  .shop-kategorie-nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

/* =========================================================
   SHOP HEADER
   ========================================================= */

.vv-shop-header {
  margin: 32px 0 30px;
}

.vv-shop-header-inner {
  max-width: 900px;
}

.vv-shop-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #2e7d32;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vv-shop-title {
  margin: 0 0 12px;
  color: #1b5e20;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.vv-shop-intro {
  max-width: 760px;
  margin: 0 0 24px;
  color: #555555;
  font-size: 1.05rem;
  line-height: 1.6;
}

.shop-kategorie-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-kategorie-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid #2e7d32;
  border-radius: 999px;
  background: #ffffff;
  color: #2e7d32;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.shop-kategorie-nav a:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .vv-shop-header {
    margin: 22px 0 24px;
  }

  .vv-shop-title {
    font-size: 2rem;
  }

  .vv-shop-intro {
    font-size: 1rem;
  }

  .shop-kategorie-nav {
    gap: 8px;
  }

  .shop-kategorie-nav a {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

/* Aktive Shop-Kategorie */
.shop-kategorie-nav a.is-active {
  background: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.shop-kategorie-nav a.is-active:hover {
  background: #1b5e20;
  color: #ffffff;
}

/* A category navigation without published products only leads to empty result
 * pages. Keep the prepared shop honest until the first products go live. */
.views-element-container:has(.vv-shop-empty) .shop-kategorie-nav {
  display: none;
}

/* =========================================================
   VIDA VERTICAL BRAND
   ========================================================= */

.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #1b5e20;
  text-decoration: none;
}

.site-brand:hover {
  color: #2e7d32;
}

.site-brand-name {
  display: block;
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Editorial tables are supplied as rich-text markup and therefore do not
   consistently have a component-specific wrapper. Keep their horizontal
   scrolling inside the table on narrow screens instead of widening the page. */
@media (max-width: 600px) {
  main table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
