﻿/*!
Theme Name: Preussenschluck
Theme URI: https://github.com/timheinrichs/preusschenschluck
Author: Tim Heinrichs
Author URI: https://github.com/timheinrichs
Description: WordPress Theme for Preussenschluck by Gasthof zum Kaiser Friedrich.
Tags: classic, alcohol, brand
Version: 2024
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 8.2
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: preussenschluck

preussenschluck WordPress Theme © 2023 Tim Heinrichs
preussenschluck is distributed under the terms of the GNU GPL
*/html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{overflow-x:hidden}body{line-height:1;overflow-x:hidden}html,body{min-height:100%;height:auto}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}img{display:block;height:auto}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}:root{--white: #ffffff;--light-gray: #D9D9D9;--dark-gray: #242222;--gray: #9D9C9C;--black: #000000}.has-white-background-color{background-color:var(--white);color:var(--black)}.has-light-gray-background-color{background-color:var(--light-gray);color:var(--black)}.has-dark-gray-background-color{background-color:var(--dark-gray);color:var(--white)}.has-black-background-color{background-color:var(--black);color:var(--white)}@font-face{font-family:"Source Sans 3";src:url("fonts/SourceSans3-Light.ttf") format("truetype");font-weight:300;font-style:normal}@font-face{font-family:"Source Sans 3";src:url("fonts/SourceSans3-Regular.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"Source Sans 3";src:url("fonts/SourceSans3-Bold.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"Walbaum Fraktur";src:url("fonts/Walbaum-Fraktur.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"Walbaum Fraktur";src:url("fonts/Walbaum-Fraktur-Bold.ttf") format("truetype");font-weight:700;font-style:normal}body{font-family:"";color:var(--black);font-weight:400}h1{font-family:"Walbaum Fraktur";font-size:4rem;font-weight:700;line-height:1.1}h2{font-family:"Walbaum Fraktur";font-size:2.5rem;font-weight:400;line-height:1.1}h3{font-size:2rem;font-weight:700;line-height:1.1}h4{font-size:1.5rem;font-weight:700;line-height:1.1}h5{font-size:1rem;font-weight:700;line-height:1.1}p{font-weight:400;font-size:1rem;line-height:1.5}sup{font-size:.5em;position:relative;top:-0.25em}.admin-bar .header{top:32px}.admin-bar .footer{margin-bottom:32px}#content,.content-area{padding:0 1rem;margin-top:4rem}@media(min-width: 768px){#content,.content-area{padding:0 2rem}}#content .wp-block-group.has-background,.content-area .wp-block-group.has-background{width:100vw;position:relative;left:50%;padding:4rem 2rem;height:auto;z-index:20;transform:translateX(-50%)}#content .wp-block-group__inner-container,.content-area .wp-block-group__inner-container{max-width:100%;width:100%;margin:0}#content .wp-block-group p:last-child,.content-area .wp-block-group p:last-child{margin-bottom:0}#content .wp-block-group p:last-child::after,.content-area .wp-block-group p:last-child::after{margin-bottom:0}#content .wp-block-columns:last-child,.content-area .wp-block-columns:last-child{margin-bottom:0}#content .wp-block-image,.content-area .wp-block-image{width:100vw;position:relative;left:50%;height:auto;z-index:10;transform:translateX(-50%)}#content .wp-block-image img,.content-area .wp-block-image img{width:100%}#content .wp-block-buttons.is-layout-flex,.content-area .wp-block-buttons.is-layout-flex{gap:0}#content .wp-block-buttons .wp-block-button.wp-block-button__width-50,.content-area .wp-block-buttons .wp-block-button.wp-block-button__width-50{width:50%}#content .wp-block-buttons .wp-block-button__link,.content-area .wp-block-buttons .wp-block-button__link{border-radius:0;cursor:default;pointer-events:all;transition:.3s all ease-in-out;overflow:hidden;position:relative;display:block}#content .wp-block-buttons .wp-block-button__link[href^="https:"],.content-area .wp-block-buttons .wp-block-button__link[href^="https:"]{cursor:pointer;pointer-events:all}#content .wp-block-buttons .wp-block-button__link[href^="https:"]::before,.content-area .wp-block-buttons .wp-block-button__link[href^="https:"]::before{transition:all .85s cubic-bezier(0.68, -0.55, 0.265, 1.55);content:"";width:50%;height:100%;position:absolute;top:0;left:0;mix-blend-mode:color}#content .wp-block-buttons .wp-block-button__link[href^="https:"].has-dark-gray-background-color:hover::before,.content-area .wp-block-buttons .wp-block-button__link[href^="https:"].has-dark-gray-background-color:hover::before{background:var(--white);width:100%}.header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100vw;left:0;top:0;height:auto;position:fixed;align-items:center;z-index:100;padding:1.5rem 1rem;mix-blend-mode:difference}@media(min-width: 768px){.header{padding:1.5rem 2rem}}.header__main-menu ul,.header__social-menu ul{display:flex;flex-direction:row;justify-content:space-between;gap:4rem}.header__main-menu ul li a,.header__social-menu ul li a{color:var(--white);font-size:1rem;text-decoration:none}.header__main-menu ul li a{font-weight:700}.header__branding__image{fill:var(--white);width:100%;max-width:120px;mix-blend-mode:difference}body{background-color:var(--black);font-family:"Source Sans 3";color:var(--white)}#wrapper{position:relative;z-index:2}.page-template-default .header__main-menu ul li a,.page-template-default .header__social-menu ul li a{color:var(--white)}.page-template-default .header__branding__image{fill:var(--white)}.page-template-default main h2,.page-template-default main h3,.page-template-default main h4,.page-template-default main h5,.page-template-default main h6,.page-template-default main p{margin-bottom:1em;color:var(--white)}.page-template-default main h1,.page-template-default main a{color:var(--white)}.page-template-default main a{text-decoration:none;font-weight:700;letter-spacing:1px}.home header__main-menu ul li a,.home header__social-menu ul li a{color:var(--black)}.home__background{position:fixed;top:0;left:0;bottom:0;right:0}.home__background__image{position:fixed;top:0;left:0;bottom:0;right:0}.home__background__image img{position:relative;width:100%;height:100vh;object-fit:cover;overflow:hidden;pointer-events:auto;transform:translate(-50%, -50%);left:50%;top:50%}.home__video{object-fit:cover;position:fixed;height:100vh;width:100vw;top:0;left:0;z-index:1}.home__title{display:flex;flex-direction:column;justify-content:space-between;position:fixed;align-items:center;bottom:50vh;left:0;gap:2rem;z-index:99;width:100%;mix-blend-mode:difference}.home__title__text{color:var(--white);position:relative;mix-blend-mode:difference;display:block;font-size:3.5rem;text-align:center}@media only screen and (min-width: 480px){.home__title__text{font-size:4rem}}@media only screen and (min-width: 640px){.home__title__text{font-size:6rem}}@media only screen and (min-width: 1024px){.home__title__text{font-size:8rem}}.home__content{padding-top:100vh}.home__content .wp-block-group{display:flex;flex-direction:column;justify-content:space-between;position:relative}.home__content .wp-block-group.has-background{text-align:left}.home section{overscroll-behavior:contain}.home section.home__bottle{position:relative}.home section.home__text{padding:16rem 0;position:relative}.home section.home__text p{font-size:1.5rem;font-weight:300}.entry{width:100%}.entry__header{display:flex;align-items:center;flex-direction:column;justify-content:center}.entry__header a{text-decoration:none;color:var(--black)}.entry__header__image{overflow:hidden}.entry__header__text{overflow:hidden;padding:1rem}.post{width:100%}@media(min-width: 480px){.post{width:50%}}@media(min-width: 1024px){.post{width:25%}}.post.sticky{width:100%;border-left:0;border-right:0}.post.sticky .entry{background-color:var(--gray)}.post.sticky .entry__header{flex-direction:column}@media(min-width: 480px){.post.sticky .entry__header{flex-direction:row}}.post.sticky .entry__header__image{width:100%}@media(min-width: 480px){.post.sticky .entry__header__image{width:50%}}.post.sticky .entry__header__text{width:100%}@media(min-width: 480px){.post.sticky .entry__header__text{width:50%}}.single-post{background-color:var(--gray)}.single-post .post{width:100%;margin:4rem 0 0 0;border-top:1px solid var(--black)}.single-post .post .entry__header{flex-direction:column}@media(min-width: 480px){.single-post .post .entry__header{flex-direction:row}}.single-post .post .entry__header__image{width:100%}@media(min-width: 480px){.single-post .post .entry__header__image{width:50%}}.single-post .post .entry__header__text{width:100%}@media(min-width: 480px){.single-post .post .entry__header__text{width:50%}}.single-post .post .entry__content{max-width:83.333%;margin:4rem auto}.single-post .post h1,.single-post .post h2,.single-post .post h3,.single-post .post h4,.single-post .post h5,.single-post .post p{margin-bottom:1rem}.footer{display:flex;height:auto;position:relative;flex-direction:row;align-items:center;justify-content:space-between;padding:1.5rem 1rem 1.5rem 1rem;gap:1rem;color:var(--white)}@media screen and (max-width: 480px){.footer{flex-direction:column-reverse}}.footer__block{height:100%;display:flex;flex-direction:column;justify-content:center}.footer__logo{max-width:120px !important}.footer__menu ul,.footer__social-menu ul{display:flex;gap:1rem;justify-content:flex-end}.footer__menu ul li a,.footer__social-menu ul li a{color:var(--white);font-size:1rem;text-decoration:none}.footer__social-menu ul{column-count:1}.footer__copyright{color:var(--white);font-size:.75rem;font-weight:700;text-transform:uppercase}.age-gate__challenge{margin-bottom:1rem;font-weight:700}.woocommerce.product-template-default .product .images img{height:520px;width:auto;display:block;margin:0 auto}.woocommerce.post-type-archive-product .products{display:flex;flex-wrap:wrap;gap:2rem;justify-content:center}.woocommerce.post-type-archive-product .products::before,.woocommerce.post-type-archive-product .products::after{display:none}.woocommerce.post-type-archive-product .products .product{margin:0;width:100%;max-width:600px}.woocommerce.post-type-archive-product .products .product a{color:var(--white);text-decoration:none}.woocommerce.post-type-archive-product .products .product img{width:100%}.woocommerce.post-type-archive-product .woocommerce-loop-product__title{font-size:1.5rem;font-family:"Source Sans 3";font-weight:700}/*# sourceMappingURL=style.css.map */

/* Design refinement overrides (2026-02) */
.home {
  position: relative;
}

.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 35%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.38)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.30));
}

.home__video {
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: brightness(1.22) contrast(1.03) saturate(1.06);
}

#wrapper {
  z-index: 2;
}

.header {
  background: rgba(8, 8, 8, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mix-blend-mode: normal;
  transition: background 0.3s ease;
}

.header__main-menu ul,
.header__social-menu ul {
  gap: clamp(1rem, 4vw, 4rem);
}

.home__title {
  bottom: 42vh;
  mix-blend-mode: normal;
  z-index: 30;
}

.home__title__text {
  font-size: clamp(2.6rem, 8vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  mix-blend-mode: normal;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.home__content {
  position: relative;
  z-index: 10;
}

.home__content .wp-block-group__inner-container {
  max-width: min(72ch, 92vw);
  margin: 0 auto;
}

.home section.home__text {
  padding: clamp(7rem, 16vh, 14rem) 0;
}

.home section.home__text p {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}

@media (max-width: 767px) {
  .header {
    padding: 1rem;
  }

  .home__title {
    bottom: 38vh;
  }

  .home__content {
    padding-top: 96vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .home__title__info::before,
  .home .home__title__info::after,
  .home .home__title__info-trigger::before,
  .home .home__title__info-tooltip::before,
  .home .home__title__info-tooltip::after,
  .home .home__title__info:hover .home__title__info-tooltip,
  .home .home__title__info:focus-within .home__title__info-tooltip {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home__video {
    animation: none;
  }

  .home__title,
  .home__title__text {
    transform: none !important;
  }
}

.home__model {
  position: fixed;
  left: 50%;
  bottom: 8vh;
  width: min(68vw, 620px);
  height: min(56vh, 560px);
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}

.home__model::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: 70%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  filter: blur(10px);
}

.home__model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}

@media (max-width: 767px) {
  .home__model {
    width: min(84vw, 420px);
    height: min(42vh, 360px);
    bottom: 12vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home__model {
    transform: translateX(-50%) !important;
  }
}

html,
body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99999;
  width: min(560px, calc(100vw - 2rem));
}

.cookie-consent__panel {
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cookie-consent__panel h2 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  font-family: "Source Sans 3";
  font-weight: 700;
}

.cookie-consent__panel p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}

.cookie-consent__btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: .52rem .85rem;
  font-size: .88rem;
  cursor: pointer;
}

.cookie-consent__btn--primary {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 700;
}

.cookie-consent__btn--ghost {
  border-style: dashed;
}

.cookie-consent__details {
  margin-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: .85rem;
}

.cookie-consent__option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .6rem;
}

.cookie-consent__option input[type="checkbox"] {
  margin-top: .2rem;
  transform: scale(1.15);
}

.cookie-consent__save-wrap {
  margin-top: .9rem;
}

.cookie-consent__privacy {
  margin-top: .85rem !important;
  font-size: .82rem !important;
  opacity: .88;
}

.cookie-consent__privacy a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent__floating-button {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 99998;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: .78rem;
  padding: .45rem .75rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .cookie-consent {
    left: .5rem;
    right: .5rem;
    bottom: .5rem;
    width: auto;
  }

  .cookie-consent__panel {
    padding: .85rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
  }

  .cookie-consent__floating-button {
    bottom: auto;
    top: .75rem;
    left: .75rem;
  }
}

/* Home footer links always white */
.home .footer__menu ul li a,
.home .footer__menu ul li a:visited,
.home .footer__social-menu ul li a,
.home .footer__social-menu ul li a:visited,
.home .footer__copyright {
  color: #ffffff !important;
}

/* Legal pages: premium readability panel */
.page-id-33 #container,
.page-id-3 #container,
.privacy-policy #container {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(7rem, 12vh, 10rem);
  padding-bottom: clamp(3rem, 7vh, 6rem);
}

.page-id-33 #container::before,
.page-id-3 #container::before,
.privacy-policy #container::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8));
  z-index: 0;
}

.page-id-33 #content,
.page-id-3 #content,
.privacy-policy #content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-id-33 #content article,
.page-id-3 #content article,
.privacy-policy #content article {
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: clamp(1.2rem, 3vw, 2.4rem);
}

.page-id-33 .entry__title,
.page-id-3 .entry__title,
.privacy-policy .entry__title {
  font-family: "Walbaum Fraktur";
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.page-id-33 .entry-content h2,
.page-id-3 .entry-content h2,
.privacy-policy .entry-content h2 {
  font-family: "Source Sans 3";
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #ffffff;
  margin: 1.6rem 0 .75rem;
}

.page-id-33 .entry-content p,
.page-id-3 .entry-content p,
.privacy-policy .entry-content p,
.page-id-33 .entry-content li,
.page-id-3 .entry-content li,
.privacy-policy .entry-content li {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.page-id-33 .entry-content ul,
.page-id-3 .entry-content ul,
.privacy-policy .entry-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: .8rem 0 1rem;
}

.page-id-33 .entry-content a,
.page-id-33 .entry-content a:visited,
.page-id-3 .entry-content a,
.page-id-3 .entry-content a:visited,
.privacy-policy .entry-content a,
.privacy-policy .entry-content a:visited {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie banner visual language aligned with theme */
.cookie-consent__panel {
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.94), rgba(18, 18, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
}

.cookie-consent__panel h2 {
  font-family: "Walbaum Fraktur";
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.cookie-consent__btn {
  font-family: "Source Sans 3";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-consent__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-consent__btn--primary:hover {
  background: #ffffff;
  color: #000000;
}

.cookie-consent__floating-button {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(5, 5, 5, 0.82);
}

/* Global video background for all pages */
.site__video-bg {
  object-fit: cover;
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: brightness(1.18) contrast(1.03) saturate(1.06);
}

body:not(.home)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(100% 60% at 50% 15%, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.48)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
}

/* Floating legal + cookie actions */
.site-floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: flex-end;
}

.site-floating-actions__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.82);
  color: #fff !important;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .45rem .78rem;
  cursor: pointer;
}

.site-floating-actions__item:visited {
  color: #fff !important;
}

.site-floating-actions__item:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-floating-actions__item--button {
  font-family: "Source Sans 3";
}

/* Keep previous selector compatibility */
.cookie-consent__floating-button {
  display: none !important;
}

/* Layout for consent panel with floating actions */
.cookie-consent {
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 100000;
}

/* Legal pages panel spacing with video background */
.page-id-33 #wrapper,
.page-id-3 #wrapper,
.privacy-policy #wrapper {
  min-height: 100vh;
}

@media (max-width: 767px) {
  .site-floating-actions {
    right: .5rem;
    bottom: .5rem;
  }

  .site-floating-actions__item {
    font-size: .72rem;
    padding: .4rem .65rem;
  }

  .cookie-consent {
    left: .5rem;
    right: .5rem;
    bottom: .5rem;
    width: auto;
  }
}

/* Scroll stability tuning */
.home__title,
.home__model,
.home__model-viewer,
.home__content {
  will-change: transform, opacity;
}

.home__model-viewer {
  transform: translateZ(0);
  backface-visibility: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

/* Home footer must stay white */
.home .footer,
.home .footer *,
.home .footer a,
.home .footer a:visited,
.home .footer__copyright {
  color: #ffffff !important;
}

/* Home headline and text readability refinements */
.home .home__title {
  bottom: 54vh !important;
}

.home #home__text {
  position: relative;
  z-index: 46;
}

.home #home__text .wp-block-group__inner-container {
  max-width: min(72ch, 92vw);
  margin: 0 auto;
  padding: clamp(1rem, 2.2vw, 2rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 7, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.home #home__text p,
.home #home__text h2,
.home #home__text a {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
  .home .home__title {
    bottom: 46vh !important;
  }
}

/* Consent pending: blur and lock background until confirmed */
html.cookie-consent-pending #wrapper,
html.cookie-consent-pending .site__video-bg {
  filter: blur(8px) saturate(0.9);
  transition: filter 0.28s ease;
}

html.cookie-consent-pending #wrapper {
  pointer-events: none;
}

html.cookie-consent-pending .site-floating-actions {
  opacity: 0;
  pointer-events: none;
}

html.cookie-consent-pending .cookie-consent {
  filter: none !important;
}

/* Ensure home text content is above bottle/model */
.home .home__content {
  position: relative;
  z-index: 55 !important;
}

.home .home__model {
  z-index: 30 !important;
}

.home #home__text {
  position: relative;
  z-index: 70 !important;
}

.home #home__text .wp-block-group__inner-container {
  position: relative;
  z-index: 71;
}

/* Brand title: distinct style and above 3D model */
.home .home__title {
  z-index: 95 !important;
}

.home .home__title__text {
  font-family: "Walbaum Fraktur", serif;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
}

/* 3D model loading stage */
.home .home__model {
  overflow: visible;
}

.home .home__model-viewer {
  opacity: 0;
  transition: opacity .35s ease;
}

.home .home__model.is-loaded .home__model-viewer,
.home .home__model-viewer.is-loaded {
  opacity: 1;
}

.home .home__model-loading {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: min(440px, 88vw);
  padding: 1rem 1.1rem;
  z-index: 120;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.home .home__model.is-loaded .home__model-loading {
  opacity: 0;
  transform: translate(-50%, -58%);
}

.home .home__model-loading__label {
  margin: 0;
  font-family: "Walbaum Fraktur", serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  letter-spacing: 0.02em;
}

.home .home__model-loading__bar {
  margin: .65rem auto .5rem;
  width: min(280px, 80vw);
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.home .home__model-loading__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.95));
  transition: width .18s ease;
}

.home .home__model-loading__percent {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: .92rem;
  opacity: .96;
}

/* Mobile: avoid duplicate legal links (footer menu + floating actions) */
@media (max-width: 900px) {
  #footer__menu {
    display: none !important;
  }

  .footer {
    padding-bottom: 3.2rem;
  }
}

/* Copyright must stay clearly white */
#footer__copyright,
.footer__copyright,
.home #footer__copyright,
.home .footer__copyright {
  color: #ffffff !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* Hard override: never let copyright render gray */
#footer #footer__copyright,
#footer .footer__copyright,
#footer #footer__copyright *,
#footer .footer__copyright * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Keep footer text above home overlay while scrolling */
#footer,
.footer {
  position: relative;
  z-index: 120 !important;
  isolation: isolate;
}

#footer #footer__copyright,
#footer .footer__copyright {
  position: relative;
  z-index: 121 !important;
  mix-blend-mode: normal !important;
}

/* Mobile hard guard: hide legacy footer nav to avoid duplicate legal links */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  #footer__menu,
  .footer__menu,
  nav#footer__menu {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/* Home title info marker + tooltip */
.home .home__title__text {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.home .home__title__word {
  display: inline-block;
}

.home .home__title__info {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  margin-left: -0.08em;
  top: -0.44em;
  z-index: 130;
}

.home .home__title__info-trigger {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(5, 5, 5, 0.66);
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home .home__title__info-trigger:hover,
.home .home__title__info-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px) scale(1.05);
  outline: none;
}

.home .home__title__info-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.95rem);
  transform: translate(-50%, 8px);
  width: min(720px, 92vw);
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(4, 4, 4, 0.86);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(0.8rem, 1.1vw, 0.96rem);
  line-height: 1.52;
  text-transform: none;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home .home__title__info-tooltip p {
  margin: 0 0 0.65rem 0;
}

.home .home__title__info-tooltip p:last-child {
  margin-bottom: 0;
}

.home .home__title__info:hover .home__title__info-tooltip,
.home .home__title__info:focus-within .home__title__info-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (max-width: 767px) {
  .home .home__title__info {
    top: -0.35em;
  }

  .home .home__title__info-trigger {
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0.72rem;
  }

  .home .home__title__info-tooltip {
    position: fixed;
    left: 50%;
    top: 52%;
    width: calc(100vw - 1rem);
    max-width: 38rem;
    max-height: 62vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translate(-50%, -46%);
    padding: 0.85rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .home .home__title__info:hover .home__title__info-tooltip,
  .home .home__title__info:focus-within .home__title__info-tooltip {
    transform: translate(-50%, -50%);
  }
}
