/* ==========================================================================
   Der kleine Wolf — Feinkost in Rockenberg
   Warm jazz, deep browns, mustard accent, paper grain
   ========================================================================== */

:root {
    --brown:       #3a2a22;   /* logo color */
    --brown-deep:  #281c16;
    --brown-ink:   #1a110d;
    --cream:       #f4ead4;   /* warm paper */
    --cream-soft:  #ebdfc0;
    --paper:       #f8efd9;
    --mustard:     #c9941d;   /* feinkost accent */
    --burgundy:    #7a2e2a;   /* wine red */
    --olive:       #6b6535;
    --black:       #15110e;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--brown-ink);
    font-family: 'Inter', system-ui, -apple-system, "Helvetica Neue", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ---------- Grain overlay ------------------------------------------------- */

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.20  0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Floating shapes ---------------------------------------------- */

.shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    display: block;
    will-change: transform;
}

.circle { border-radius: 50%; background: var(--brown); }
.ring   { border-radius: 50%; border: 14px solid var(--mustard); background: transparent; }
.bar    { background: var(--burgundy); border-radius: 6px; }
.dot    { background: var(--olive); border-radius: 50%; }

.s1 { width: 420px; height: 420px; top: -160px; right: -120px; opacity: 0.08; }
.s2 { width: 320px; height: 320px; top: 38%;    left: -120px;  opacity: 0.18; }
.s3 { width: 280px; height: 24px;  top: 20%;    right: 6%;     opacity: 0.28; transform: rotate(-14deg); }
.s4 { width: 200px; height: 200px; bottom: 12%; right: -70px;  opacity: 0.10; background: var(--mustard); }
.s5 { width: 110px; height: 110px; bottom: 32%; left: 8%;      opacity: 0.20; }

/* ---------- Layout helpers ----------------------------------------------- */

.wrap {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--burgundy);
    margin-bottom: 22px;
    padding: 6px 14px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}
.eyebrow--paper { color: var(--brown); }
.eyebrow--light { color: var(--mustard); border-color: var(--mustard); }

/* ---------- Nav ----------------------------------------------------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 234, 212, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(58, 42, 34, 0.12);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.nav__logo {
    width: 118%;
    height: 118%;
    object-fit: cover;
    object-position: center;
}

.nav__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

.nav__links a {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    color: var(--brown);
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__links a:hover {
    color: var(--burgundy);
    border-color: var(--mustard);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: var(--brown);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav__inner.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__inner.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav__inner.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */

.hero {
    position: relative;
    padding: 70px 0 110px;
    text-align: center;
}

.hero__inner { position: relative; }

.hero__mark {
    width: clamp(220px, 30vw, 320px);
    height: clamp(220px, 30vw, 320px);
    margin: 28px auto 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 0 rgba(58, 42, 34, 0.12);
}

.hero__logo {
    width: 118%;
    height: 118%;
    object-fit: cover;
    object-position: center;
}

.hero__title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--brown);
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
}

.hero__title em {
    font-style: italic;
    color: var(--burgundy);
}

.hero__lede {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--brown-ink);
}

.hero__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    background: var(--brown);
    color: var(--cream);
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    padding: 18px 32px;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 6px 6px 0 var(--mustard);
}
.cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--mustard);
    background: var(--brown-deep);
}
.cta--ghost {
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
    box-shadow: 6px 6px 0 var(--burgundy);
}
.cta--ghost:hover {
    background: var(--brown);
    color: var(--cream);
    box-shadow: 9px 9px 0 var(--burgundy);
}
.cta--amber {
    background: var(--mustard);
    color: var(--brown-ink);
    box-shadow: 6px 6px 0 var(--brown);
}
.cta--amber:hover {
    background: #b88318;
    box-shadow: 9px 9px 0 var(--brown);
}
.cta--ghost-light {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
    box-shadow: 6px 6px 0 var(--mustard);
}
.cta--ghost-light:hover {
    background: var(--cream);
    color: var(--brown-ink);
    box-shadow: 9px 9px 0 var(--mustard);
}

.catering__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Sections ----------------------------------------------------- */

.section {
    padding: 100px 0;
    position: relative;
}

.section__title {
    font-family: 'DM Serif Display', serif;
    color: var(--brown);
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    font-weight: 400;
}
.section__title--light { color: var(--cream); }

.section__lead {
    max-width: 640px;
    font-size: clamp(17px, 1.5vw, 19px);
    margin: 0 0 50px;
    color: var(--brown-ink);
}
.section__lead--light { color: rgba(244, 234, 212, 0.86); }

/* ---------- Sortiment / Cards -------------------------------------------- */

.section--sortiment {
    background: var(--paper);
    border-top: 2px solid var(--brown);
    border-bottom: 2px solid var(--brown);
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.card {
    background: var(--brown);
    color: var(--cream);
    padding: 38px 32px 32px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.card:nth-child(2) { background: var(--burgundy); }
.card:nth-child(3) { background: var(--olive); }
.card:nth-child(4) { background: var(--brown-deep); }

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -20px rgba(26, 17, 13, 0.45);
}

.card__num {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--mustard);
    margin-bottom: 22px;
}

.card__title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.1;
    margin: 0 0 12px;
    letter-spacing: -0.005em;
}

.card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(244, 234, 212, 0.92);
}

/* ---------- Catering ----------------------------------------------------- */

.section--catering {
    background: var(--brown);
    color: var(--cream);
    overflow: hidden;
}

.section--catering::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--mustard);
    opacity: 0.16;
    z-index: 0;
}

.catering__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.catering__copy { max-width: 520px; }

.catering__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.catering__list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 234, 212, 0.18);
    font-size: 17px;
    color: var(--cream);
}
.catering__list li::before {
    content: "—";
    color: var(--mustard);
    margin-right: 12px;
    font-family: 'Archivo Black', sans-serif;
}

.catering__note {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 19px;
    color: rgba(244, 234, 212, 0.85);
    margin: 0 0 28px;
    max-width: 460px;
}

.catering__photo {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--mustard);
    transform: rotate(1deg);
}
.catering__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

/* ---------- Gallery ------------------------------------------------------ */

.section--gallery {
    padding-bottom: 120px;
}

.gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 28px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.gallery__item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--brown-deep);
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}
.gallery__item--wide {
    aspect-ratio: 4 / 3;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery__item:hover img {
    transform: scale(1.04);
}

/* ---------- Visit / Hours ------------------------------------------------ */

.section--visit {
    background: var(--brown-deep);
    color: var(--cream);
    overflow: hidden;
}

.section--visit::before {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -90px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--mustard);
    opacity: 0.14;
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit__address {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.3;
    color: var(--cream);
    margin: 0 0 14px;
}

.visit__contact {
    margin: 0 0 32px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.visit__contact a {
    color: var(--mustard);
    text-decoration: none;
    border-bottom: 2px solid var(--mustard);
    padding-bottom: 2px;
    transition: color 0.2s ease;
    word-break: break-word;
}
.visit__contact a:hover { color: var(--cream); border-color: var(--cream); }

.visit__contact-or {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(244, 234, 212, 0.55);
    margin-top: 2px;
}

.visit__hours {
    background: rgba(244, 234, 212, 0.06);
    border: 1px solid rgba(244, 234, 212, 0.18);
    border-radius: 20px;
    padding: 32px 32px 28px;
}

.visit__hours-title {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--mustard);
    margin: 0 0 20px;
}

.hours {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hours li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(244, 234, 212, 0.18);
    font-size: 16px;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child {
    color: rgba(244, 234, 212, 0.7);
}
.hours li span:last-child {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--cream);
}
.hours__closed {
    color: rgba(244, 234, 212, 0.45) !important;
    font-style: italic;
}

.visit__small {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(244, 234, 212, 0.55);
}

/* ---------- Footer ------------------------------------------------------- */

.footer {
    background: var(--brown-ink);
    color: var(--cream);
    padding: 44px 0;
    position: relative;
    z-index: 2;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer__brand {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    margin: 0;
    color: var(--cream);
}

.footer__meta,
.footer__legal {
    margin: 0;
    font-size: 14px;
    color: rgba(244, 234, 212, 0.6);
}

.footer__legal a {
    color: var(--mustard);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.footer__legal a:hover { border-color: var(--mustard); }

.footer__credit {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 234, 212, 0.12);
    text-align: center;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: rgba(244, 234, 212, 0.55);
}

.footer__credit .heart {
    color: var(--burgundy);
    font-size: 13px;
    display: inline-block;
    transform: translateY(1px);
    margin: 0 2px;
    animation: heartbeat 1.6s ease-in-out infinite;
}

.footer__credit a {
    color: var(--mustard);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__credit a:hover {
    color: var(--cream);
    border-color: var(--cream);
}

@keyframes heartbeat {
    0%, 70%, 100% { transform: translateY(1px) scale(1); }
    35%           { transform: translateY(1px) scale(1.18); }
}

/* ---------- Legal pages -------------------------------------------------- */

.legal {
    padding: 80px 0 120px;
    min-height: 70vh;
    position: relative;
    z-index: 2;
}

.legal__back {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--burgundy);
    text-decoration: none;
    border-bottom: 1.5px solid currentColor;
    margin-bottom: 40px;
    padding-bottom: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.legal__back:hover {
    color: var(--brown);
    transform: translateX(-3px);
}

.legal__title {
    font-family: 'DM Serif Display', serif;
    color: var(--brown);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    margin: 0 0 48px;
}

.legal__block {
    margin-bottom: 32px;
    max-width: 680px;
}

.legal__block h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--burgundy);
    margin: 0 0 12px;
}

.legal__block p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--brown-ink);
}

.legal__block a {
    color: var(--brown);
    text-decoration: none;
    border-bottom: 1.5px solid var(--mustard);
    transition: color 0.2s ease;
}
.legal__block a:hover { color: var(--burgundy); }

/* ---------- Reveal ------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(.2,.7,.2,1),
                transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 900px) {
    .catering__grid { grid-template-columns: 1fr; gap: 40px; }
    .visit__grid    { grid-template-columns: 1fr; gap: 36px; }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 18px;
    }
    .gallery__item,
    .gallery__item--wide { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
    .nav__links { gap: 16px; }
    .nav__links a { font-size: 11px; letter-spacing: 0.1em; }
    .hero { padding: 50px 0 80px; }
    .hero__mark { max-width: 240px; margin-bottom: 28px; }
    .section { padding: 70px 0; }
    .cards { grid-template-columns: 1fr; gap: 16px; }
    .visit__hours { padding: 24px 22px; }
    .catering__photo { transform: none; box-shadow: 8px 8px 0 var(--mustard); }
}

@media (max-width: 600px) {
    .nav__toggle { display: inline-flex; }
    .nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--cream);
        border-top: 1px solid rgba(58, 42, 34, 0.12);
        border-bottom: 1px solid rgba(58, 42, 34, 0.12);
        box-shadow: 0 14px 26px rgba(26, 17, 13, 0.14);
        padding: 4px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.32s ease, opacity 0.22s ease;
    }
    .nav__inner.is-open .nav__links {
        max-height: 340px;
        opacity: 1;
        pointer-events: auto;
    }
    .nav__links li { width: 100%; }
    .nav__links a {
        display: block;
        width: 100%;
        padding: 15px 24px;
        font-size: 13px;
        letter-spacing: 0.14em;
        border-bottom: none;
    }
    .nav__links a:hover { color: var(--burgundy); border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
}
