/* ============================================================
   Vorster Consulting — site components ("warm studio" redesign)
   header, hero, sections, cards, pricing, process, contact, footer
   ============================================================ */

/* ---- header --------------------------------------------------- */

.v-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(248, 244, 236, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--v-ease), box-shadow .3s var(--v-ease);
}
.v-header.is-scrolled {
  border-bottom-color: var(--v-line);
  box-shadow: 0 4px 20px rgba(84, 62, 32, .07);
}
.v-header__bar {
  max-width: var(--v-wrap); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  height: var(--v-header-h);
  display: flex; align-items: center; gap: 28px;
}

/* brand v3: the customer's ORIGINAL logo files (logo-v.png + logo-text.png,
   backgrounds keyed out, pixels untouched). Header shows V + wordmark image;
   the dark footer keeps the V + white HTML text (the grey lettering of the
   wordmark image would not read on navy). V matches the wordmark height. */
.v-brand { display: inline-flex; align-items: center; gap: 10px; }
/* the V file is cropped to its glyph — same height as the wordmark image */
.v-brand__mark { height: 38px; width: auto; display: block; object-fit: contain; }
.v-brand__wordmark { height: 38px; width: auto; display: block; }
.v-brand__text { display: flex; flex-direction: column; line-height: 1; }
.v-brand__name {
  font-weight: 400; font-size: 21px; letter-spacing: .30em;
  text-transform: uppercase; color: var(--v-blue);
}
.v-brand__sub {
  font-size: 11.5px; font-weight: 400; letter-spacing: .16em; color: #7A8087;
  margin-top: 4px; text-transform: none;
}
.v-brand:hover .v-brand__name { color: var(--v-blue-deep); }
/* collapse: on small screens only the V remains */
@media (max-width: 560px) {
  .v-brand__text, .v-brand__wordmark { display: none; }
}

/* nav — small, lowercase, letter-spaced (reference vibe) */
.v-nav { margin-left: auto; }
.v-nav__head { display: none; }
.v-nav__menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.v-nav__item a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-weight: 500; font-size: 14px; color: var(--v-ink);
  letter-spacing: .12em; text-transform: lowercase;
  transition: background .2s var(--v-ease), color .2s var(--v-ease);
}
#wrapwrap.o-vorster .v-nav__item a { color: var(--v-ink); }
.v-nav__item a:hover { background: var(--v-warm-soft); color: var(--v-warm); }
.v-nav__item.is-current a { background: var(--v-blue-soft); color: var(--v-blue); font-weight: 600; }

.v-header__cta { display: flex; align-items: center; gap: 12px; }

/* language pill + a11y button: pinned to the RIGHT SCREEN EDGE, after the CTA
   (absolute inside the full-width sticky header, outside the centered bar).
   The bar reserves right-hand room where the viewport is narrow enough for
   the centered content to reach the edge group. */
.v-header__edge {
  position: absolute; right: clamp(8px, 1.2vw, 18px); top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 8px;
}
@media (max-width: 1400px) {
  .v-header__bar { padding-right: 158px; }
}
@media (max-width: 400px) {
  .v-header__bar { padding-right: 128px; }
}

/* header language pill + a11y button — light-background variants of the footer
   controls (shared shape is defined with .v-lang / .v-a11y-btn in the footer
   section below; here we only override colors + sizing for the cream header) */
.v-header .v-lang { border-color: var(--v-line); }
#wrapwrap.o-vorster .v-header .v-lang__seg { color: var(--v-mist); }
#wrapwrap.o-vorster .v-header .v-lang__seg:hover { color: var(--v-ink); }
#wrapwrap.o-vorster .v-header .v-lang__seg.is-active,
#wrapwrap.o-vorster .v-header .v-lang__seg.is-active:hover { background: var(--v-blue); color: #fff; }

.v-header .v-a11y-btn {
  width: 38px; height: 38px;
  border-color: var(--v-line);
  background: transparent; color: var(--v-ink);
}
.v-header .v-a11y-btn svg { width: 20px; height: 20px; }
.v-header .v-a11y-btn:hover { background: var(--v-warm-soft); border-color: var(--v-warm); color: var(--v-warm); }
.v-header .v-a11y-btn:focus-visible { outline: 3px solid var(--v-blue); outline-offset: 2px; }

.v-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1.5px solid var(--v-line); border-radius: 12px;
  cursor: pointer;
}
.v-nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--v-ink); border-radius: 2px;
}
.v-nav-backdrop {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(35, 42, 82, .4);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--v-ease);
}

@media (max-width: 900px) {
  /* backdrop-filter turns the header into a containing block for FIXED
     descendants — it trapped the off-canvas drawer + its backdrop inside
     the 78px header (white panel clipped, menu items floating transparent).
     On mobile: no blur, near-opaque background instead. */
  .v-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(248, 244, 236, .97);
  }
  .v-nav-toggle { display: flex; }
  body.nav-open .v-nav-backdrop { opacity: 1; pointer-events: auto; }
  .v-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002;
    width: min(320px, 85vw);
    background: var(--v-surface);
    box-shadow: -12px 0 40px rgba(84, 62, 32, .18);
    transform: translateX(105%);
    transition: transform .35s var(--v-ease);
    padding: 18px 22px;
    margin-left: 0;
  }
  body.nav-open .v-nav { transform: none; }
  .v-nav__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
  }
  .v-nav__label {
    margin: 0; font-size: 12px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--v-mist);
  }
  .v-nav__close {
    background: none; border: 0; font-size: 30px; line-height: 1;
    color: var(--v-ink); cursor: pointer; padding: 4px 10px;
  }
  .v-nav__menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .v-nav__item a { padding: 13px 16px; border-radius: 12px; font-size: 16px; }
  /* CTA button hides on mobile; the off-canvas nav leaves the flow, so the
     burger needs its own margin-left:auto to stay right-aligned (the edge
     controls sit absolute at the screen edge, the bar reserves the room) */
  .v-header__cta .v-btn { display: none; }
  .v-header__bar { gap: 14px; }
  .v-header__cta { gap: 8px; margin-left: auto; }
}
/* narrowest phones: the wordmark is already hidden (V only, ≤560px) —
   just tighten the remaining controls */
@media (max-width: 400px) {
  .v-header__bar { gap: 10px; }
  .v-header__cta { gap: 6px; }
  #wrapwrap.o-vorster .v-header .v-lang__seg { min-width: 28px; padding: 5px 8px; letter-spacing: .04em; }
  .v-header .v-a11y-btn { width: 34px; height: 34px; }
  .v-nav-toggle { width: 40px; height: 40px; }
}

/* ---- hero ----------------------------------------------------- */

.v-hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px);
}
/* soft warm + blue glows on the cream paper */
.v-hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -260px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(61, 102, 255, .10), transparent 70%);
  pointer-events: none;
}
.v-hero::after {
  content: ""; position: absolute; z-index: 0;
  bottom: -280px; left: -200px; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(210, 149, 92, .14), transparent 70%);
  pointer-events: none;
}
.v-hero .wrap { position: relative; z-index: 1; }

/* full-width hero: copy left, laptop illustration right */
.v-hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 900px) {
  .v-hero__grid { grid-template-columns: 1fr; }
  .v-hero__media { max-width: 560px; margin-inline: auto; }
}
.v-hero__copy .v-kicker::after { display: none; }  /* left-aligned: opening dash only */
.v-hero__title { max-width: 16ch; }
.v-hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
}
.v-hero__media img { display: block; width: 100%; height: auto; }

/* decorative floating pixels (logo motif) */
.v-pixels { position: absolute; z-index: 0; pointer-events: none; }
.v-pixels span {
  position: absolute; display: block; background: var(--v-blue);
  opacity: .14; border-radius: 2px;
  animation: v-pixel-float 7s ease-in-out infinite;
}
.v-pixels span:nth-child(2n) { animation-delay: -2.5s; opacity: .10; background: var(--v-warm); }
.v-pixels span:nth-child(3n) { animation-delay: -4.5s; opacity: .18; }
@keyframes v-pixel-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) { .v-pixels span { animation: none; } }

/* "a few fun stats" card */
.v-stats-card {
  margin: clamp(36px, 5vw, 56px) auto 0;
  background: var(--v-warm-soft);
  border: 1px solid var(--v-sand-deep);
  border-radius: var(--v-radius);
  padding: 26px clamp(20px, 4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-around; gap: 22px;
  text-align: center;
}
.v-stat { min-width: 150px; }
.v-stat__num {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -.02em;
  color: var(--v-ink); margin: 0;
}
.v-stat__label { font-size: 13.5px; color: var(--v-mist); margin: 4px 0 0; letter-spacing: .04em; }

/* ---- sections ------------------------------------------------- */

.v-section { padding: clamp(60px, 8vw, 108px) 0; }
.v-section--white { background: var(--v-surface); }
.v-section--sand {
  background: var(--v-sand);
  border-block: 1px solid var(--v-sand-deep);
}
.v-section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.v-section__head--center { margin-inline: auto; text-align: center; }
.v-section__head--center .v-kicker { justify-content: center; }

/* ---- service cards ------------------------------------------- */

.v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .v-cards { grid-template-columns: 1fr; } }

.v-card {
  position: relative;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  padding: 34px 30px 30px;
  box-shadow: var(--v-shadow);
  transition: transform .3s var(--v-ease), box-shadow .3s var(--v-ease), border-color .3s var(--v-ease);
}
.v-card:hover { transform: translateY(-6px); box-shadow: var(--v-shadow-lift); border-color: var(--v-warm); }
.v-card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--v-blue-soft);
  color: var(--v-blue);
  border: 1px solid #D9E0F8;
}
.v-card__icon svg { width: 26px; height: 26px; }
.v-card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.v-card p { font-size: 15.5px; margin: 0; }
.v-card__more {
  display: inline-block; margin-top: 18px; font-weight: 600; font-size: 14.5px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--v-warm);
  padding-bottom: 2px;
}
.v-card__more::after { content: " →"; transition: margin .2s var(--v-ease); }
.v-card:hover .v-card__more::after { margin-left: 4px; }
/* stretched link: the whole card is clickable (single nav target) */
.v-card { cursor: pointer; }
.v-card__more::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
}

/* ---- process steps (on the sand band) ------------------------ */

.v-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .v-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .v-steps { grid-template-columns: 1fr; } }
.v-step {
  position: relative; padding: 28px 24px;
  background: var(--v-surface);
  border: 1px solid var(--v-sand-deep);
  border-radius: var(--v-radius-sm);
  box-shadow: var(--v-shadow);
}
.v-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 700; font-size: 13px; letter-spacing: .18em; line-height: 1;
  color: var(--v-warm); margin-bottom: 14px;
}
.v-step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.v-step p { font-size: 14.5px; margin: 0; color: var(--v-body); }

/* ---- pricing / package cards --------------------------------- */

.v-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .v-tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.v-tier {
  display: flex; flex-direction: column;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  padding: 34px 30px;
  box-shadow: var(--v-shadow);
  transition: transform .3s var(--v-ease), box-shadow .3s var(--v-ease);
}
.v-tier:hover { transform: translateY(-6px); box-shadow: var(--v-shadow-lift); }
.v-tier--featured {
  border: 2px solid var(--v-blue);
  box-shadow: 0 18px 48px rgba(27, 63, 219, .13);
  position: relative;
}
.v-tier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--v-blue); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.v-tier__name {
  font-size: .95rem; letter-spacing: .22em; text-transform: lowercase;
  color: var(--v-warm); font-weight: 600;
}
.v-tier__price {
  font-size: 2rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--v-ink); margin: 6px 0 2px;
}
.v-tier__price small { font-size: .9rem; font-weight: 500; color: var(--v-mist); letter-spacing: 0; }
.v-tier__gross { font-size: 13px; color: var(--v-mist); margin: 0 0 16px; letter-spacing: .01em; }
.v-tier__tagline { font-size: 14.5px; color: var(--v-mist); margin-bottom: 20px; }
.v-tier__features { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--v-line); flex: 1; }
.v-tier__features li {
  position: relative; padding: 6px 0 6px 30px; font-size: 15px;
}
.v-tier__features li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--v-blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3FDB' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.v-tier__features li.is-muted { color: var(--v-mist); }
.v-tier__features li.is-muted::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23969185' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  background-color: var(--v-sand);
}
.v-tier__actions { display: flex; flex-direction: column; gap: 10px; }

/* ---- split feature (leistungen) ------------------------------ */

.v-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .v-split { grid-template-columns: 1fr; } }
.v-split__media {
  border-radius: var(--v-radius); overflow: hidden;
  box-shadow: var(--v-shadow-lift);
  border: 6px solid var(--v-surface);
  outline: 1px solid var(--v-line);
}
.v-split__media img { display: block; width: 100%; }
.v-split--flip .v-split__media { order: 2; }
@media (max-width: 860px) { .v-split--flip .v-split__media { order: 0; } }
.v-check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.v-check-list li { position: relative; padding: 7px 0 7px 32px; }
.v-check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 20px; height: 20px; border-radius: 7px;
  background: var(--v-warm-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D2955C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---- CTA band ------------------------------------------------- */

.v-cta {
  position: relative; overflow: hidden;
  border-radius: calc(var(--v-radius) + 10px);
  background:
    radial-gradient(700px 320px at 12% 120%, rgba(210, 149, 92, .35), transparent 70%),
    linear-gradient(120deg, var(--v-blue-deep), var(--v-blue) 60%, var(--v-blue-bright));
  color: #E4E9FC;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
}
.v-cta h2 { color: #fff; margin-bottom: .3em; }
.v-cta p { margin: 0; max-width: 52ch; }
.v-cta__body { flex: 1 1 380px; }

/* ---- contact page -------------------------------------------- */

.v-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .v-contact-grid { grid-template-columns: 1fr; } }
.v-contact-card {
  background: var(--v-surface); border: 1px solid var(--v-line);
  border-radius: var(--v-radius); padding: 30px; box-shadow: var(--v-shadow);
}
.v-contact-card + .v-contact-card { margin-top: 18px; }
.v-contact-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.v-contact-card p { margin: 0; font-size: 15.5px; }
.v-contact-card a.v-big-link {
  display: block; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; margin-top: 4px;
  overflow-wrap: anywhere;
}

/* ---- page hero (subpages) ------------------------------------ */

.v-page-hero {
  position: relative;
  padding: clamp(52px, 7vw, 88px) 0 clamp(30px, 4vw, 48px);
  overflow: hidden;
}
.v-page-hero::after {
  content: ""; position: absolute; z-index: 0;
  top: -240px; right: -160px; width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(210, 149, 92, .12), transparent 70%);
  pointer-events: none;
}
.v-page-hero .wrap { position: relative; z-index: 1; }

/* ---- prose (impressum) --------------------------------------- */

.v-prose { max-width: 720px; }
.v-prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* ---- footer --------------------------------------------------- */

.v-footer { background: var(--v-ink); color: #B9BDD6; }
.v-footer a { color: #D8DCEE; }
#wrapwrap.o-vorster .v-footer a { color: #D8DCEE; }
#wrapwrap.o-vorster .v-footer a:hover { color: #fff; }
.v-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding-top: clamp(44px, 6vw, 70px); padding-bottom: 40px;
}
@media (max-width: 780px) { .v-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.v-brand--footer .v-brand__name { color: #fff; }
.v-brand--footer .v-brand__sub { color: #8D93B8; }
.v-footer__claim { margin: 16px 0 0; font-size: 15px; line-height: 1.6; }
.v-footer__title {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: lowercase;
  color: var(--v-warm); margin-bottom: 14px;
}
.v-footer__list { list-style: none; margin: 0; padding: 0; }
.v-footer__list li { padding: 5px 0; font-size: 15px; }
.v-footer__legal {
  display: flex; flex-wrap: wrap; gap: 16px 22px; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px; padding-bottom: 26px; font-size: 14px;
}
.v-footer__copy { margin: 0; }
/* right cluster: a11y button · language pill · legal links */
.v-footer__end {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
}
.v-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }

/* round accessibility button (mirrors the a11y fab icon) */
.v-a11y-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04); color: #D8DCEE;
  cursor: pointer;
  transition: background .2s var(--v-ease), border-color .2s var(--v-ease), color .2s var(--v-ease);
}
.v-a11y-btn svg { width: 22px; height: 22px; display: block; }
.v-a11y-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: #fff; }
.v-a11y-btn:focus-visible { outline: 3px solid var(--v-blue-bright); outline-offset: 2px; }

/* language switcher pill (segmented DE / EN) */
.v-lang {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 3px;
}
#wrapwrap.o-vorster .v-lang__seg {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em;
  color: #B9BDD6; line-height: 1;
  transition: background .2s var(--v-ease), color .2s var(--v-ease);
}
#wrapwrap.o-vorster .v-lang__seg.is-active { background: var(--v-blue); color: #fff; }
#wrapwrap.o-vorster .v-lang__seg:hover { color: #fff; }
#wrapwrap.o-vorster .v-lang__seg.is-active:hover { color: #fff; }

@media (max-width: 780px) {
  .v-footer__legal { justify-content: flex-start; }
}
