/* Ergänzungen: Sprachwahl, Weinkarten als Link, Weinseite, Glas im Gastronomie-Kopf, Vorschau-Hinweis */

/* ---- Sprachwahl DE | EN ---- */
.lang { display: inline-flex; align-items: center; gap: 4px; font: 600 11px/1 var(--sans); letter-spacing: 0.16em; color: inherit; }
.lang span { opacity: 0.4; }
.lang button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 12px 6px; cursor: pointer; opacity: 0.55; position: relative; transition: opacity 300ms; }
.lang button:hover, .lang button:focus-visible { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; cursor: default; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 1px; background: var(--gold); }
.lang--nav { color: #fff; margin-left: -8px; }
.header.is-solid .lang--nav { color: var(--ink); }
.lang--footer { margin-left: auto; }
.footer__base { flex-wrap: wrap; }
@media (max-width: 860px) {
  .lang--nav { color: var(--ink); margin: 12px 0 0 -6px; }
}

/* ---- Weinkarten: ganze Karte ist ein Link ---- */
.wine__link { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; height: 100%; }
.wine__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.wine__more { margin-top: auto; padding-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bordeaux); display: inline-flex; gap: 8px; align-items: center; }
.wine__more span { transition: transform 400ms var(--ease); }
.wine__link:hover .wine__more span { transform: translateX(6px); }
.wine__link:hover .wine__line { width: 72px; }
.wine__link:hover .wine__media img { transform: scale(1.04); }

/* ---- Weinseite ---- */
.wp-hero { position: relative; overflow: hidden; background: var(--bordeaux); color: #fff; padding: clamp(130px, 14vw, 180px) 0 clamp(64px, 8vw, 112px); }
.wp-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -240px; top: -260px; border: 1px solid rgba(176,138,72,0.3); border-radius: 50%; animation: drift 20s ease-in-out infinite alternate; }
.wp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(176,138,72,0.7), transparent); }
.wp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.wp-bottle { margin: 0; aspect-ratio: 3 / 4; background: var(--cream-soft); display: grid; place-items: center; }
.wp-bottle img { width: 100%; height: 100%; object-fit: cover; }
.wp-bottle__ph { display: none; width: 22%; height: 66%; border-radius: 40% 40% 6px 6px / 14% 14% 6px 6px; background: rgba(84,29,43,0.12); }
.wp-bottle.is-empty .wp-bottle__ph { display: block; }
.wp-hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.wp-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.wp-crumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }
.wp-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.wp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; }
.wp-meta { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.wp-profil { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); color: var(--gold); }
.wp-lead { font-size: 17px; color: rgba(255,255,255,0.88); max-width: 56ch; }
.wp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 8px 0 8px; border-top: 1px solid rgba(255,255,255,0.16); }
.wp-facts > div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.wp-facts dt { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.wp-facts dd { margin: 6px 0 0; font-size: 15px; color: #fff; }
.wp-tasting { font-size: 17px; line-height: 1.6; color: var(--ink); }
.wp-pairing__inner { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.wp-pairing__text { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; }
.wp-sheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px clamp(32px, 4vw, 64px); }
.wp-sheet__title { font-family: var(--serif); font-weight: 400; font-size: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--gold); }
.wp-sheet dl { margin: 0; }
.wp-sheet dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(84,29,43,0.12); }
.wp-sheet dt { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; overflow-wrap: anywhere; hyphens: auto; text-transform: uppercase; color: var(--bordeaux); padding-top: 3px; }
.wp-sheet dd { margin: 0; font-size: 15px; color: var(--ink-soft); }
.wp-missing { padding-top: 200px; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .wp-hero__grid { grid-template-columns: 1fr; }
  .wp-bottle { max-width: 360px; width: 100%; order: 2; }
  .wp-hero__text { order: 1; }
}
@media (max-width: 520px) {
  .wp-facts { grid-template-columns: 1fr; }
  .wp-sheet dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- Gastronomie: Glas im Kopfbereich ---- */
.gx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gx__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(176,138,72,0.32); animation: drift 20s ease-in-out infinite alternate; }
.gx__ring--1 { width: 560px; height: 560px; right: -140px; top: -120px; }
.gx__ring--2 { width: 340px; height: 340px; right: 12%; bottom: -180px; border-color: rgba(176,138,72,0.18); animation-duration: 26s; animation-direction: alternate-reverse; }
.gx__glass { position: absolute; right: clamp(40px, 12vw, 200px); top: 50%; height: min(58%, 440px); width: auto; transform: translateY(-42%); overflow: visible; opacity: 0; transition: opacity 1600ms var(--ease) 600ms; }
[data-hero].is-in .gx__glass { opacity: 1; }
.gx__outline { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gx__shine { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 1.2; stroke-linecap: round; }
.gx__wine { animation: gxFill 10s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.gx__wine path { fill: #8E2B3E; animation: gxWave 2.4s linear infinite; }
.gx__stream { stroke: #8E2B3E; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 150; stroke-dashoffset: 150; animation: gxStream 10s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes gxFill { 0%, 8% { transform: translateY(60px); } 42%, 80% { transform: translateY(0); } 100% { transform: translateY(60px); } }
@keyframes gxWave { to { transform: translateX(-60px); } }
@keyframes gxStream { 0%, 4% { stroke-dashoffset: 150; opacity: 1; } 12% { stroke-dashoffset: 0; opacity: 1; } 38% { stroke-dashoffset: 0; opacity: 1; } 44% { stroke-dashoffset: -150; opacity: 1; } 45%, 100% { stroke-dashoffset: -150; opacity: 0; } }
@media (max-width: 860px) {
  .gx__glass { right: var(--gutter); top: 104px; height: 120px; transform: none; opacity: 0.85; }
  .gx__ring--1 { width: 360px; height: 360px; right: -160px; top: -80px; }
}
@media (prefers-reduced-motion: reduce) {
  .gx__wine, .gx__wine path, .gx__stream, .gx__ring { animation: none; }
  .gx__stream { opacity: 0; }
}

/* ---- Vorschau-Hinweis ---- */
.preview-badge { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 12px; background: var(--bordeaux-dark); color: #fff; padding: 6px 6px 6px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.preview-badge button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--bordeaux-dark); background: var(--cream); border: 0; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.preview-badge button:hover { background: #fff; }

/* ---- Wartungsseite: Sprachwahl oben rechts ---- */
.w__lang { position: absolute; top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); z-index: 3; color: var(--cream); }