/* src/css/modules/base.css */
/* Fonts */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-bold-webfont-2.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LuxusBrut";
  src: url("../fonts/LuxusBrut.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Tokens */
:root {
  --color-brand: #67201a;
  --color-hover: #921813;
  --focus-ring: 2px solid rgba(146, 24, 19, 0.65);

  --page-top: 0px;
  --sticky-top: 0px;
  /* reserved for future if we ever re-introduce a bottom bar */
  --bottom-header-reserve: 0px;

  --logo-width: clamp(240px, 24vw, 460px);
  --topbar-width: min(1700px, calc(100vw - clamp(24px, 6vw, 96px)));
  --nav-gap: clamp(12px, 1.7vw, 34px);
  --nav-size: clamp(13px, 1.1vw, 22px);
  --logo-icon-size: clamp(40px, 4.5vw, 64px);
  --header-scroll-threshold: 20;

  --content-max-width: 75vw;
  --content-pad: 100px;

  /* Header test: drop nav links relative to logo without breaking layout */
  --nav-drop: 30px;
  --nav-scale-y: 1;

  /* Anchor offset so headlines aren't hidden under the pinned header */
  --anchor-offset: 140px;
}

/* Base */
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

/* Native hash jumps and any scrollIntoView-based behavior */
[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

p a,
li a,
.form-note a,
.partner-meta a,
.testimonial-meta a,
.contact-block-address a,
.footer-nav a {
  color: var(--color-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

p a:visited,
li a:visited,
.form-note a:visited,
.partner-meta a:visited,
.testimonial-meta a:visited,
.contact-block-address a:visited,
.footer-nav a:visited {
  color: var(--color-hover);
}

p a:hover,
p a:focus-visible,
li a:hover,
li a:focus-visible,
.form-note a:hover,
.form-note a:focus-visible,
.partner-meta a:hover,
.partner-meta a:focus-visible,
.testimonial-meta a:hover,
.testimonial-meta a:focus-visible,
.contact-block-address a:hover,
.contact-block-address a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: none;
}

.mbr { display: none !important; }

/* Avoid iOS/Safari "flash" where both header states are briefly visible */
body:not(.is-ready) .topbar,
body:not(.is-ready) .nav-left,
body:not(.is-ready) .nav-right,
body:not(.is-ready) .logo,
body:not(.is-ready) .logo-full,
body:not(.is-ready) .logo-icon,
body:not(.is-ready) .brand-wordmark {
  transition: none !important;
}

/* Subpages without a hero image should not force "scroll to top" + compact header immediately */
body.subpage.subpage--no-hero {
  --header-scroll-threshold: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page {
  min-height: 100vh;
  padding-top: var(--page-top);
  padding-bottom: 0;
}

/* A11y */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--color-brand);
  border: 1px solid rgba(80, 24, 19, 0.22);
  border-radius: 12px;
  text-decoration: none;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: translateY(-140%);
  transition: transform 0.22s ease;
  z-index: 60;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: var(--focus-ring);
  outline-offset: 3px;
}


/* src/css/modules/header.css */
/* Header */
.topbar-shell {
  position: relative;
  z-index: 30;
  width: 100%;
  display: block;
}

.subpage .topbar-shell {
  position: sticky;
  top: 0;
}

.topbar-shell.is-pinned {
  position: fixed;
  top: var(--sticky-top);
  left: 0;
  right: 0;
}

.topbar-shell.is-pinned .topbar,
.nav-wrapped .topbar-shell .topbar {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* When the nav wraps, keep the pinned header at the top (not as a bottom bar). */
.nav-wrapped .topbar-shell {
  position: fixed;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ffffff;
  border: 0;
  padding-top: env(safe-area-inset-top);
}

/* Match large-view spacing even in wrapped (bottom) mode. */
.nav-wrapped {
  --nav-gap: clamp(12px, 1.7vw, 34px);
}

/* no special .topbar layout needed here; existing responsive rules handle wrapping */

.topbar-placeholder {
  height: 0;
}

.topbar {
  display: flex;
  width: min(1200px, 100%);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2.2vw, 30px);
  flex-wrap: nowrap;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  background: transparent;
  border-radius: 0 !important;
  padding: 10px clamp(18px, 6vw, 96px) calc(10px + var(--nav-drop));
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--nav-gap);
  position: relative;
  z-index: 2;
  color: var(--color-brand);
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--nav-size);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0;
  padding-top: 0;
  transform: translateY(var(--nav-drop)) scaleY(var(--nav-scale-y));
  transform-origin: top left;
  transition: transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.nav .nav-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  line-height: 1;
}

.nav .nav-btn:hover,
.nav .nav-btn:focus-visible {
  color: var(--color-hover);
  outline: none;
}

.nav .nav-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
  border-radius: 10px;
}

.nav-left {
  order: 1;
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-right {
  order: 2;
  justify-content: flex-end;
  text-align: right;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--color-hover);
}

.nav a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
  border-radius: 10px;
}

.nav a[aria-current="location"] {
  color: var(--color-hover);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 0;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 260px;
  height: 12px;
  transform: translateX(-50%);
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.48em;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-0.08em) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  gap: 16px;
  min-width: 250px;
  padding: 22px 18px;
  padding-left: calc(18px + var(--dropdown-align-offset, 0px));
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(80, 24, 19, 0.14);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 140ms ease;
  z-index: 20;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0;
  font-size: var(--nav-size);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
  color: var(--color-brand);
}

.nav-dropdown-menu a[aria-current="page"] {
  color: var(--color-hover);
  font-weight: 400;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: translateY(0.02em) rotate(225deg);
}

/* Logo */
.logo-wrap {
  position: relative;
  width: var(--logo-width);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(74px, 7vw, 140px);
  order: 0;
  z-index: 2;
  transition:
    width 420ms cubic-bezier(0.16, 1, 0.3, 1),
    min-width 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: gap 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
  display: block;
  max-width: 100%;
  height: auto;
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-full {
  width: var(--logo-width);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.logo-icon {
  position: absolute;
  width: var(--logo-icon-size);
  opacity: 0;
  transform: translateY(12px) scale(0.7) rotate(-8deg);
}

.brand-wordmark {
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  translate: 0 calc(-50% + 12px);
  font-family: "LuxusBrut", "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.95;
  color: var(--color-brand);
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transform-origin: left center;
  pointer-events: none;
  transition: none;
}

body.is-scrolled .brand-wordmark,
body.subpage .brand-wordmark {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateX(0) !important;
  color: var(--color-brand) !important;
  font-family: "LuxusBrut", "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: clamp(34px, 3.4vw, 52px) !important;
  line-height: 0.95 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  transition:
    opacity 280ms ease,
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* When space is tight in sticky mode, hide the wordmark first */
body.compact-hide-wordmark .brand-wordmark {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.is-scrolled.compact-hide-wordmark .logo-wrap,
body.subpage.compact-hide-wordmark .logo-wrap {
  min-width: var(--logo-icon-size);
}

/* Burger */
.burger-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-brand);
  cursor: pointer;
}

.burger-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
  border-radius: 10px;
}

.burger-lines {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.burger-lines::before { top: -7px; }
.burger-lines::after { top: 7px; }

body.use-burger .nav-left,
body.use-burger .nav-right {
  display: none;
}

body.use-burger .burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Safety: when the burger menu is open, always hide the inline nav */
body.burger-open .nav-left,
body.burger-open .nav-right {
  display: none;
}

.burger-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 55;
}

.burger-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--anchor-offset) - 16px);
  background: #ffffff;
  z-index: 56;
  width: 100%;
  min-height: calc(100vh - (var(--anchor-offset) - 16px));
  padding: 28px 0 36px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.burger-panel-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 26px;
}

.burger-panel-icon {
  display: block;
  width: 74px;
  height: auto;
}

.burger-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(150px, calc(100vw - 240px));
  margin: 0 auto;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-brand);
  text-align: left;
}

.burger-nav-group {
  display: grid;
  gap: 10px;
  padding: 0;
}

.burger-nav-group > a {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.burger-nav a {
  color: inherit;
  text-decoration: none;
  padding: 8px 0;
}

.burger-subnav {
  display: grid;
  gap: 6px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(103, 32, 26, 0.16);
}

.burger-subnav a {
  padding: 2px 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(103, 32, 26, 0.86);
}

.burger-nav a:hover,
.burger-nav a:focus-visible {
  color: var(--color-hover);
  outline: none;
}

body.burger-open .burger-panel,
body.burger-open .burger-backdrop {
  display: block;
}

/* Header Scroll State */
body.is-scrolled {
  --nav-gap: clamp(12px, 1.7vw, 34px);
  --nav-drop: 10px;
  --nav-scale-y: 0.92;
}

body.is-scrolled .topbar {
  transform: none;
  background: #ffffff;
  gap: var(--nav-gap);
  position: relative;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Subpages: softer/larger fade-out under the sticky bar (only before the hero overlay fades). */
body.subpage.is-scrolled:not(.has-scrolled) .topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 78px;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

body.is-scrolled .logo-wrap,
.subpage .logo-wrap {
  width: auto;
  min-width: calc(var(--logo-icon-size) + 170px);
  min-height: var(--logo-icon-size);
}

body.is-scrolled .nav-left,
body.is-scrolled .nav-right {
  padding: 0;
}

body.is-scrolled .logo-full {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: var(--logo-width);
  margin: auto;
  transform: translateY(-6px) scale(0.94);
}

body.is-scrolled .logo-icon,
.subpage .logo-icon {
  position: static;
  opacity: 1;
  width: var(--logo-icon-size);
  flex: 0 0 auto;
  transform: none;
}

body.is-scrolled .logo-link,
.subpage .logo-link {
  width: auto;
  height: auto;
  gap: 18px;
}

body.is-scrolled .brand-wordmark,
.subpage .brand-wordmark {
  position: static;
  display: block;
  flex: 0 0 auto;
  translate: none;
  margin-top: 8px;
  left: auto;
  top: auto;
  z-index: 1;
}

/* Subpages: start compact and keep it still (no header animation on load/scroll). */
.subpage .topbar,
.subpage .nav-left,
.subpage .nav-right,
.subpage .logo {
  transition: none !important;
}

.subpage .topbar {
  background: #ffffff;
}

.subpage .logo-full {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
}

.subpage .logo-icon {
  left: auto;
  top: auto;
  translate: none;
}


/* src/css/modules/content.css */
/* Hero */
.hero {
  width: 100%;
  margin-top: 0;
  position: relative;
  --hero-content-top: 50%;
  --hero-flow-reserve: clamp(220px, 24vw, 420px);
  padding-bottom: var(--hero-flow-reserve);
}

.hero + .hero {
  margin-top: 0;
}

.hero-media {
  width: 100%;
  height: clamp(320px, 70vh, 900px);
  overflow: hidden;
  position: relative; /* anchor absolute overlays (e.g. logo) to the image area */
}

.hero-logo-on-image {
  position: absolute;
  left: 50%;
  bottom: 100px;
  translate: -50% 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-on-image-img {
  width: min(420px, 70vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.hero-logo-mobile {
  display: none;
  width: 100%;
  justify-content: center;
  padding: 50px 0 0 0;
}

.hero-logo-mobile-img {
  width: min(360px, 72vw);
  height: auto;
  display: block;
}

body.use-burger .hero--weinberg .hero-logo-on-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body:not(.is-ready) .hero-logo-on-image,
body:not(.is-ready) .hero-logo-mobile {
  opacity: 0 !important;
  transition: none !important;
}

/* On small screens we force burger via media-query, so keep the overlay visible even before scroll */
@media (max-width: 567px) {
  .hero-logo-mobile {
    display: flex;
  }

  .hero--weinberg .hero-logo-on-image {
    display: none;
  }
}

#weinwanderung .hero-media {
  height: clamp(420px, 85vh, 980px);
}

.subpage .hero-media {
  height: min(1100px, 100vh);
}

.subpage .hero {
  position: relative;
  padding-bottom: 0;
}

.subpage .hero-media {
  position: relative;
}

.subpage .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
  transition: opacity 420ms ease;
  pointer-events: none;
  z-index: 1;
}

body.has-scrolled.subpage .hero-media::after {
  opacity: 0;
}

.hero-badge {
  position: absolute;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  width: min(92vw, 1200px);
}

.hero-badge-icon {
  width: 84px;
  height: 84px;
  display: block;
  margin: 0 auto 14px auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.hero-badge-title {
  margin: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

/* Type System */
.title-hero {
  margin: 0 0 16px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--color-hover);
}

.title-h3 {
  margin: 0 0 18px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--color-brand);
}

.title-h3--left {
  text-align: left !important;
}

.title-h3--spaced {
  margin-top: 54px;
}

.title-section {
  margin: 0 0 18px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--color-brand);
}

.title-luxus {
  margin: 0 0 14px 0;
  font-family: "LuxusBrut", "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 100px;
  line-height: 0.95;
  text-transform: none;
  color: var(--color-hover);
  letter-spacing: 0.01em;
}

.subpage .title-luxus {
  font-size: clamp(56px, 7vw, 100px);
}

.detail-icon {
  width: 78px;
  height: 78px;
  display: block;
  margin: 0 0 18px 0;
}

.detail-icon--center {
  margin-left: auto;
  margin-right: auto;
}

.detail-section {
  width: 100%;
  padding: clamp(34px, 5vw, 90px) clamp(18px, 6vw, 96px);
  background: #ffffff;
}

.detail-section--beige {
  background: #f9f5ea;
}

.detail-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.subpage .detail-icon {
  margin: 0 auto 18px auto;
}

.subpage .title-luxus {
  text-align: center;
}

.detail-copy {
  width: min(70%, 980px);
  margin: 0 auto;
}

.subpage .detail-copy .title-h3 {
  text-align: center;
}

.subpage .detail-copy .title-h3 + .title-h3 {
  margin-top: 34px;
}

.subpage .detail-copy .title-h3.title-h3--left {
  margin-top: 54px;
}

.subpage .detail-copy .detail-list {
  text-align: left;
}

.partner-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: left;
  align-items: stretch;
}

.partner {
  padding: 18px 18px 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-logo {
  display: block;
  width: min(360px, 100%);
  height: 92px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.partner-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  /* Keep both cards aligned even if lead text differs slightly */
  min-height: calc(1.6em * 4);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.partner-brand {
  height: 150px; /* fixed block so logo+name align across both cards */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

.partner-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.partner-meta-wrap {
  margin-top: auto; /* push Lage/Website to the bottom, aligned across both cards */
}

.partner-name {
  margin: 0;
  display: inline;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-brand);
  text-align: left;
}

.partner-meta {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.partner-link {
  color: var(--color-brand);
  text-decoration: none;
}

.partner-link:hover,
.partner-link:focus-visible {
  color: var(--color-hover);
  text-decoration: underline;
  outline: none;
}

.partner-meta + .partner-meta {
  margin-top: 6px;
}

@media (max-width: 860px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.subpage .detail-copy .title-hero {
  text-align: center;
}

.detail-tagline {
  display: none;
}

.detail-inner p {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-brand);
}

.detail-inner p + p {
  margin-top: 16px;
}

.detail-inner .cta {
  margin-top: 26px;
}

.detail-related {
  margin-top: clamp(34px, 4vw, 54px);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 6vw, 96px);
  background: #ffffff;
  text-align: center;
  /* Full-bleed background (not a centered "box") */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.detail-related-title {
  margin: 0 0 22px 0;
  text-align: center;
}

.detail-related .offer-grid {
  justify-items: center;
}

.detail-related .offer-card {
  width: min(460px, 100%);
}

/* Hero Content Box */
.hero-content {
  position: absolute;
  left: 0;
  top: var(--hero-content-top-px, var(--hero-content-top));
  display: inline-block;
  width: min(var(--content-max-width), 100%);
  max-width: var(--content-max-width);
  background: #ffffff;
  padding: var(--content-pad);
  z-index: 2;
}

.hero-content--beige {
  background: #f9f5ea;
}

.hero-content--right {
  left: auto;
  right: 0;
}

.hero-content--static {
  position: static;
  top: auto;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  body.js-enabled .hero-content {
    opacity: 0;
    transition: opacity 900ms ease 120ms;
  }

  body.js-enabled .hero-content.is-revealed {
    opacity: 1;
  }
}

.hero-content p {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-brand);
}

.hero-content p + p {
  margin-top: 16px;
}

.detail-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: #ffffff;
  border-left: 0;
  border-radius: 12px 0 0 12px;
}

.detail-list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-brand);
}

.detail-list li + li {
  margin-top: 6px;
}

.detail-spacer {
  margin-top: 16px;
}

.cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 18px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: linear-gradient(90deg, #caa966 0%, #bf963d 50%, #caa966 100%);
  text-decoration: none;
  transition: background-color 220ms ease, transform 220ms ease;
}

.cta--lg {
  padding: 16px 26px;
  font-size: 16px;
}

.cta--center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Drawer */
body.is-contact-open {
  overflow: hidden;
}

.contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(80, 24, 19, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 90;
}

.contact-drawer {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(92vh, 760px);
  width: 100%;
  background: #ffffff;
  transform: translateY(102%);
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(80, 24, 19, 0.12);
}

body.is-contact-open .contact-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.is-contact-open .contact-drawer {
  transform: translateY(0);
}

.contact-drawer-header {
  padding: 18px 18px 12px 18px;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-drawer-header-inner {
  width: min(80%, 620px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-drawer-title {
  margin: 0;
  text-align: center;
}

.contact-drawer-title.title-h3 {
  margin: 0;
}

.contact-drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(80, 24, 19, 0.06);
  color: var(--color-brand);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.contact-drawer-close:hover,
.contact-drawer-close:focus-visible {
  background: rgba(80, 24, 19, 0.1);
  color: var(--color-hover);
  outline: none;
}

.contact-drawer-body {
  padding: 18px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.contact-drawer--submitted .contact-drawer-header {
  padding: 12px 18px 0 18px;
}

.contact-drawer--submitted .contact-drawer-header-inner {
  width: 100%;
  justify-content: flex-end;
}

.contact-drawer--submitted .contact-drawer-title {
  display: none;
}

.contact-drawer--submitted .contact-drawer-body {
  flex: 1 1 auto;
  display: flex;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(80%, 620px);
  margin: 0 auto;
}

.contact-form--compact .field label {
  margin: 0;
}

@media (min-width: 860px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
}

.field--span2 {
  grid-column: 1 / -1;
}

.field--checklist {
  display: grid;
  gap: 12px;
}

.form-choice-title {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-brand);
}

.checklist {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.field--checklist .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0;
  background: transparent;
}

.field--checklist.is-invalid {
  border-radius: 18px;
  outline: 2px solid #c43b31;
  outline-offset: 8px;
}

.check.is-invalid {
  border-radius: 16px;
  outline: 2px solid #c43b31;
  outline-offset: 8px;
}

.field--checklist .check input {
  flex: 0 0 18px;
  margin: 5px 0 0 0;
  accent-color: var(--color-hover);
  width: 18px;
  height: 18px;
}

.field--checklist .check-text {
  display: inline;
  flex: 1 1 auto;
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-brand);
}

.form-note {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(80, 24, 19, 0.75);
}

.form-feedback {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.form-feedback[hidden] {
  display: none !important;
}

.form-feedback--plain {
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.form-feedback-title {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-brand);
}

.form-feedback-text {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(80, 24, 19, 0.88);
}

.form-feedback-actions {
  display: flex;
  justify-content: center;
}

.form-feedback-close {
  min-width: 190px;
}

.field label {
  display: block;
  margin: 0 0 6px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(80, 24, 19, 0.75);
}

.field input,
.field textarea {
  width: 100%;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-brand);
  border: 0;
  border-radius: 12px 0 0 12px;
  padding: 12px 12px;
  outline: none;
  background: #f9f5ea;
}

.field.is-invalid input,
.field.is-invalid textarea,
.contact-mini input.is-invalid,
.contact-mini textarea.is-invalid {
  box-shadow: inset 0 0 0 2px #c43b31;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(80, 24, 19, 0.78);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.contact-form .cta {
  width: 100%;
  text-align: center;
}

.contact-form--submitted {
  min-height: min(56vh, 380px);
  align-content: center;
}

.contact-form--submitted > :not(.form-feedback) {
  display: none;
}

.contact-form--submitted .form-feedback {
  margin: auto 0;
  min-height: min(56vh, 380px);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.contact-form--submitted .form-feedback-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  text-align: center;
}

.contact-form--submitted .form-feedback-text {
  max-width: 34ch;
  text-align: center;
}

@media (max-width: 820px) {
  /* Already bottom-sheet; keep for clarity. */
}

.cta,
.cta[type="button"] {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
}

.cta:hover,
.cta:focus-visible {
  background: linear-gradient(90deg, #bf963d 0%, #caa966 50%, #bf963d 100%);
  transform: translateY(-1px);
  outline: none;
}

.side-request-btn {
  position: fixed;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  z-index: 70;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 18px 14px 16px;
  writing-mode: horizontal-tb;
  transform: none;
  text-align: center;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, #caa966 0%, #bf963d 52%, #a77a2d 100%);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 18px 40px rgba(103, 32, 26, 0.2);
  cursor: pointer;
  transition:
    transform 220ms ease,
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.side-request-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: -4px;
  width: 4px;
  height: 100%;
  background: inherit;
}

.side-request-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 0 10px 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.side-request-line {
  display: block;
}

.side-request-line--lead {
  font-size: 22px;
  line-height: 1.02;
}

.side-request-btn:hover,
.side-request-btn:focus-visible {
  transform: translateX(-4px);
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #d7b97c 0%, #c59d47 52%, #b28432 100%);
  box-shadow: 0 22px 46px rgba(103, 32, 26, 0.28);
  outline: none;
}

.side-top-btn {
  position: fixed;
  top: auto;
  bottom: 28px;
  right: 0;
  z-index: 69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  text-decoration: none;
  color: #ffffff;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(180deg, #7d2b22 0%, #67201a 100%);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 18px 40px rgba(103, 32, 26, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease;
}

.side-top-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: -4px;
  width: 4px;
  height: 100%;
  background: inherit;
}

body.has-scrolled .side-top-btn {
  opacity: 1;
  pointer-events: auto;
}

.side-top-btn:hover,
.side-top-btn:focus-visible {
  transform: translateX(-4px);
  background: linear-gradient(180deg, #8e3429 0%, #74251e 100%);
  box-shadow: 0 22px 46px rgba(103, 32, 26, 0.24);
  outline: none;
}

/* Content Sections */
.section {
  width: 100%;
  padding: clamp(28px, 5vw, 80px) clamp(18px, 6vw, 96px);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.marketing {
  margin: 0 auto;
  max-width: 980px;
}

.marketing-icon {
  width: 78px;
  height: 78px;
  display: block;
  margin: 0 auto 34px auto;
}

.marketing-two-col {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  max-width: 1100px;
  text-align: left;
}

.marketing-col--icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.marketing-icon--xl {
  width: 180px;
  height: 180px;
  margin: 0;
}

.marketing-two-col .title-hero,
.marketing-two-col .title-h3 {
  text-align: left;
}

.marketing-two-col .cta {
  margin-left: 0;
  margin-right: 0;
}

.marketing-cta {
  justify-self: end;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .marketing-two-col {
    grid-template-columns: 1fr;
  }

  .marketing-col--icon {
    justify-content: flex-start;
  }

  .marketing-icon--xl {
    width: 120px;
    height: 120px;
  }

  /* Mobile/tablet: center the Weinmarketing CTA */
  .marketing-cta {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small header: icon + burger only (nav points must never wrap) */
@media (max-width: 567px) {
  .nav-left,
  .nav-right {
    display: none !important;
  }

  .burger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .brand-wordmark {
    display: none !important;
  }

  .logo-wrap {
    width: var(--logo-icon-size) !important;
    min-height: var(--logo-icon-size) !important;
  }

  .logo-full {
    display: none !important;
    opacity: 0 !important;
  }

  .logo-icon {
    opacity: 1 !important;
    transform: translateY(0) scale(1) rotate(0) !important;
  }
}

.marketing-copy {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-brand);
}

.marketing-copy + .marketing-copy {
  margin-top: 16px;
}

.legal .marketing-copy {
  max-width: 980px;
}

.legal-bullets,
.legal-ol {
  margin: 10px 0 0 0;
  padding-left: 18px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-brand);
}

.legal-bullets li + li,
.legal-ol li + li {
  margin-top: 6px;
}

.marketing .cta {
  margin-top: 26px;
}

.section p:not(.marketing-copy) {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.35;
  color: var(--color-brand);
}

.section.spacer {
  min-height: 70vh;
}

/* Offers (3-box grid) */
.offers {
  width: 100%;
  padding: clamp(34px, 5vw, 90px) 0;
  background: #ffffff;
}

.offers-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 96px);
}

.offers-title {
  margin: 0 0 28px 0;
  text-align: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.offer-slider-controls {
  display: none;
  margin-top: 16px;
  justify-content: center;
}

.offer-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-grid.offer-grid--two {
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  width: min(980px, 100%);
  margin: 0 auto;
}

@media (max-width: 980px) {
  .offer-grid.offer-grid--two {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  background: #f9f5ea;
  padding: clamp(22px, 3vw, 34px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.offer-card--link:hover,
.offer-card--link:focus-visible {
  transform: translateY(-2px) scale(1.012);
  outline: none;
}

.offer-card--link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
}

.offer-card--link:hover .offer-icon {
  animation: offerIconFloat 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.offer-icon {
  width: 78px;
  height: 78px;
  margin: 0 0 18px 0;
  display: block;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes offerIconFloat {
  0% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-6px) scale(1.03); }
  100% { transform: translateY(-4px) scale(1.02); }
}

.offer-title {
  margin: 0 0 14px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--color-hover);
}

.offer-text {
  margin: 0 0 22px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-brand);
  flex: 1;
}

.offer-cta {
  margin-top: 6px;
  width: min(340px, 100%);
  text-align: center;
  border: 0;
  cursor: pointer;
}

.offer-cta:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
}

.offer-box-dupes {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.offer-box-dupes .hero {
  margin-top: 0;
}

@media (max-width: 980px) {
  /* Mobile: turn the 3 offers into a swipeable slider (no wrap). */
  .offers .offer-grid:not(.offer-grid--two),
  .detail-related .offer-grid.offer-grid--two {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    padding: 6px 2px 12px 2px; /* small breathing room for focus ring */
  }

  .offers .offer-grid:not(.offer-grid--two)::-webkit-scrollbar,
  .detail-related .offer-grid.offer-grid--two::-webkit-scrollbar {
    height: 0;
  }

  .offers .offer-grid:not(.offer-grid--two) > .offer-card,
  .detail-related .offer-grid.offer-grid--two > .offer-card {
    flex: 0 0 auto;
    width: min(520px, 86vw);
    scroll-snap-align: center;
  }

  .offers .offer-slider-controls,
  .detail-related .offer-slider-controls {
    display: flex;
  }

  .offer-cta { width: 100%; }

  /* Keep the hero box readable on small screens. */
  :root { --content-max-width: 100%; }
}

/* Testimonials Slider */
.testimonials {
  width: 100%;
  padding: clamp(6px, 1.4vw, 18px) clamp(0px, 0vw, 0px) clamp(14px, 2.6vw, 34px);
  background: #ffffff;
}

.testimonials-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 96px);
}

.testimonial-slider {
  background: #ffffff;
  padding: clamp(18px, 2.6vw, 28px);
  text-align: center;
}

.testimonial-slider.is-swipe .testimonial-btn {
  display: none;
}

.testimonial-viewport {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  /* Slides are absolutely positioned, so we use a fixed height (computed once) */
  height: var(--testimonial-vh, clamp(190px, 18vw, 250px));
  padding-bottom: 10px; /* avoid clipping descenders due to subpixel rendering */
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(36px, 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 560ms ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

/* Swipe direction helpers */
.testimonial.is-enter-from-left { transform: translate3d(-36px, 0, 0); }
.testimonial.is-enter-from-right { transform: translate3d(36px, 0, 0); }
.testimonial.is-exit-to-left { transform: translate3d(-36px, 0, 0); opacity: 0; }
.testimonial.is-exit-to-right { transform: translate3d(36px, 0, 0); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .testimonial {
    transition: none;
  }
}

.testimonial-quote {
  margin: 0 0 14px 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.55;
  color: #bf963d;
}

.testimonial-meta {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(80, 24, 19, 0.72);
}

.testimonial-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-btn {
  display: none;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: var(--color-brand);
  cursor: pointer;
}

.dot.is-active {
  background: var(--color-hover);
}

/* Instagram (images only) */
.instagram-strip {
  width: 100%;
  background: #ffffff;
}

.instagram-strip-head {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) clamp(18px, 6vw, 96px) 16px clamp(18px, 6vw, 96px);
  text-align: center;
}

.instagram-title {
  margin: 0;
}

.instagram-slider-controls {
  display: none;
  padding: 14px 0 18px 0;
  justify-content: center;
}

.instagram-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.instagram-strip-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

@media (max-width: 980px) {
  .instagram-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* Mobile: instagram as slider, no hover overlay */
  .instagram-strip-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0;
  }

  .instagram-strip-grid::-webkit-scrollbar {
    height: 0;
  }

  .instagram-tile {
    flex: 0 0 100vw;
    scroll-snap-align: start;
  }

  .instagram-slider-controls {
    display: flex;
  }

  .instagram-img {
    transition: none;
    transform: none !important;
  }
}

.instagram-tile {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.instagram-img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.instagram-tile:hover .instagram-img,
.instagram-tile:focus-visible .instagram-img {
  transform: scale(1.02);
}

.instagram-tile:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -2px;
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--color-brand);
  color: #ffffff;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 6vw, 96px);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #ffffff;
  text-decoration: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.footer-social-icon {
  display: block;
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
  outline: none;
}

.contact-block {
  width: 100%;
  background: #501813;
  padding: clamp(34px, 5vw, 90px) clamp(18px, 6vw, 96px);
}

.contact-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

.contact-block-title {
  color: #ffffff;
  margin-bottom: 18px;
}

.contact-block-address {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.contact-block-link {
  color: #ffffff;
  text-decoration: underline;
}

.contact-block-address a,
.contact-block-address a[href^="tel"],
.contact-block-address a[href^="mailto"],
.contact-block-address a[x-apple-data-detectors],
.contact-block-address a[x-apple-data-detectors="true"] {
  color: #f9f5ea !important;
  text-decoration: none !important;
  font: inherit !important;
}

.contact-mini {
  width: 100%;
  display: grid;
  gap: 12px;
}

.contact-mini .form-feedback {
  margin-bottom: 4px;
}

.contact-mini .form-feedback-title,
.contact-mini .form-feedback-text {
  color: #ffffff;
}

.contact-mini input,
.contact-mini textarea {
  width: 100%;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-brand);
  border: 0;
  border-radius: 0;
  padding: 12px 12px;
  outline: none;
  background: rgba(249, 245, 234, 0.92);
}

.contact-mini textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-mini input::placeholder,
.contact-mini textarea::placeholder {
  color: rgba(80, 24, 19, 0.7);
}

.contact-mini .cta {
  margin-top: 8px;
  justify-self: end;
}

.contact-mini-cta {
  justify-self: end;
}


/* src/css/modules/responsive.css */
@media (max-width: 900px) {
  .contact-block-inner {
    grid-template-columns: 1fr;
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 180ms ease, color 180ms ease;
}

.footer-nav a:visited {
  color: #ffffff;
}

.footer-nav a[href$="datenschutz.html"],
.footer-nav a[href$="impressum.html"] {
  opacity: 0.92;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
  color: #bf963d;
  text-decoration: underline;
  outline: none;
}

@media (max-width: 760px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .testimonial-slider {
    transition: box-shadow 260ms ease, transform 260ms ease;
  }

  .testimonial-slider:focus-within {
    box-shadow: 0 10px 24px rgba(80, 24, 19, 0.14);
    transform: translateY(-1px);
  }
}

@media (max-width: 700px) {
  body.use-burger:not(.has-scrolled):not(.burger-open) .topbar-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  body.use-burger:not(.has-scrolled):not(.burger-open) .topbar-placeholder {
    height: 0 !important;
  }

  body.use-burger .topbar-shell.is-pinned {
    transform: translateY(calc(-100% - env(safe-area-inset-top)));
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 220ms ease;
  }

  body.use-burger.has-scrolled .topbar-shell.is-pinned,
  body.use-burger.burger-open .topbar-shell.is-pinned {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .testimonial-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Mobile: reduce the large "gap" above the quotes without affecting desktop */
  .testimonials {
    padding-top: 18px;
  }

  /* Mobile: swipe slider like offers */
  .testimonial-slider.is-swipe {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
  }

  .testimonial-slider.is-swipe .testimonial-viewport {
    height: auto;
    min-height: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0 0 12px 0;
  }

  .testimonial-slider.is-swipe .testimonial-viewport::-webkit-scrollbar {
    height: 0;
  }

  .testimonial-slider.is-swipe .testimonial {
    position: static;
    inset: auto;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
    flex: 0 0 auto;
    width: 100vw;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
  }

  /* Mobile: make quote type a bit larger to match overall scale */
  .testimonial-quote {
    font-size: 26px;
    line-height: 1.55;
  }

  /* Mobile: center H1/H2 (both use .title-hero) */
  .title-hero {
    text-align: center;
  }

  /* Mobile: center H3 headlines too (e.g. "für Gruppen, Freunde und Genießer.") */
  .title-h3 {
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--color-brand);
  }

  /* In swipe mode we show all cards; is-active only drives dot state */
  .testimonial {
    display: flex;
  }

  /* Mobile: center all CTA buttons/links */
  .cta,
  a.cta,
  button.cta {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: none;
    text-align: center;
  }

  /* Exception: keep offer-card CTA at its normal width (not full-bleed) */
  .offer-cta {
    display: inline-block;
    width: min(340px, 100%);
  }

  /* Offers: ensure the CTA inside offer cards never stretches full width */
  .offers .offer-cta {
    width: calc(100% - 48px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .marketing-cta,
  .contact-mini .cta,
  .contact-mini-cta {
    justify-self: center;
  }

  .side-request-btn {
    top: auto;
    right: 0;
    bottom: 18px;
    translate: 0 0;
    transform: none;
    writing-mode: horizontal-tb;
    min-width: 0;
    padding: 14px 18px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    box-shadow: 0 16px 32px rgba(103, 32, 26, 0.22);
  }

  .side-request-btn:hover,
  .side-request-btn:focus-visible {
    right: 0;
    padding: 14px 18px;
    transform: translateX(-2px);
  }

  .side-top-btn {
    top: auto;
    right: 0;
    bottom: 74px;
    width: 48px;
    height: 48px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 22px;
  }

  .side-top-btn:hover,
  .side-top-btn:focus-visible {
    right: 0;
    transform: translateX(-2px);
  }

  /* Mobile: ensure Weinmarketing heading + subheading are centered */
  .marketing-two-col .title-hero,
  .marketing-two-col .title-h3 {
    text-align: center;
  }

  .marketing-col--icon {
    justify-content: center;
  }

  .mbr { display: inline !important; }

  /* Mobile: increase side padding so text doesn't sit too close to the edges */
  :root {
    --content-pad: 32px;
  }

  .section,
  .offers-inner,
  .testimonials-inner,
  .instagram-strip-head {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Responsive */
@media (max-width: 1320px) and (min-width: 901px) {
  :root {
    --logo-width: clamp(190px, 18vw, 300px);
    --nav-size: clamp(12px, 0.95vw, 17px);
    --nav-gap: clamp(12px, 1.35vw, 22px);
    --nav-drop: 14px;
    --content-max-width: min(70vw, 760px);
    --content-pad: 68px;
  }

  .topbar {
    padding-top: 8px;
    padding-bottom: calc(8px + var(--nav-drop));
  }

  .hero-media {
    height: clamp(360px, 58vh, 760px);
  }

  body:not(.is-scrolled):not(.subpage) .logo-wrap {
    width: auto;
    min-width: calc(var(--logo-icon-size) + 170px);
    min-height: var(--logo-icon-size);
  }

  body:not(.is-scrolled):not(.subpage) .logo-full {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: var(--logo-width);
    margin: auto;
    transform: translateY(-6px) scale(0.94);
    pointer-events: none;
  }

  body:not(.is-scrolled):not(.subpage) .logo-icon {
    position: static;
    opacity: 1;
    width: var(--logo-icon-size);
    flex: 0 0 auto;
    transform: none;
  }

  body:not(.is-scrolled):not(.subpage) .logo-link {
    width: auto;
    height: auto;
    gap: 18px;
  }

  body:not(.is-scrolled):not(.subpage) .brand-wordmark {
    position: static;
    display: block;
    visibility: visible;
    opacity: 1;
    translate: none;
    margin-top: 8px;
    left: auto;
    top: auto;
    transform: translateX(0);
    color: var(--color-brand);
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  .nav {
    font-size: clamp(12px, 1.5vw, 17px);
  }

  body:not(.is-scrolled):not(.subpage) .brand-wordmark,
  body.is-scrolled .brand-wordmark,
  body.subpage .brand-wordmark {
    display: none !important;
  }

  body:not(.is-scrolled):not(.subpage) .logo-wrap,
  body.is-scrolled .logo-wrap,
  body.subpage .logo-wrap {
    width: auto;
    min-width: var(--logo-icon-size);
    min-height: var(--logo-icon-size);
  }

  body:not(.is-scrolled):not(.subpage) .logo-full,
  body.subpage:not(.is-scrolled) .logo-full,
  body.is-scrolled .logo-full,
  body.subpage .logo-full {
    display: none !important;
    opacity: 0 !important;
  }

  body:not(.is-scrolled):not(.subpage) .logo-icon,
  body.subpage:not(.is-scrolled) .logo-icon {
    position: static;
    opacity: 1;
    width: clamp(64px, 9vw, 92px);
    flex: 0 0 auto;
    transform: none;
  }

  body:not(.is-scrolled):not(.subpage) .logo-link,
  body.is-scrolled .logo-link,
  body.subpage .logo-link {
    width: auto;
    height: auto;
    gap: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --sticky-top: 0px;
    --content-max-width: min(76vw, 720px);
    --content-pad: 40px;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero-content,
  .hero-content--right {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* Mobile/tablet: consistent side padding across sections (avoid uneven edges) */
  .section {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }

  /* Weinmarketing: force perfectly symmetric content padding */
  #weinmarketing.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #weinmarketing.section > .section-inner {
    padding-left: calc(50px + env(safe-area-inset-left)) !important;
    padding-right: calc(50px + env(safe-area-inset-right)) !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-inner {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* Ensure Weinmarketing uses the exact same content width as other sections on mobile */
  .section-inner.marketing,
  .section-inner.marketing-two-col,
  .marketing,
  .marketing-two-col {
    max-width: none !important;
    width: 100% !important;
  }

  .detail-copy {
    width: 100%;
  }

  .marketing {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Mobile/Tablet: keep copy typography consistent with the Weinmarketing block */
  .section p:not(.marketing-copy),
  .hero-content p,
  .detail-inner p,
  .offer-text,
  .marketing-copy,
  .page p:not(.testimonial-quote):not(.testimonial-meta):not(.contact-block-address) {
    font-size: 18px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: var(--color-brand) !important;
  }

  /* Keep contact block address white (don't inherit the global mobile copy color) */
  .page .contact-block-address {
    color: rgba(255, 255, 255, 0.95) !important;
  }

  /* Keep testimonials CI color on mobile/tablet (global copy override would affect <p>). */
  .testimonial-quote {
    color: #bf963d !important;
  }

  .testimonial-meta {
    color: rgba(80, 24, 19, 0.72) !important;
  }

  .subpage .detail-copy .title-hero {
    text-wrap: balance;
  }

  .subpage .detail-copy .title-h3 {
    text-wrap: balance;
  }

  .topbar {
    width: var(--topbar-width);
    max-width: none;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "left"
      "right";
    row-gap: 14px;
  }

  .logo-wrap {
    grid-area: logo;
    justify-self: center;
  }

  .nav {
    justify-content: center;
    text-align: center;
    font-size: clamp(12px, 3.8vw, 15px);
    gap: var(--nav-gap);
  }

  .nav-left {
    grid-area: left;
    justify-content: center;
    text-align: center;
  }

  .nav-right {
    grid-area: right;
    justify-content: center;
    text-align: center;
  }

  .hero-media {
    height: clamp(380px, 58vh, 680px);
  }

  #weinwanderung .hero-media {
    height: clamp(420px, 68vh, 760px);
  }

  .hero-content {
    position: absolute;
    top: var(--hero-content-top-px, var(--hero-content-top));
    left: 50%;
    right: auto;
    width: min(var(--content-max-width), calc(100% - 48px));
    max-width: var(--content-max-width);
    transform: translateX(-50%);
  }

  .hero-content--right {
    left: 50%;
    right: auto;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h3 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  :root {
    --content-max-width: calc(100% - 60px);
    --content-pad: 32px;
  }

  .hero-media {
    height: clamp(280px, 56vh, 620px);
  }

  #weinwanderung .hero-media {
    height: clamp(320px, 70vh, 720px);
  }

  .hero-content {
    position: absolute;
    top: var(--hero-content-top-px, var(--hero-content-top));
    left: 50%;
    right: auto;
    width: calc(100% - 60px);
    max-width: calc(100% - 60px);
    transform: translateX(-50%);
  }

  .hero-content--right {
    left: 50%;
    right: auto;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content h3 {
    font-size: 20px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  body.js-enabled .hero-content {
    --reveal-y: 0px;
    transform: translateX(-50%);
    transition: opacity 700ms ease 120ms !important;
  }

  body.js-enabled .hero-content.is-revealed {
    --reveal-y: 0px;
    transform: translateX(-50%);
  }
}


/* src/css/styles.css */


