:root {
    --bg: #ffffff;
    --surface: #f6f4f1;
    --surface-2: #fbfaf8;
    --text: #171717;
    --muted: #6d6a66;
    --line: #e7e2dc;
    --accent: #a56b37;
    --accent-soft: #efe4d7;
    --shadow: 0 18px 45px rgba(25, 20, 15, 0.08);
    --radius: 20px;
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.content-width,
.footer-inner,
.hero-inner {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

/* Header – gleiche Optik wie auf der Hauptseite:
   großes Logo mittig auf warmem Beige, Navigation separat auf Weiß. */
.site-header {
    position: relative;
    z-index: 20;
    background: #f5f0eb;
}

.brand-banner {
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    background: #f5f0eb;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 200px;
    object-fit: contain;
}

.nav-bar {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid #efeae6;
    box-shadow: 0 1px 4px rgba(40, 32, 26, 0.04);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-height: 39px;
    padding: 0 20px;
    font-size: 1rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    padding: 0;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    transition: color 150ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
    color: #111111;
}

.hero {
    padding: 92px 0 86px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 18%, rgba(165, 107, 55, 0.10), transparent 26rem),
        linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
}

.hero-inner { max-width: 850px; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1, h2, h3, h4, p { text-wrap: pretty; }
h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 730;
}

.hero-copy {
    max-width: 720px;
    margin: 26px 0 0;
    color: #595550;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.catalog-shell { padding: 86px 0 108px; }
.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 46px;
}
.catalog-heading h2,
.contact-strip h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}
.category-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #403d39;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 620;
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}
.category-nav a:hover {
    border-color: #c9b7a5;
    background: var(--surface-2);
    transform: translateY(-1px);
}

.category-section {
    scroll-margin-top: 30px;
    margin-top: 74px;
}
.category-section:first-of-type { margin-top: 0; }
.category-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.category-title-row h3 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}
.category-title-row span {
    color: var(--muted);
    font-size: 0.86rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.product-card {
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(25, 20, 15, 0.02);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: #d8cbbb;
    box-shadow: var(--shadow);
}

/* Product image area:
   - one fixed visual area per card
   - the complete source image is always visible
   - no crop, zoom or offset is applied */
.product-image-wrap {
    position: relative;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.product-image {
    display: block;
    flex: 0 1 auto;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    margin: auto;
    transform: none !important;
}

.image-placeholder {
    position: absolute;
    inset: 26px;
    display: grid;
    place-content: center;
    gap: 6px;
    text-align: center;
    border: 1px dashed #cfc5ba;
    border-radius: 14px;
    color: #777069;
}
.image-placeholder span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}
.image-placeholder strong {
    color: #292725;
    font-size: 1.25rem;
}

.product-info {
    padding: 22px 22px 24px;
    background: linear-gradient(180deg, #fbfaf9 0%, #f3f0ec 100%);
}
.set-number {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.product-info h4 {
    min-height: 3.15em;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.52;
    letter-spacing: -0.012em;
}
.price {
    margin: 22px 0 0;
    color: #111;
    font-size: 1.28rem;
    font-weight: 780;
    letter-spacing: -0.025em;
}

.empty-state {
    padding: 58px 34px;
    text-align: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.empty-state h3 { margin: 0 0 10px; font-size: 1.55rem; }
.empty-state p { margin: 0 0 24px; color: var(--muted); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 21px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    transition: transform 150ms ease, opacity 150ms ease;
}
.button:hover { transform: translateY(-1px); opacity: 0.92; }
.button-dark { background: #191817; }

.contact-strip {
    padding: 70px 0;
    background: var(--accent-soft);
    border-top: 1px solid #e3d3c1;
    border-bottom: 1px solid #e3d3c1;
}
.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.contact-strip p:not(.eyebrow) {
    max-width: 650px;
    margin: 16px 0 0;
    color: #5d554d;
    line-height: 1.65;
}

.site-footer { padding: 34px 0 28px; background: #fff; }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #5e5a56;
    font-size: 0.85rem;
}
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.lego-note {
    width: min(calc(100% - 40px), var(--content));
    margin: 18px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #8a857f;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-image-wrap { height: 310px; }
    .catalog-heading,
    .contact-strip-inner {
        align-items: flex-start;
        flex-direction: column;
    }
    .category-nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
    .content-width,
    .footer-inner,
    .hero-inner,
    .lego-note {
        width: min(calc(100% - 28px), var(--content));
    }

    .brand-banner {
        height: 154px;
        padding-top: 18px;
    }
    .brand img {
        width: 170px;
        height: 116px;
    }
    .nav-bar {
        min-height: 43px;
        overflow: hidden;
    }
    .main-nav {
        width: 100%;
        min-height: 43px;
        justify-content: center;
        gap: clamp(18px, 6vw, 28px);
        overflow-x: auto;
        padding: 0 14px;
        font-size: 0.94rem;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 0 0 auto;
        min-height: 43px;
    }

    .hero { padding: 64px 0 58px; }
    h1 { font-size: clamp(2.75rem, 16vw, 4.25rem); }
    .catalog-shell { padding: 62px 0 80px; }
    .catalog-heading { margin-bottom: 35px; }
    .category-section { margin-top: 58px; scroll-margin-top: 20px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-image-wrap { height: 300px; padding: 24px; }
    .product-info h4 { min-height: 0; }
    .contact-strip { padding: 54px 0; }
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    .footer-inner nav { flex-wrap: wrap; gap: 12px 18px; }
}
