/*
 * vandrangl-art – main.css
 * Structural & base styles only. Final design/branding styles are added later.
 *
 * Sections:
 *  0. CSS Custom Properties (design tokens)
 *  1. Reset / Base
 *  2. Layout
 *  3. Header & Navigation
 *  4. Footer
 *  5. Utility classes
 */

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors – placeholders, final palette applied later */
  --color-bg:        #ffffff;
  --color-text:      #2d2d2d;
  --color-accent:    #a8d12c;
  --color-link:      #3480ad;
  --color-muted:     #888888;
  --color-border:    #e0e0e0;

  /* Typography */
  --font-body:       'quicksand', sans-serif;
  --font-heading:    'itc-avant-garde-gothic-pro', sans-serif;
  --font-size-base:  16px;
  --line-height:     1.6;

  /* Layout */
  --banner-h: 36px;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1.3rem;
  --space-lg:  2rem;
  --space-xl:  4rem;

  /* Layout */
  --container-max:  1900px;
  --header-height:  64px;

  /* Shared grid system – hero AND product grids use these so they stay in sync */
  --shop-columns:   repeat(4, 1fr);
  --shop-gap:       var(--space-md); /* = 1rem ≈ 16px */
  --hero-gap:       var(--shop-gap); /* alias kept for .vr-main--home margin */
}

/* ============================================================
   1. RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  /* Reserve scrollbar space always → no layout jump when menu opens */
  scrollbar-gutter: stable;
  /* Clip decorative oversized elements without breaking position:sticky */
  overflow-x: clip;
}

/* Prevent body scroll when mega menu is open, without hiding scrollbar */
html.menu-open {
  overflow: hidden;
}

/* Page fade-in on load (counterpart to JS page-transition fade-out) */
@keyframes vr-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--line-height);
  animation: vr-fade-in 0.25s ease forwards;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   2. LAYOUT
   ============================================================ */
.vr-container {
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.vr-grid {
  display: grid;
  gap: var(--space-md);
}

/* ============================================================
   3. HEADER & NAVIGATION
   ============================================================ */
.vr-header {
    position: sticky;
    top: var(--banner-h);
    z-index: 300;
    height: 100px;
    background-color: var(--color-bg);
    mix-blend-mode: multiply;
}

/* When menu is open: header bg transparent so dark panel shows behind toggle */
html.menu-open .vr-header {
  background-color: transparent;
}

/* Cart and logo fade out when menu opens so only toggle is visible */
html.menu-open .vr-header__logo,
html.menu-open .vr-header__cart {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.vr-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.vr-header__logo {
  grid-column: 2;
  justify-self: center;
  transition: opacity 0.2s ease;
}

.vr-header__logo img {
  height: 50px;
  width: auto;
}

.vr-header__cart {
  transition: opacity 0.2s ease;
}

.vr-header__menu-toggle {
  grid-column: 1;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  /* stays visible above mega menu panels */
  position: relative;
  z-index: 300;
}

.vr-header__menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s ease;
  transform-origin: center;
}

/* When menu open: strokes turn white (sits over dark panel) and form X */
.vr-header__menu-toggle.is-open span {
  background-color: #ffffff;
}

.vr-header__menu-toggle.is-open span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
.vr-header__menu-toggle.is-open span:nth-child(2) {
  transform: translateY(-12px) rotate(-45deg);
}

.vr-header__cart {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
}

.vr-header__cart-count {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--color-accent);
  color: var(--color-text);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MEGA MENU
   ============================================================ */

/*
 * Architecture:
 *  .vr-mega-menu          – fixed full-screen container, clips overflow
 *  .vr-mega__overlay      – semi-transparent backdrop (fixed, full screen)
 *  .vr-mega__panels       – clip wrapper: only as tall as both panels stacked,
 *                           starts at top:0 so it covers the sticky header area
 *  .vr-mega__dark         – dark panel, slides down from above
 *  .vr-mega__white        – white nav panel, slides down after dark panel
 */

/* Full-screen fixed container */
.vr-mega-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  /* clip so panels don't bleed outside */
  overflow: hidden;
}

.vr-mega-menu[aria-hidden="false"] {
  pointer-events: auto;
}

/* Backdrop */
.vr-mega__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.vr-mega-menu[aria-hidden="false"] .vr-mega__overlay {
  opacity: 1;
}

/*
 * PANEL ARCHITECTURE (Desktop):
 *
 *  .vr-mega__panels  – animates as ONE unit: translateY(-100%) → translateY(0)
 *                      Both panels slide in together as a solid block from top.
 *                      overflow: hidden clips panels above viewport.
 *  .vr-mega__dark    – normal block flow, first child (renders on top visually)
 *                      starts slightly above via negative margin, then animates
 *                      to position with 120ms delay for stagger effect
 *  .vr-mega__white   – normal block flow, second child, min-height 100vh
 *                      so it fills the full viewport below the dark panel
 */

/* Panels wrapper – slides as one unit from top, NO overflow:hidden so dropdowns aren't clipped */
.vr-mega__panels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  will-change: transform;
}

.vr-mega-menu[aria-hidden="false"] .vr-mega__panels {
  transform: translateY(0);
}

/* ---- DARK PANEL ---- sits in normal block flow, no own animation needed */
.vr-mega__dark {
  background-color: #2D2D2D;
  width: 100%;
}

/* ---- WHITE PANEL ---- second in DOM, only as tall as nav content */
.vr-mega__white {
  background-color: #ffffff;
  width: 100%;
}

.vr-mega__dark-inner {
  width: 90%;                /* matches .vr-container */
  max-width: var(--container-max);
  margin-inline: auto;
  padding-top: 13rem;
  padding-bottom: 1.3rem;
  display: flex;
  align-items: center;       /* logo and social icons vertically centred */
  justify-content: space-between;
}

.vr-mega__logo-link {
  display: inline-flex;
  align-items: center;
}

.vr-mega__logo {
  height: 60px;
  width: auto;
}

.vr-mega__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.vr-mega__social-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vr-mega__social-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.vr-mega__social-link img {
  /* 30% larger: 20px × 1.3 = 26px */
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.vr-mega__social-link:hover img {
  opacity: 1;
}

.vr-mega__social-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vr-mega__nav {
  width: 90%;                /* matches .vr-container */
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: 0.6rem;
}

/* Horizontal nav list */
.vr-mega__nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nav items */
.vr-mega__item {
  position: relative;
}

.vr-mega__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.85rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.vr-mega__link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Caret icon */
.vr-mega__caret {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.vr-mega__item--has-sub:hover .vr-mega__caret,
.vr-mega__item--has-sub.is-open .vr-mega__caret {
  transform: rotate(180deg);
}

/* ---- DROPDOWN (2nd level) ---- */
.vr-mega__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  list-style: none;
  margin: 0;
  padding: var(--space-xs) 0;
  z-index: 10;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* Show on hover (desktop) */
.vr-mega__item--has-sub:hover .vr-mega__sub,
.vr-mega__item--has-sub.is-open .vr-mega__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vr-mega__sub-link {
  display: block;
  padding: 0.45rem var(--space-md);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vr-mega__sub-link:hover {
  background-color: #f5f5f5;
  color: var(--color-accent);
  text-decoration: none;
}

.vr-mega__sub-note {
  color: var(--color-muted);
  font-size: 0.72rem;
}

/* ============================================================
   MOBILE MENU  (≤ 768px)
   – .vr-mega__panels becomes a right-side drawer
   – Dark panel at top: logo + social (fixed height)
   – White panel below: scrollable accordion nav
   ============================================================ */
@media (max-width: 768px) {

  /* Panels wrapper → right drawer */
  .vr-mega__panels {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    /* slide in from right */
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .vr-mega-menu[aria-hidden="false"] .vr-mega__panels {
    transform: translateX(0);
  }

  /* Dark + white panels: reset all desktop animations, drawer handles motion */
  .vr-mega__dark,
  .vr-mega__white {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  /* Dark panel: compact top strip in flex flow */
  .vr-mega__dark {
    flex-shrink: 0;
    min-height: 0;
  }

  /* White panel: reset min-height, fill remaining space */
  .vr-mega__white {
    min-height: 0;
  }

  .vr-mega__dark-inner {
    width: auto;
    max-width: none;
    padding-inline: var(--space-md);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-md);
    align-items: center;
  }

  .vr-mega__logo {
    height: 28px;
  }

  /* White panel: fills remaining height, scrollable */
  .vr-mega__white {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vr-mega__nav {
    width: auto;
    max-width: none;
    padding-inline: var(--space-md);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }

  /* Nav list: vertical stack */
  .vr-mega__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .vr-mega__item {
    border-bottom: 1px solid var(--color-border);
  }

  .vr-mega__link {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 0.85rem;
  }

  /* Caret rotates when accordion is open */
  .vr-mega__item--has-sub.is-open .vr-mega__caret {
    transform: rotate(180deg);
  }

  /* Sub-menu: accordion (height: 0 → auto) */
  .vr-mega__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    padding: 0;
    min-width: 0;
    /* collapsed */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .vr-mega__item--has-sub.is-open .vr-mega__sub {
    max-height: 300px; /* enough for any sub-list */
  }

  .vr-mega__sub-link {
    padding: 0.55rem 0 0.55rem var(--space-md);
    font-size: 0.82rem;
    color: var(--color-muted);
    border-bottom: none;
  }

  .vr-mega__sub-link:hover {
    background-color: transparent;
    color: var(--color-accent);
  }

  /* Sub-note slightly smaller on mobile */
  .vr-mega__sub-note {
    font-size: 0.68rem;
  }

}

/* Delivery banner */
.vr-delivery-banner {
  position: sticky;
  top: 0;
  z-index: 301;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-text);
  color: #ffffff;
  text-align: center;
  padding: 0 var(--space-md);
  font-size: 0.85rem;
}

/* ============================================================
   4. FOOTER
   ============================================================ */

/* Pre-footer marquee */
.vr-footer__marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-sm);
    padding-top: 14px;
    font-size: 4rem;
    letter-spacing: 0.04em;
    margin: 100px 0 60px;
}

.vr-footer__marquee-inner {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Footer shell */
.vr-footer {
  padding-block: var(--space-xl);
  margin-top: 0;
}

/* 4-column grid – col 1 (brand) slightly wider */
.vr-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

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

@media (max-width: 480px) {
  .vr-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Column headings */
.vr-footer__col-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

/* Column 1: Brand */
.vr-footer__brand-logo-link {
  display: inline-flex;
  margin-bottom: var(--space-sm);
  /* align visible left edge of SVG logo with text below */
  margin-left: -4px;
}

.vr-footer__brand-logo {
  height: 63px;
  width: auto;
  display: block;
}

.vr-footer__brand-def {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.vr-footer__more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-decoration: none;
}

.vr-footer__more-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Column 2: Navigation menu */
.vr-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.vr-footer__nav li a {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
}

.vr-footer__nav li a:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* Column 3: Contact */
.vr-footer__email {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  margin-bottom: var(--space-sm);
}

.vr-footer__email:hover {
  color: var(--color-text);
}

.vr-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.vr-footer__social a {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
}

.vr-footer__social a:hover {
  color: var(--color-text);
}

/* Column 4: Location */
.vr-footer__location {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Bottom bar: payment image left, copyright right */
.vr-footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.vr-footer__payment img {
  height: 24px;
  width: auto;
  display: block;
}

.vr-footer__copy {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Scroll-to-top button – fixed, grüner Kreis, CSS-Pfeil */
.vr-scroll-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;              /* hide the ↑ text, show only ::before */
  opacity: 1;
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

/* When hidden attr is set: fade out instead of display:none */
.vr-scroll-top[hidden] {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.vr-scroll-top:hover {
  background-color: var(--color-text);
  transform: translateY(-3px);
}

/* CSS upward-pointing triangle */
.vr-scroll-top::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 11px solid var(--color-bg);
  margin-top: -2px;   /* optical vertical centering */
}

/* ============================================================
   5. UTILITY CLASSES
   ============================================================ */
.vr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.vr-hidden {
  display: none !important;
}

.vr-text-center { text-align: center; }
.vr-text-right  { text-align: right; }

/* ============================================================
   6. HERO
   4-container image grid on front page.

   Desktop layout – 4 equal columns matching the product grid:
   ┌────────────────────┬──────────┬──────────┐
   │                    │          │  item 3  │
   │       item 1       │  item 2  │ ──────── │
   │    (cols 1–2)      │  (col 3) │  item 4  │
   └────────────────────┴──────────┴──────────┘

   grid-template-columns: var(--shop-columns)  → repeat(4, 1fr)
   Item 1 → cols 1+2  (grid-column: 1 / 3)
   Item 2 → col  3    (grid-column: 3 / 4)
   .vr-hero__col → col 4 (flex column, items 3+4 stacked inside)

   Right edge of Item 1 aligns with right edge of Product 2.
   Left  edge of Item 2 aligns with left  edge of Product 3.
   ============================================================ */

.vr-hero {
  display: grid;
  grid-template-columns: var(--shop-columns); /* same 4-col system as product grid */
  grid-template-rows: 1fr;
  height: 100vh;
  width: 90%;                 /* matches .vr-container width */
  max-width: var(--container-max);
  margin-inline: auto;
  gap: var(--shop-gap);
}

/* ── Grid placement ── */
.vr-hero__item--1 {
  grid-column: 1 / 3;         /* spans cols 1+2 → right edge = Product 2 right edge */
}
.vr-hero__item--2 {
  grid-column: 3 / 4;         /* col 3 → left edge = Product 3 left edge */
}

/* ── Column wrapper for items 3+4 ── */
/* Occupies col 4; flex stacks item 3 on top of item 4 with matching gap */
.vr-hero__col {
  grid-column: 4 / 5;
  display: flex;
  flex-direction: column;
  gap: var(--shop-gap);
}

/* Items inside the col stretch to fill equal halves */
.vr-hero__col .vr-hero__item {
  flex: 1;
}

/* ── Item base ── */
.vr-hero__item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 0;
}

.vr-hero__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

/* ── Green overlay on hover / active ── */
.vr-hero__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(168, 209, 44, 0.28);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.vr-hero__item:hover::after,
.vr-hero__item:active::after {
  opacity: 1;
}

/* ── Background image div ── */
.vr-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #e8e8e8; /* fallback colour if no image */
}

/* ── Full-area link – covers entire hero item ── */
.vr-hero__item-link,
.vr-hero__item-link:hover,
.vr-hero__item-link:active,
.vr-hero__item-link:visited {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.vr-hero__item-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -4px;
}

/* ── Hover: label drifts up ── */
.vr-hero__item:hover .vr-hero__label {
  transform: translateY(-2px);
}

/* ── Hover: button moves closer to label ── */
.vr-hero__item:hover .vr-hero__btn {
  transform: translateY(-13px) translateZ(0);
}

/* ── Hover: underline grows from center ── */
.vr-hero__item:hover .vr-hero__btn::after {
  width: 100%;
}

/* ── Content (text + button) – centred on top of image ── */
.vr-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  text-align: center;
}

.vr-hero__label {
    font-family: var(--font-heading);
    font-size: 4.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: 0 1px 7px rgb(167 167 167 / 55%);
    transition: transform 0.4s ease;
}

.vr-hero__btn {
  position: relative;
  display: inline-block;
  background-color: transparent;
  color: #fff;
  font-family: var(--font-body); /* Quicksand */
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: lowercase;
  margin-top: -1.1rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s ease;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* thin white line, wächst von der Mitte beim hover */
.vr-hero__btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.35s ease;
}

/* ── Mobile (≤ 768px): single-column stack ── */
@media (max-width: 768px) {
  .vr-hero {
    grid-template-columns: 1fr;  /* single col: items 1, 2, col each full width */
    grid-template-rows: auto;
    height: auto;
    gap: var(--shop-gap);
  }

  /* Items 1+2: full width, 4:3 ratio */
  .vr-hero__item--1,
  .vr-hero__item--2 {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  /* Col wrapper: full width; items 3+4 sit side by side (row direction) */
  .vr-hero__col {
    grid-column: 1;
    flex-direction: row;        /* side-by-side on mobile */
  }

  /* Items 3+4 inside col: equal width, square */
  .vr-hero__col .vr-hero__item {
    aspect-ratio: 1 / 1;
  }

  .vr-hero__label {
    font-size: 1rem;
  }

  .vr-hero__btn {
    font-size: 0.65rem;
    padding: 0.45rem 1rem;
  }
}

/* ── Generic site button (usable outside the hero, e.g. shortcodes) ── */
/* .vr-hero__btn is white-on-dark (hero only). Use .vr-btn everywhere else. */
.vr-btn {
  display: inline-block;
  padding: 0.55rem 1.6rem;
  background-color: var(--color-text);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.vr-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
}

/* ── Home: gap between hero and first product grid ── */
/* Uses --hero-gap so a single change keeps hero + product spacing in sync */
.vr-main--home {
  margin-top: var(--hero-gap);
}

/* ============================================================
   6. STYLED HEADLINE & INJECTED TAG LINE
   ============================================================ */

/* Tag line sits flush above the h1 — no gap, brand green, lowercase */
h2.headline-tag {
 font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: lowercase;
    color: var(--color-accent);
    margin: 0;
    padding: 0;
    line-height: 0.2;
    font-family: 'itc-avant-garde-gothic-pro', sans-serif;
}

/* Headline — large, uppercase, tight gap below so tag line reads as a unit */
h1.styled-headline {
  font-size: 5em;
  text-transform: uppercase;
  margin-bottom: 0.15em;
}

/* ============================================================
   GREENSWINK DECORATIVE ELEMENTS
   ============================================================ */

.vr-greenswink-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -2000;
}

#greensmink2 {
  width: 1920px;
  max-width: 100%;
  display: block;
  margin-top: 156vh;
  transform: scaleX(-1);
}

/* Alpine.js: hide elements until Alpine initialises */
[x-cloak] { display: none !important; }

/* Page transition animation is defined on body in section 1 (vr-fade-in).
   The old vr-page-in duplicate has been removed to fix the CSS cascade conflict. */
