/* Lokal eingebundene Webfonts (SIL Open Font License 1.1). */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f5f0ea;
  --cream: #ede6db;
  --stone: #cfc4b6;
  --ink: #1c1a17;
  --soft: #7a7268;
  --wine: #6b2d3e;
  --gold: #b89a5a;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;
  --section-pad: 100px 8%;
  --transition-smooth: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main    { flex: 1; }
section { padding: var(--section-pad); }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
  padding: 0 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}
.header-logo {
  display: block;
  height: 100%;
  max-height: 90px;
  line-height: 1.1;
  text-decoration: none;
}
.header-logo-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--wine);
}
.header-logo-sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--soft);
}

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--wine);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--wine); }
nav a:hover::after { width: 100%; }
nav a.header-activ { color: var(--wine); pointer-events: none; cursor: default; }
nav a.header-activ::after { width: 100%; }

nav a.btn-back {
  padding: 7px 18px;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
nav a.btn-back::after { display: none; }
nav a.btn-back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.45);
  padding: 64px 8% 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-top: auto;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  display: block;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 13px; line-height: 1.9; max-width: 280px; }
.footer-col h5 { font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a,
.footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

.section-label { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 20px; }
.section-title em { font-style: italic; color: var(--wine); }
.section-body { color: var(--soft); max-width: 480px; font-size: 15px; }
.ornament { text-align: center; padding: 16px 0; color: var(--gold); font-size: 18px; letter-spacing: 0.5em; }

.btn-dark {
  display: inline-block;
  padding: 13px 32px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  width: 288px;
}
.btn-dark:hover { background: var(--wine); }

.btn-disabled {
  display: block;
  text-align: center;
  padding: 13px 32px;
  background: var(--stone);
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.btn-outline-black {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.btn-outline-black:hover { transform: translateY(-3px); }

.reveal {
  height: 100%;
  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s var(--transition-smooth);
}
.reveal.visible { opacity: 1; transform: none; }

.section-lower { margin-top: auto; margin-bottom: 40px; }

#home_img { position: relative; height: 88vh; overflow: hidden; background: var(--cream); }
#home_img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  animation: heroReveal 2s var(--transition-smooth) both;
}
#home_img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28,26,23,0.05) 0%, rgba(28,26,23,0.00) 40%, rgba(28,26,23,0.55) 100%);
  pointer-events: none;
}

.hero-text {
  position: absolute;
  bottom: 20%; left: 10%;
  z-index: 2;
  padding: 32px 48px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 8px;
  animation: heroTextUp 1.4s var(--transition-smooth) 0.5s both;
}
.hero-eyebrow { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: #f0dfc0; margin-bottom: 14px; }
.hero-text h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.05; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.hero-text h2 em { font-style: italic; color: #f0dfc0; }
.hero-tagline { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,0.75); letter-spacing: 0.05em; }
.hero-cta { margin-top: 28px; }

.scroll-hint { position: absolute; bottom: 32px; right: 8%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: heroTextUp 1.4s var(--transition-smooth) 0.9s both; }
.scroll-hint span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollDrop 2.5s ease infinite 2s; }

#veranstaltungen { background: var(--cream); }
#veranstaltungen .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.events-list { display: flex; flex-direction: column; }

.event-item {
  display: grid;
  grid-template-columns: 80px 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--stone);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, color 0.3s;
}
.event-item:first-child { border-top: 1px solid var(--stone); }
.event-item:hover { transform: translateX(12px); color: var(--wine); }

.event-date { text-align: center; }
.event-date .day   { font-family: var(--font-display); font-size: 48px; font-weight: 300; line-height: 1; color: var(--wine); }
.event-date .month { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }

.event-thumb { width: 90px; height: 90px; border-radius: 2px; overflow: hidden; background: var(--stone); flex-shrink: 0; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(.22,1,.36,1); }
.event-item:hover .event-thumb img { transform: scale(1.08); }

.event-info h4 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 6px; }
.event-info p { font-size: 13px; color: var(--soft); letter-spacing: 0.1em; }

.event-arrow { font-size: 22px; color: var(--stone); transition: transform 0.3s, color 0.3s; }
.event-item:hover .event-arrow { transform: translateX(4px); color: var(--wine); }

.events-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--stone);
  border-left: 3px solid var(--wine);
  background: rgba(255, 255, 255, 0.35);
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.events-empty-icon { color: var(--gold); font-size: 16px; line-height: 1; }

.private-tasting {
  position: relative;
  margin-top: 72px;
  padding: 32px 36px;
  border: 1px solid rgba(184, 154, 90, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 40px rgba(107, 45, 62, 0.07);
}
.private-tasting .section-title { margin-bottom: 14px; }
.private-tasting .btn-outline-black { display: inline-block; }

#ueber-uns .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; padding-bottom: 30px; }
.about-img-main { width: 100%; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent { position: absolute; bottom: 0; right: -30px; width: 45%; aspect-ratio: 1; background: var(--cream); border: 6px solid var(--bg); overflow: hidden; }
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--stone); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }
.about-text blockquote { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--wine); border-left: 2px solid var(--gold); padding-left: 20px; margin: 28px 0; line-height: 1.5; }
.about-names { margin-top: 28px; margin-bottom: 28px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }

#weine { background: var(--cream); }
.wine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; margin-bottom: 40px; }
.wine-card {
  background: var(--bg);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border-radius: 14px;
  text-decoration: none;
  position: relative;
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.wine-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(107,45,62,0.12); }
.wine-card.hidden { display: none; }

.wine-card-img { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wine-card-img img { max-height: 100%; max-width: 80%; object-fit: contain; }
.wine-card-body { padding: 16px 0 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }

.wine-tag { display: inline-block; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; background: #e8f0e5; color: #4a6e42; padding: 3px 10px; margin-bottom: 10px; }
.wine-tag--sale { background: #f5ece0; color: #8a5a2a; }
.wine-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.wine-price { font-size: 13px; color: var(--wine); font-weight: 500; }
.wine-price del { color: var(--stone); font-weight: 300; margin-right: 6px; }
.wine-card-sub { font-size: 11px; color: var(--soft); margin-top: 4px; }
.wine-cta { text-align: center; }

.wine-card-cart {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.wine-card:hover .wine-card-cart,
.wine-card-cart:hover { background: var(--wine); color: #fff; border-color: var(--wine); }

#shoppage { display: grid; grid-template-columns: 220px 1fr; grid-template-areas: "filter produkte"; gap: 0; align-items: start; min-height: 80vh; }

#shop-filter { grid-area: filter; position: sticky; top: 88px; padding: 48px 32px 48px 8%; border-right: 1px solid var(--stone); min-height: calc(100vh - 88px); }
.filter-label { font-size: 9px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.filter-group { margin-bottom: 32px; }
.filter-group-title { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 12px; }

.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--soft); transition: color 0.2s; }
.filter-option:hover { color: var(--ink); }
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--stone);
  background: transparent;
  cursor: pointer; flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.filter-option input[type="radio"] { border-radius: 50%; }
.filter-option input[type="checkbox"] { border-radius: 0; }
.filter-option input:checked { background: var(--wine); border-color: var(--wine); }
.filter-option input:checked::after { content: ''; position: absolute; inset: 3px; background: #fff; border-radius: 50%; }
.filter-option input[type="checkbox"]:checked::after { border-radius: 0; inset: 4px 3px; height: 2px; background: #fff; box-shadow: 0 -4px 0 #fff; }
.filter-reset { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); background: none; border: none; cursor: pointer; padding: 0; margin-top: 8px; transition: color 0.2s; }
.filter-reset:hover { color: var(--wine); }

#produkte { grid-area: produkte; padding: 48px 8% 80px 48px; background-color: var(--cream); }
.shop-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 12px; }
.shop-count { font-size: 12px; letter-spacing: 0.15em; color: var(--soft); }
.shop-empty { text-align: center; color: var(--soft); padding: 80px 0; font-size: 15px; letter-spacing: 0.05em; }
.produkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

#cart-overlay { display: none; position: fixed; inset: 0; background: rgba(28,26,23,0.4); z-index: 200; backdrop-filter: blur(2px); }
#cart-overlay.open { display: block; }

#cart {
  position: fixed;
  top: 0; right: -420px;
  width: 420px; max-width: 100vw; height: 100vh;
  background: #fff;
  z-index: 201;
  display: flex; flex-direction: column;
  transition: right 0.4s var(--transition-smooth);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
#cart.open { right: 0; }

.cart-header { padding: 28px 28px 20px; border-bottom: 1px solid var(--stone); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.cart-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--soft); transition: color 0.2s; }
.cart-close:hover { color: var(--ink); }

.cart-shop-notice {
  margin: 20px 28px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--wine);
  background: var(--cream);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.6;
}
.cart-shop-notice[hidden] { display: none; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--cream); }
.cart-item-name { font-size: 14px; font-family: var(--font-display); }
.cart-item-qty { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--soft); }
.cart-item-qty button { background: none; border: 1px solid var(--stone); width: 24px; height: 24px; cursor: pointer; font-size: 14px; line-height: 1; color: var(--ink); transition: background 0.2s; }
.cart-item-qty button:hover { background: var(--cream); }
.cart-item-price { font-size: 13px; color: var(--wine); justify-self: end; }
.cart-item-remove { background: none; border: none; color: var(--stone); cursor: pointer; font-size: 16px; padding: 0; transition: color 0.2s; justify-self: end; }
.cart-item-remove:hover { color: var(--wine); }
.cart-empty-hint { text-align: center; color: var(--stone); font-size: 14px; margin-top: 40px; }

.cart-footer { padding: 20px 28px 32px; border-top: 1px solid var(--stone); }
.cart-total { font-size: 16px; margin-bottom: 6px; display: flex; justify-content: space-between; }
.cart-versand { font-size: 11px; color: var(--stone); margin-bottom: 20px; letter-spacing: 0.05em; }
.cart-checkout { width: 100%; text-align: center; }
.cart-checkout:disabled {
  background: var(--stone);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.85;
}

#cart-toggle {
  position: fixed;
  top: 18px; right: 24px;
  z-index: 199;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.3s;
  display: flex; align-items: center; gap: 8px;
}
#cart-toggle:hover { background: var(--wine); transform: translateY(-2px); }

.cart-badge { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em; background: var(--wine); color: #fff; border-radius: 999px; padding: 2px 7px; min-width: 22px; text-align: center; }
.cart-badge[data-count="0"] { display: none; }

.event-detail-hero { position: relative; min-height: 50vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--cream); }
.event-detail-img { position: absolute; inset: 0; background: var(--stone); }
.event-detail-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.event-detail-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,26,23,0.0) 0%, rgba(28,26,23,0.65) 100%); }

.event-detail-hero-content { position: relative; z-index: 2; padding: 60px 8%; width: 100%; }
.event-detail-hero-content:not(.has-image) { padding-top: 80px; }

.has-image .section-label { color: var(--gold); }
.has-image .event-detail-title,
.has-image .event-detail-subtitle { color: #fff; }
.has-image .event-detail-day { color: #fff; }
.has-image .event-detail-monthyear { color: rgba(255,255,255,0.75); }
.has-image .event-pill.price { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }

.event-detail-day { color: var(--wine); }
.event-detail-monthyear { color: var(--soft); }
.event-detail-title { color: var(--ink); }
.event-detail-subtitle { color: var(--soft); }

.event-detail-date-badge { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 16px; }
.event-detail-day { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 300; line-height: 1; }
.event-detail-monthyear { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.event-detail-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 10px; }
.event-detail-subtitle { font-size: 15px; letter-spacing: 0.06em; margin-bottom: 20px; }
.event-detail-badges { display: flex; gap: 10px; flex-wrap: wrap; }

.event-pill { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 14px; font-family: var(--font-body); }
.event-pill.sold-out { background: var(--wine); color: #fff; }
.event-pill.free { background: #4a6e42;     color: #fff; }
.event-pill.price { background: var(--cream); color: var(--ink); border: 1px solid var(--stone); }

.event-detail-body { padding: 80px 8%; }
.event-detail-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }

.event-meta-card { background: var(--cream); padding: 32px 28px; margin-bottom: 24px; }
.event-meta-block { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--stone); }
.event-meta-block:first-child { padding-top: 0; }
.event-meta-block:last-child  { border-bottom: none; padding-bottom: 0; }
.event-meta-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.event-meta-value { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--ink); line-height: 1.4; }

.event-detail-cta { display: flex; flex-direction: column; gap: 12px; }
.event-btn-anmelden { display: block; text-align: center; }
.event-btn-back { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--soft); text-align: center; display: block; transition: color 0.2s; }
.event-btn-back:hover { color: var(--wine); }

.event-detail-desc-title { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 24px; }
.event-detail-desc { font-size: 15px; color: var(--soft); line-height: 1.9; max-width: 640px; }

.ps-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 80px 8% 120px; max-width: 1400px; margin: 0 auto; }
.ps-gallery { position: sticky; top: 96px; }
.ps-img-frame { background: var(--cream); aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.ps-img { width: 100%; height: 100%; object-fit: contain; padding: 40px; animation: psImgIn 0.9s var(--transition-smooth) both; }
.ps-img-missing,
.ps-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--stone); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.ps-deco { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--gold); font-size: 14px; }
.ps-deco-line { flex: 1; height: 1px; background: var(--gold); opacity: 0.4; }
.ps-info { padding-top: 12px; animation: psInfoIn 0.9s var(--transition-smooth) 0.15s both; }
.ps-back { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); text-decoration: none; display: inline-block; margin-bottom: 28px; transition: color 0.2s; }
.ps-back:hover { color: var(--wine); }
.ps-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.ps-badge { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; padding: 4px 12px; }
.ps-badge--vegan { background: #e8f0e5; color: #4a6e42; }
.ps-badge--unavail { background: #f0e5e5; color: #8a2a2a; }
.ps-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; margin-bottom: 8px; }
.ps-subtitle { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }
.ps-divider { width: 48px; height: 1px; background: var(--gold); margin: 28px 0; }
.ps-beschreibung { font-size: 16px; color: var(--soft); line-height: 1.8; margin-bottom: 36px; max-width: 480px; }
.ps-preis-wrap { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.ps-preis { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--wine); }
.ps-preis del { color: var(--stone); font-size: 1.2rem; font-weight: 300; margin-right: 8px; }
.ps-versand { font-size: 12px; color: var(--stone); letter-spacing: 0.05em; }
.ps-btn-cart { display: block; width: 100%; max-width: 360px; padding: 16px 32px; background: var(--ink); color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.3s; margin-bottom: 20px; }
.ps-btn-cart:hover { background: var(--wine); }
.ps-btn-cart--disabled { background: var(--stone); cursor: not-allowed; }
.ps-btn-cart--disabled:hover { background: var(--stone); }
.ps-hinweis { font-size: 12px; color: var(--stone); letter-spacing: 0.05em; line-height: 1.6; }
.ps-notfound { padding: var(--section-pad); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.legal-page * { font-family: var(--font-body); }
.legal-page .legal-hero { padding-bottom: 56px; }
.legal-page .legal-content { padding-top: 64px; padding-bottom: 64px; }
.legal-page .legal-content + .legal-content { border-top: 1px solid var(--stone); }
.legal-page h2,
.legal-page h3 { font-family: var(--font-display); }
.legal-page h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.legal-page h3 { font-size: 26px; line-height: 1.25; margin-bottom: 10px; }
.legal-page a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--ink); }
.legal-subtitle { color: var(--soft); margin-top: 10px; }
.legal-block { max-width: 880px; margin-top: 40px; }
.legal-block p { color: var(--soft); }
#legal-company { font-family: var(--font-display); color: var(--wine); font-weight: 600; font-size: 26px; }
.legal-table-wrap { max-width: 880px; overflow-x: auto; margin-top: 22px; }
.legal-cookie-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.legal-cookie-table th,
.legal-cookie-table td { padding: 14px 16px; border: 1px solid var(--stone); text-align: left; vertical-align: top; }
.legal-cookie-table th { background: var(--cream); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-cookie-table code,
.legal-cookie-control code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; }
.legal-cookie-control { padding: 28px; border: 1px solid var(--stone); background: var(--cream); }
.legal-cookie-control fieldset { border: 0; margin: 24px 0; }
.legal-cookie-control legend { font-weight: 500; margin-bottom: 12px; }
.legal-cookie-control label { display: flex; align-items: center; gap: 10px; margin: 10px 0; cursor: pointer; }
.legal-cookie-control input { accent-color: var(--wine); width: 18px; height: 18px; flex: 0 0 auto; }
.legal-cookie-button { border: 0; padding: 13px 20px; background: var(--ink); color: #fff; font: inherit; cursor: pointer; }
.legal-cookie-button:hover,
.legal-cookie-button:focus-visible { background: var(--wine); }
.legal-cookie-status { min-height: 1.7em; margin-top: 14px; font-weight: 500; color: var(--wine) !important; }
.legal-updated { margin-top: 48px; color: var(--soft); font-size: 13px; }

@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes psImgIn {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes psInfoIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .produkt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px 6%; }

  header { padding: 16px 6%; height: auto; flex-direction: column; gap: 14px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
  nav a { font-size: 11px; }

  #home_img { height: 55vh; }
  .scroll-hint { display: none; }
  .hero-text { left: 8%; right: 5%; bottom: 22%; padding: 20px 24px; border-radius: 6px; }
  .hero-text h2 { font-size: 2.2rem; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 8px; letter-spacing: 0.25em; }
  .hero-tagline { font-size: 12px; margin-top: 10px; }
  .hero-cta { display: none; }
  .btn-outline { font-size: 10px; padding: 9px 20px; }

  #veranstaltungen .inner { grid-template-columns: 1fr; gap: 48px; }
  .private-tasting { margin-top: 48px; }
  #ueber-uns .inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .about-img-wrap { padding-bottom: 0; }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }

  footer { grid-template-columns: 1fr; gap: 36px; padding: 48px 6% 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  #cart-toggle { top: auto; bottom: 20px; right: 16px; padding: 10px 14px; font-size: 16px; gap: 6px; }
  #cart { width: 100vw; right: -100vw; }

  #shoppage { grid-template-columns: 1fr; grid-template-areas: "filter" "produkte"; }
  #shop-filter { position: static; min-height: auto; padding: 28px 6%; border-right: none; border-bottom: 1px solid var(--stone); display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
  .filter-label { width: 100%; margin-bottom: 0; }
  .filter-group { margin-bottom: 0; }
  #produkte { padding: 40px 6% 60px; }
  .produkt-grid { grid-template-columns: repeat(2, 1fr); }

  .event-detail-hero-content { padding: 40px 6%; }
  .event-detail-body { padding: 48px 6%; }
  .event-detail-grid { grid-template-columns: 1fr; gap: 40px; }

  .ps-wrap { grid-template-columns: 1fr; gap: 36px; padding: 40px 6% 80px; }
  .ps-gallery { position: static; }
  .ps-img-frame { aspect-ratio: 1 / 1; }
  .ps-btn-cart { max-width: 100%; }
}

@media (max-width: 560px) {
  .event-detail-hero { min-height: 40vh; }
  .event-meta-card { padding: 20px; }
}

@media (max-width: 500px) {
  .wine-grid { grid-template-columns: 1fr; }
  .produkt-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 16px 18px; }
  .hero-text h2 { font-size: 1.7rem; }
  .hero-tagline { display: none; }
  .hero-eyebrow { font-size: 8px; }
  .event-item { grid-template-columns: 60px 1fr auto; gap: 16px; }
  .event-thumb { display: none; }
  .event-date .day { font-size: 32px; }
  .event-info h4 { font-size: 20px; }
  .private-tasting { padding: 28px 24px; }
  .private-tasting::before { right: 20px; }
}

/*für Blog*/
.blog-page-hero {
    padding: 80px 8% 40px;
    text-align: center;
  }
  .blog-page-hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .blog-page-hero-sub {
    color: var(--soft);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
  }

  #blog { padding: 60px 8% 100px; }

  .blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .blog-card {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 48px;
    align-items: center;
    border: 1px solid var(--stone);
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream);
    color: inherit;
    text-decoration: none;
    transition: transform 0.5s var(--transition-smooth),
                box-shadow 0.5s var(--transition-smooth);
  }
  .blog-card:hover,
  .blog-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(107, 45, 62, 0.10);
    cursor: pointer;
  }
  .blog-card:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 4px;
  }

  .blog-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--stone);
    height: 100%;
  }
  .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
  }
  .blog-card:hover .blog-card-img img { transform: scale(1.04); }

  .blog-card-body {
    padding: 36px 40px 36px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .blog-card-meta { display: flex; align-items: center; gap: 16px; }
  .blog-card-date {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .blog-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
  }

  .blog-card-teaser {
    font-size: 14px;
    color: var(--soft);
    line-height: 1.8;
    max-width: 480px;
  }

  .blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine);
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.3s;
  }
  .blog-card:hover .blog-card-link,
  .blog-card:focus-visible .blog-card-link { gap: 14px; }
  .blog-card-arrow { transition: transform 0.3s; }
  .blog-card:hover .blog-card-arrow,
  .blog-card:focus-visible .blog-card-arrow { transform: translateX(4px); }

  .blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--soft);
  }
  .blog-empty-icon {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 24px;
  }
  .blog-empty h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
  }

  @media (max-width: 900px) {
    #blog { padding: 40px 6% 72px; }
    .blog-card {
      grid-template-columns: 1fr;
      direction: ltr;
    }
    .blog-card-img { aspect-ratio: 16 / 9; height: auto; }
    .blog-card-body { padding: 0 24px 28px; }
  }

  #age-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(28, 26, 23, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #age-modal {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: var(--bg);
    border: 1px solid var(--stone);
    border-radius: 18px;
    padding: 52px 48px;
    text-align: center;
    animation: ageModalIn 0.5s var(--transition-smooth) both;
  }

  #age-modal .age-ornament {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    display: block;
  }

  #age-modal h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 16px;
  }
  #age-modal h2 em {
    font-style: italic;
    color: var(--wine);
  }

  #age-modal p {
    font-size: 14px;
    color: var(--soft);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .age-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  #age-accept {
    display: inline-block;
    padding: 14px 36px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-body);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
  }
  #age-accept:hover { background: var(--wine); }

  #age-decline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--soft);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-body);
    border: 1px solid var(--stone);
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
  }
  #age-decline:hover { border-color: var(--ink); color: var(--ink); }

  .age-legal {
    margin-top: 24px;
    font-size: 9px;
    color: var(--stone);
    line-height: 1.7;
  }

  .age-legal-cookie {
    margin-top: 24px;
    font-size: 11px !important;
  }

  @keyframes ageModalIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 560px) {
    #age-modal { padding: 36px 24px; }
    .age-buttons { flex-direction: column; }
    #age-accept, #age-decline { width: 100%; text-align: center; }
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: 80%;
    gap: 8px;
    justify-content: center;
    padding-top: 32px;
  }

  .filter-tab-btn {
    background-color: var(--stone);
    border: none;
    border-radius: 4px;
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.25s ease,
                transform 0.3s var(--transition-smooth),
                box-shadow 0.3s var(--transition-smooth);
  }

  .filter-tab-btn:hover:not(.filter-tab-active) {
    background-color: var(--cream);
  }

  .filter-tab-active {
    background-color: var(--wine);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 45, 62, 0.25);
  }

  .filter-tabs-mobile {
      display: none;
    }

  @media (max-width: 900px) {
    .filter-tabs {
      display: none;
    }

    .filter-tabs-mobile {
      display: inline;
    }

    #mobile_filter_select {
      width: 160px;
      height: 30px;
    }
  }
