/* oooh-baby-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Oooh Baby';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/oooh-baby-v4-latin-regular.woff2') format('woff2');
}

:root {
  --color-dark: #10170f;
  --color-dark-soft: #182216;
  --color-green: #26351f;
  --color-olive: #8f9140;
  --color-gold: #b99a55;
  --color-body: #ffffff;
  --color-cream: #f4efe4;
  --color-cream-dark: #e8dccb;
  --color-white: #ffffff;
  --color-text: #25251f;
  --color-muted: #6f6a5f;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --container: 1180px;
  --header-height: 76px;
  --radius: 18px;
  --radius-large: 28px;
  --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.14);
  --shadow-card: 0 12px 34px rgba(40, 35, 20, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-body);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  max-width: 1100px;
}

.section {
  padding: 86px 0;
}

.space {
  margin-bottom: 10vh;
}
.top-space {
  margin-top:30px;
}
.small-space {
  margin-top:10px;
}
.mini-space h2{
  margin-bottom: 10px;
}
.section-kicker,
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--color-white);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.button,
.small-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.small-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  padding: 10px 26px;
  background: var(--color-green);
  color: var(--color-white);
}

.button-secondary {
  padding: 0 26px;
  color: var(--color-white);
  border: solid 1px var(--color-gold);
}

.button-secondary:hover {
  background-color: #b99a55;
  border: none;
}

.small-button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--color-green);
  border: 1px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.4);
}

.small-button:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transition: 0.3s;
}

.text-button,
.text-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
}

.text-button {
  margin-top: 28px;
  padding: 0 18px;
  background-color: var(--color-green);
  color: var(--color-white);
}

.text-link {
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  background-image: url("../assets/icons/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(13, 18, 12, 0.74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--color-white);
}

.logo {
  width: 150px;
  height: auto;
  padding-left: 20px;
}

.logo-footer img{
  width: 150px;
  height: auto;
  margin-top: -30px;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.nav-button {
  padding: 12px 18px;
  border: 1px solid rgba(185, 154, 85, 0.75);
  color: var(--color-white);
}

.nav-button:hover {
  background-color: var(--color-white);
  transition: 0.4s;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.subnav {
  position: fixed;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.subnav a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.subnav a:hover {
  color: #000;
}

.hero {
  min-height: 900px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 12, 8, 0.88), rgba(9, 12, 8, 0.44), rgba(9, 12, 8, 0.24)),
    url("../assets/images/hero-andalusia.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(185, 154, 85, 0.18), transparent 28%),
    linear-gradient(180deg, transparent 70%, rgba(16, 23, 15, 0.78));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.hero-content {
  max-width: 680px;
}

.hero-text {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-product {
  position: relative;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product img {
  width: min(400px, 75%);
  filter: drop-shadow(0 38px 10px rgba(0, 0, 0, 0.4));
}

.quality-seal {
  position: absolute;
  right: 0;
  top: 14%;
  width: 154px;
  height: 154px;
  border: 2px solid rgba(185, 154, 85, 0.95);
  border-radius: 999px;
  color: var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 18px;
  background: rgba(26, 34, 18, 0.62);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.quality-seal span {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.quality-seal strong {
  font-size: 0.78rem;
  line-height: 1.15;
  color: var(--color-cream);
}

.trust-bar {
  position: relative;
  background: var(--color-green);
  color: var(--color-cream);
  padding: 30px 0;
  z-index: 1;
}

.paper-top {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("../assets/images/paper-top.png") no-repeat center;
  background-size: cover;
  z-index: 34;
  pointer-events: none;
}

.paper-bottom {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("../assets/images/paper-bottom.png") no-repeat center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}

.trust-bar img {
  width: 45px;
}

.paper img {
  width: 100vw !important;
  height: auto;
  position: absolute;
}

.trust-grid {
  min-height: 90px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-grid div {
  display: flex;
  align-items: center;
  justify-content: start;
  min-height: 70px;
}

.story-section {
  background: linear-gradient(180deg, #fbf8f0, var(--color-white));
}

.trust-grid span {
  margin-left: 8px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr 0.86fr;
  gap: 38px;
  align-items: stretch;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.story-copy,
.producer-card {
  padding: 34px 0;
}

.story-copy p {
  margin-top: 22px;
  max-width: 460px;
}

.story-copy ul li {
  text-decoration: none;
  list-style: none;
  padding-inline-start: 0;
}

.signature {
  margin-top: 30px;
  font-family: 'Oooh Baby';
  font-style: italic;
  font-size: 2rem;
  color: var(--color-green);
}

.caption {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.story-image {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 470px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producer-card {
  background: var(--color-cream);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.producer-card ul {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.producer-card li {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.producer-card strong {
  display: block;
  color: var(--color-green);
  margin-bottom: 4px;
}

.producer-card img {
  width: 45px;
}

.section-heading {
  margin-bottom: 36px;
  text-align: center;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.products-section {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 250px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.product-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.product-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--color-cream);
}

.product-content h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-content p {
  margin: 16px 0 24px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.product-content .small-button {
  margin-top: auto;
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 84px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(143, 145, 64, 0.95);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  z-index: 2;
}

/* Button in Produkten */
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: var(--color-green);
  border: 1px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.small-button:hover {
  transform: translateY(-2px);
  background-color: var(--color-gold);
  color: var(--color-white);
}


.popup-overlay {
  position: fixed;
  margin-top: 30px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-overlay:target {
  display: flex;
}

.popup {
  background: white;
  max-width: 700px;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  position: relative;
  max-height: 90vh;
}

.popup h2 {
  margin-bottom: 20px;
}

.popup p {
  margin-bottom: 20px;
}

.popup img {
  width: 45%;
  object-fit: cover;
}

.popup strong {
  color: var(--color-gold);
}

.popup-content {
  padding: 40px;
  width: 55%;
  overflow-y: auto;
  max-height: 90vh;
}

.close-btn {
  position: absolute;
  font-size: 26px;
  padding: 2px 14px;
  border-radius: 9999px;
  text-decoration: none;
  color: #fff;
  background-color: var(--color-olive);
}

.quality-section {
  background: #fbf8f0;
}

#qualitaet h2 {
  margin-bottom: 30px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.quality-item {
  text-align: center;
}

.quality-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-weight: 700;
}

.quality-item h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-green);
}

.quality-item p {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.journey-section {
  background: var(--color-green);
  color: var(--color-white);
  padding: 64px 0;
  overflow: hidden;
}

.journey-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.7fr;
  gap: 42px;
  align-items: center;
}

.journey-copy p:not(.section-kicker) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.journey-copy .button {
  margin-top: 28px;
}

.insta img {
  width: 20px;
  height: auto;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 16px;
}

.journey-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-dark);
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78));
}

.journey-card::before {
  content: "▶";
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.journey-card:hover::before {
  transform: scale(1.08);
  background: rgba(143, 145, 64, 0.82);
}

.journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-card span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-white);
}

.market-section {
  background: #fbf8f0;
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.market-text {
  text-align: left;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.location-card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.location-card h3 {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
}

.location-card p {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.location-card span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}

.news-item img {
  width: 92px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.news-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
}

.news-item p {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.b2b-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(244, 239, 228, 0.96), rgba(244, 239, 228, 0.84)),
    url("../assets/images/b2b-boxes.jpg") right center / 40% 100% no-repeat;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.b2b-copy p {
  margin: 22px 0 30px;
  color: var(--color-muted);
  max-width: 470px;
}

.b2b-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.b2b-benefits li {
  position: relative;
  padding-left: 40px;
  color: var(--color-green);
  font-weight: 700;
}

.b2b-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
}

.b2b-benefits li.icon-package::before {
  background-image: url("../assets/icons/package.svg");
}

.b2b-benefits li.icon-bottle::before {
  background-image: url("../assets/icons/bottle.svg");
}

.b2b-benefits li.icon-ean::before {
  background-image: url("../assets/icons/ean.svg");
}

.b2b-benefits li.icon-label::before {
  background-image: url("../assets/icons/label.svg");
}

.b2b-benefits li.icon-analyse::before {
  background-image: url("../assets/icons/analyse.svg");
}

.b2b-benefits li.icon-box::before {
  background-image: url("../assets/icons/box.svg");
}

.b2b-benefits li.icon-personal::before {
  background-image: url("../assets/icons/personal.svg");
}

.b2b-benefits li.icon-lieferung::before {
  background-image: url("../assets/icons/nachlieferung.svg");
}

.contact-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  height: auto;
}

.contact-form h3 {
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#kf{
  width: auto;
  height: 600px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(38, 53, 31, 0.18);
  background: rgba(255, 255, 255, 0.82);
  min-height: 44px;
  padding: 0 13px;
  color: var(--color-text);
}

.contact-form select {
  margin-top: 12px;
}

.contact-form textarea {
  min-height: 110px;
  padding-top: 12px;
  margin-top: 12px;
  resize: vertical;
}

.contact-form button {
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.95fr 1.15fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
}

.site-footer a {
  display: block;
  margin-top: 9px;
  font-size: 0.86rem;
}

.site-footer p {
  font-size: 0.88rem;
}

.newsletter-form {
  margin-top: 18px;
  display: flex;
  border: 1px solid rgba(185, 154, 85, 0.58);
}

.newsletter-form input {
  border: 0;
  background: transparent;
  color: var(--color-white);
}

.newsletter-form button {
  width: 48px;
  border: 0;
  color: var(--color-gold);
  background: transparent;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-overlay:target {
  display: flex;
}

.popup {
  background: white;
  max-width: 700px;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  position: relative;
  max-height: 90vh;
}

.popup h2 {
  margin-bottom: 20px;
}

.popup p {
  margin-bottom: 20px;
}

.popup img {
  width: 45%;
  object-fit: cover;
}

.popup strong {
  color: var(--color-gold);
}

.popup-content {
  padding: 40px;
  width: 55%;
  overflow-y: auto;
  max-height: 90vh;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  text-decoration: none;
  color: var(--color-dark);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 6, 0.78);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-cream);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.video-modal-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.video-modal-media {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--color-white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(16, 23, 15, 0.34), rgba(16, 23, 15, 0.86)),
    url("../assets/images/journey-andalusia.jpg") center / cover no-repeat;
}

.video-modal-play {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  background: rgba(143, 145, 64, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  font-size: 1.7rem;
}

.video-modal-media p {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.video-modal-content {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-modal-content h2 {
  color: var(--color-green);
}

.video-modal-content>p:not(.section-kicker) {
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 1rem;
}

.video-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.video-modal-link.is-disabled {
  pointer-events: none;
  opacity: 0.52;
  filter: grayscale(0.4);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    gap: 18px;
  }

  .main-nav {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 50px 25px 50px;
    background: rgba(13, 18, 12);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    z-index: 1001;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-button {
    margin-top: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(185, 154, 85, 0.75) !important;
  }

  .nav-toggle:checked~.main-nav {
    transform: translateY(0);
  }

  .nav-toggle-label {
    display: grid;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    padding-right: 20px;
  }

  .nav-toggle-label span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
  }

  .hero-inner {
    grid-template-columns: 1fr 0.72fr;
    gap: 28px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow-x: auto;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .producer-card {
    grid-column: 1 / -1;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 280px;
  }

  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-grid,
  .market-grid,
  .b2b-grid {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .journey-cards {
    overflow-x: auto;
    grid-template-columns: repeat(5, 190px);
    padding-bottom: 10px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-section {
    background:
      linear-gradient(180deg, rgba(244, 239, 228, 0.96), rgba(244, 239, 228, 0.94)),
      url("../assets/images/b2b-boxes.jpg") center bottom / contain no-repeat;
  }
}

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

@media (max-width: 950px) {
  .popup {
    flex-direction: column;
    top: 30px;
  }

  .popup img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .popup-content {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 58px 0;
  }

  .site-header {
    height: auto;
  }

  .brand-main {
    font-size: 1.58rem;
  }

  .brand-sub {
    font-size: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 46px;
    background-attachment: scroll;
    background:
      linear-gradient(180deg, rgba(9, 12, 8, 0.8), rgba(9, 12, 8, 0.72)),
      url("../assets/images/hero-andalusia.jpg") center / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-product {
    min-height: 360px;
  }

  .hero-product img {
    width: min(250px, 68%);
  }

  .quality-seal {
    right: 8px;
    top: 0;
    width: 150px;
    height: 150px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trust-grid div {
    min-height: 76px;
    font-size: 0.62rem;
    padding: 0 12px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-copy,
  .producer-card {
    padding: 0;
  }

  .story-image {
    min-height: auto;
  }

  .producer-card {
    padding: 28px;
  }

  .product-grid {
    gap: 18px;
  }

  .product-card {
    grid-template-columns: 42% 58%;
    min-height: 210px;
    border-radius: 14px;
  }

  .product-content {
    padding: 20px;
  }

  .product-content h3 {
    font-size: 1rem;
  }

  .product-content p {
    font-size: 0.78rem;
    margin: 12px 0 16px;
  }

  .small-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.62rem;
  }

  .product-badge {
    width: 64px;
    min-width: 64px;
    min-height: 64px;
    font-size: 0.52rem;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quality-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    text-align: left;
    gap: 16px;
    align-items: start;
    padding: 18px;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 14px;
  }

  .quality-icon {
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .quality-item p {
    grid-column: 2;
    margin-top: -8px;
  }

  .journey-section {
    padding: 50px 0;
  }

  .journey-cards {
    grid-template-columns: repeat(5, 164px);
  }

  .journey-card {
    min-height: 220px;
  }

  .market-grid {
    gap: 46px;
  }

  .row-heading {
    align-items: flex-end;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item {
    grid-template-columns: 78px 1fr;
  }

  .news-item img {
    width: 78px;
    height: 70px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .video-modal {
    padding: 16px;
  }

  .video-modal-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .video-modal-media {
    min-height: 310px;
  }

  .video-modal-content {
    padding: 34px 24px 28px;
  }

  .video-modal-actions {
    display: grid;
  }

  .video-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 430px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card figure {
    aspect-ratio: 1.35 / 1;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .quality-seal {
    position: relative;
    right: auto;
    top: auto;
    margin: -18px auto 0;
  }

  .trust-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    overflow-x: auto;
  }
}