:root {
    --dark: #303030;
    --nav: #efebe4;
    --green: #096440;
    --green-dark: #074f34;
    --footer-green: #0c5f43;
    --wine: #55203c;
    --orange: #e99b10;
    --cream: #f4f0df;
    --paper: #faf8ef;
    --text: #707070;
    --headline: #808080;
    --white: #fff;
    --max: 1150px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.7;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.topbar {
    background: var(--dark);
    color: var(--white);
    min-height: 156px;
    position: relative;
    border-bottom: 3px solid var(--green);
}
.topbar-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 156px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.top-logo-link { display: inline-flex; align-items: center; justify-content: center; align-self: center; }
.facebook {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    justify-self: start;
    color: white;
    background: #1877f2;
    border-radius: 8px;
    text-decoration: none;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.top-logo {
    width: min(520px, 54vw);
    margin-top: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.28));
}
.contact-top {
    justify-self: end;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0,0,0,.55);
    line-height: 2.05;
    font-size: 15px;
}
.contact-top strong { display: block; }

.main-nav {
    background: var(--nav);
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 18px rgba(0,0,0,.04);
}
.nav-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    min-width: 305px;
    background: #f7f3e8;
    border-right: 1px solid rgba(0,0,0,.06);
}
.nav-logo img { width: 268px; max-height: 64px; object-fit: contain; }
.nav-links { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-links a {
    display: flex;
    align-items: center;
    padding: 0 27px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 800;
}
.nav-links a.active,
.nav-links a:hover { background: var(--green); color: var(--white); }

.hero {
    min-height: 454px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #222;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.08)), url('assets/slider-nussbach.jpg') center center / cover no-repeat;
    z-index: -2;
}
.hero-content {
    width: min(610px, calc(100% - 36px));
    margin-left: max(18px, calc((100% - 1070px) / 2));
    padding-top: 62px;
    color: white;
    position: relative;
    z-index: 3;
    text-align: center;
}
.orange-title {
    background: rgba(232,151,9,.93);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
    line-height: 1.05;
    color: #fff;
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 30px;
}
.hero h1 {
    margin: 0 0 34px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.15;
    color: white;
    text-shadow: 0 2px 2px rgba(0,0,0,.45);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 22px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border: 0;
}
.btn.grey { background: #909090; color: white; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.btn.green { background: var(--green); color: white; }
.text-link { color: var(--green); font-weight: 800; }
.hero-products {
    position: absolute;
    right: max(20px, calc((100% - 1120px) / 2));
    top: 62px;
    width: min(500px, 42vw);
    height: 360px;
    z-index: 2;
}
.bag { position: absolute; filter: drop-shadow(0 14px 15px rgba(0,0,0,.25)); }
.bag-3 { width: 185px; left: 0; bottom: 0; }
.bag-2 { width: 145px; left: 205px; bottom: 14px; }
.bag-5 { width: 230px; right: 0; bottom: 54px; }

.welcome, .idea-section, .product-section, .badges-section, .recipe-section, .gallery-section, .contact-section {
    padding: 56px 0;
}
.welcome,
.product-section,
.gallery-section {
    background: linear-gradient(rgba(250,248,239,.88), rgba(250,248,239,.92)), url('assets/bg-wood-light.jpg') center center / cover no-repeat;
}
.idea-section,
.badges-section,
.recipe-section,
.contact-section {
    background: linear-gradient(rgba(247,244,234,.88), rgba(247,244,234,.93)), url('assets/bg-wall-light.jpg') center center / cover no-repeat;
}
.centered-head { text-align: center; }
h2 {
    margin: 0 0 40px;
    color: var(--headline);
    font-weight: 300;
    line-height: 1.08;
    font-size: clamp(2rem, 3vw, 2.45rem);
}
h3 { margin: 0 0 26px; color: var(--headline); font-size: 1.35rem; }
.split {
    display: grid;
    grid-template-columns: 1fr .82fr;
    gap: 70px;
    align-items: center;
}
.text-block { font-size: 1.04rem; }
.centered-text { text-align: center; }
.text-block p { margin: 0 0 24px; }
.text-block strong { color: #737373; }
.image-frame, .portrait-frame { margin: 0; }
.image-frame img, .portrait-frame img { width: 100%; max-height: 560px; object-fit: cover; }
.label { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.product-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 34px;
    align-items: center;
}
.product-copy {
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(85,32,60,.12);
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.product-copy h2 {
    color: var(--wine);
    margin-bottom: 18px;
}
.product-copy p { margin: 0 0 22px; }
.product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.product-list li {
    position: relative;
    padding-left: 24px;
    margin: 12px 0;
}
.product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
}
.product-collage {
    margin: 0;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.12));
}
.product-collage a {
    display: block;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease;
}
.product-collage a:hover {
    transform: translateY(-3px);
    filter: brightness(1.02);
}
.product-collage img { width: 100%; height: auto; }

.idea-grid { grid-template-columns: .8fr 1.2fr; }
.portrait-frame img { max-height: 520px; object-position: top center; }

.badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: center;
    align-items: center;
}
.badges-grid h3 { margin-bottom: 12px; font-size: 1.6rem; font-weight: 300; }
.badges-grid p { margin: 8px 0; font-weight: 700; }
.nature span { display: block; text-transform: uppercase; color: #888; }
.nature strong { display: block; font-size: 1.5rem; }
.logos { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.logos img { max-width: 150px; max-height: 95px; object-fit: contain; mix-blend-mode: multiply; }

.recipe-head h2 { margin-bottom: 16px; color: var(--wine); }
.recipe-intro { max-width: 740px; margin: 0 auto 34px; font-size: 1.05rem; }
.recipe-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 38px;
    align-items: start;
}
.recipe-card {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(85,32,60,.12);
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.recipe-block + .recipe-block { margin-top: 24px; }
.recipe-block h3 { color: var(--wine); margin-bottom: 10px; font-size: 1.18rem; }
.recipe-block p { margin: 0 0 12px; }
.recipe-list { margin: 0; padding-left: 1.2rem; }
.recipe-list li { margin-bottom: 8px; }
.tips-block { background: rgba(9,100,64,.06); border-left: 4px solid var(--green); padding: 18px; }
.recipe-image-frame { margin: 0; position: sticky; top: 100px; }
.recipe-image-frame img { width: 100%; border: 10px solid white; box-shadow: 0 16px 35px rgba(0,0,0,.12); }

.gallery-head h2 { margin-bottom: 10px; }
.gallery-note { margin: 0 0 24px; font-size: .98rem; color: #8b8b8b; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.gallery-item { display: block; text-decoration: none; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .18s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.large-photo img { width: 100%; max-height: 500px; object-fit: cover; filter: grayscale(100%); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.contact-grid h2 { margin-bottom: 20px; color: var(--wine); }
.contact-grid h3 { margin-bottom: 12px; color: var(--wine); }

.footer { color: rgba(255,255,255,.92); position: relative; font-size: .95rem; }
.footer-image { height: 250px; background: url('assets/footer-walnut-banner.jpg') center top / cover no-repeat; }
.footer-main { background: var(--footer-green); }
.footer a { color: white; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr;
    gap: 28px;
    align-items: start;
    padding: 34px 0 28px;
}
.footer-address { max-width: 460px; line-height: 1.42; color: rgba(255,255,255,.97); }
.footer-address strong { display: block; margin-bottom: 2px; }
.powered-by { margin-top: 18px; font-weight: 700; color: rgba(255,255,255,.97); }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; flex-wrap: wrap; padding-top: 6px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.96); }
.footer-links a:hover { text-decoration: underline; }
.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #2f2f2f;
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 60;
}

.legal-main {
    background: linear-gradient(rgba(250,248,239,.9), rgba(250,248,239,.94)), url('assets/bg-wall-light.jpg') center center / cover no-repeat;
    padding: 48px 0 62px;
}
.legal-card {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(85,32,60,.14);
    box-shadow: 0 18px 38px rgba(0,0,0,.07);
    padding: 40px;
}
.legal-card h1 { margin: 0 0 18px; color: var(--wine); font-size: clamp(2rem, 3vw, 2.6rem); }
.legal-card h2 { margin: 28px 0 12px; color: var(--wine); font-size: 1.35rem; font-weight: 700; }
.legal-card p { margin: 0 0 18px; }
.breadcrumb { margin-bottom: 18px; }
.breadcrumb a { color: var(--green); font-weight: 700; text-decoration: none; }
.notice-box { background: rgba(9,100,64,.08); border-left: 4px solid var(--green); padding: 14px 16px; }
.stand { margin-top: 30px; font-weight: 700; color: var(--green); }

.lightbox[hidden] { display: none !important; }
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 30px;
    z-index: 100;
}
.lightbox-figure { margin: 0; text-align: center; }
.lightbox-image { max-width: min(1100px, 100%); max-height: calc(100vh - 110px); margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.lightbox-caption { color: white; margin-top: 14px; }
.lightbox-close, .lightbox-nav { border: 0; background: rgba(255,255,255,.14); color: white; cursor: pointer; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 999px; font-size: 28px; }
.lightbox-nav { width: 52px; height: 52px; border-radius: 999px; font-size: 36px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.24); }

@media (max-width: 1100px) {
    .nav-logo { min-width: 260px; padding-inline: 14px; }
    .nav-logo img { width: 228px; }
    .nav-links a { padding-inline: 18px; }
    .hero-products { opacity: .92; right: 16px; }
    .split, .product-layout, .badges-grid, .recipe-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .recipe-image-frame { position: static; }
    .footer-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
    .topbar, .topbar-inner { min-height: 132px; }
    .topbar-inner { grid-template-columns: 1fr; justify-items: center; }
    .facebook, .contact-top { display: none; }
    .top-logo { width: min(88vw, 430px); }
    .main-nav { position: static; }
    .nav-inner { min-height: 0; display: block; width: 100%; }
    .nav-logo { justify-content: center; min-width: 0; padding: 12px; border-right: 0; }
    .nav-logo img { width: min(76vw, 280px); max-height: none; }
    .nav-links { display: grid; grid-template-columns: repeat(3, 1fr); }
    .nav-links a { min-height: 48px; justify-content: center; padding: 0 8px; font-size: .86rem; }
    .hero { min-height: 620px; }
    .hero-content { margin: 0 auto; padding-top: 36px; }
    .hero-products { width: min(92vw, 460px); height: 270px; left: 50%; right: auto; top: 330px; transform: translateX(-50%); }
    .bag-3 { width: 155px; }
    .bag-2 { width: 120px; left: 160px; }
    .bag-5 { width: 185px; }
    .welcome, .idea-section, .product-section, .badges-section, .recipe-section, .gallery-section, .contact-section { padding: 38px 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-copy, .recipe-card { padding: 24px; }
    .footer-image { height: 180px; }
    .lightbox { grid-template-columns: 1fr; padding: 18px 14px 26px; }
    .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}
@media (max-width: 520px) {
    .nav-links { grid-template-columns: repeat(2, 1fr); }
    .orange-title { font-size: 1.25rem; }
    .hero h1 { font-size: 1.55rem; }
    .hero-products { top: 350px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .legal-card { padding: 26px 18px; }
    .footer-image { height: 145px; }
}
