:root {
    --ink: #24211e;
    --brown: #70563a;
    --brown-dark: #3b2d22;
    --gold: #b88b35;
    --forest: #263d34;
    --berry: #7b263d;
    --cream: #f8f7f2;
    --paper: #fffdfa;
    --sage: #eef1eb;
    --line: rgba(61, 45, 30, .18);
    --shadow: 0 24px 60px rgba(43, 33, 24, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
}

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

a {
    color: var(--forest);
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 253, 250, .93);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 24px;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.main-nav a {
    text-decoration: none;
    color: var(--forest);
}

.hero {
    min-height: calc(100svh - 111px);
    display: grid;
    align-items: end;
    background-image: linear-gradient(90deg, rgba(26, 32, 28, .84), rgba(38, 61, 52, .52) 48%, rgba(38, 61, 52, .1)), url("../../images/Verpackung_Mandelini_Website_Bild.jpg");
    background-size: cover;
    background-position: center bottom;
    color: #fffdfa;
    padding: clamp(48px, 9vw, 96px) clamp(20px, 5vw, 80px);
}

.hero-content {
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: #f2d58b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: inherit;
    font-weight: 500;
    line-height: 1.08;
}

h1 {
    max-width: 12ch;
    font-size: clamp(48px, 8vw, 96px);
}

h2 {
    font-size: clamp(34px, 5vw, 58px);
}

h3 {
    font-size: 25px;
}

p {
    margin: 0;
}

.hero p {
    max-width: 680px;
    margin-top: 24px;
    font-size: clamp(20px, 2.2vw, 27px);
}

.page-hero {
    padding: clamp(70px, 11vw, 120px) clamp(20px, 5vw, 80px);
    color: #fffdfa;
    background-image: linear-gradient(90deg, rgba(26, 32, 28, .88), rgba(38, 61, 52, .68)), url("../../images/Mandelini_3.png");
    background-position: center;
    background-size: cover;
}

.page-hero h1 {
    max-width: 12ch;
}

.page-hero p:not(.section-kicker) {
    width: min(680px, 100%);
    margin-top: 22px;
    font-size: clamp(20px, 2vw, 26px);
}

.section {
    padding: clamp(64px, 10vw, 110px) clamp(20px, 5vw, 80px);
}

.section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--berry);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.intro-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
}

.lead {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.42;
}

.copy-stack {
    display: grid;
    gap: 20px;
}

.image-frame {
    overflow: hidden;
    border: 1px solid rgba(111, 82, 51, .26);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products {
    background: var(--paper);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.product-card {
    display: grid;
    grid-template-rows: 290px auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.note {
    color: #5f605b;
    font-size: 16px;
}

.shop-notice {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 24px;
    align-items: center;
    margin-top: 34px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(184, 139, 53, .54);
    border-left: 6px solid var(--gold);
    border-radius: 8px;
    color: #fffdfa;
    background: var(--forest);
    box-shadow: 0 18px 42px rgba(38, 61, 52, .2);
}

.shop-notice-label {
    grid-column: 1 / -1;
    color: #f2d58b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.shop-notice p:not(.shop-notice-label) {
    max-width: 760px;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.38;
}

.button-light {
    color: var(--forest);
    background: #fffdfa;
    text-decoration: none;
}

.button-light:hover,
.button-light:focus-visible {
    color: #fffdfa;
    background: var(--berry);
}

.sales {
    background: var(--sage);
}

.sales-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.sales-intro p {
    width: min(500px, 100%);
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sales-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(61, 45, 30, .16);
    border-radius: 8px;
    background: rgba(255, 253, 250, .86);
}

.sales-card h3 {
    margin-bottom: 12px;
    color: var(--forest);
}

.sales-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.single-sale {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(61, 45, 30, .22);
}

.contact {
    background: var(--paper);
}

.legal-section {
    background: var(--paper);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: start;
}

.legal-aside {
    position: sticky;
    top: 132px;
    display: grid;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.legal-aside img {
    width: 63px;
    margin-bottom: 4px;
}

.legal-content {
    display: grid;
    gap: 28px;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin-bottom: 12px;
    color: var(--forest);
    font-size: clamp(25px, 3vw, 34px);
}

.legal-content p + p {
    margin-top: 14px;
}

.legal-block {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-address {
    padding: 24px;
    border-left: 4px solid var(--gold);
    background: var(--sage);
}

.contact-details {
    display: grid;
    gap: 22px;
    align-self: start;
}

.contact-box {
    padding: 26px;
    border-left: 4px solid var(--gold);
    background: #fff;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field-hidden {
    position: absolute;
    left: -9999px;
}

label {
    color: var(--brown-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(61, 45, 30, .28);
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fffdfa;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(184, 139, 53, .28);
    border-color: var(--gold);
}

.button {
    justify-self: start;
    border: 0;
    border-radius: 6px;
    padding: 14px 24px;
    color: #fffdfa;
    background: var(--forest);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    background: var(--berry);
}

.form-message {
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 16px;
}

.form-message-success {
    color: #1f4b2b;
    background: #edf7ed;
}

.form-message-error {
    color: #7b271f;
    background: #fff0ed;
}

.form-message p + p {
    margin-top: 6px;
}

.site-footer {
    display: grid;
    grid-template-columns: 110px repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 42px clamp(20px, 5vw, 80px);
    color: #fffdfa;
    background: var(--forest);
}

.site-footer img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

.site-footer a {
    color: #fffdfa;
}

.footer-title {
    margin-bottom: 8px;
    color: #e4c687;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    body {
        font-size: 17px;
    }

    .site-header {
        position: static;
        align-items: flex-start;
    }

    .brand img {
        width: 70px;
        height: 70px;
    }

    .intro-grid,
    .contact-grid,
    .legal-layout,
    .product-grid,
    .sales-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-rows: 260px auto;
    }

    .sales-intro {
        display: grid;
    }

    .shop-notice {
        grid-template-columns: 1fr;
    }

    .legal-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-header {
        display: grid;
        gap: 14px;
    }

    .main-nav {
        justify-content: flex-start;
        font-size: 13px;
    }

    .hero {
        min-height: 620px;
        padding-top: 64px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
