:root {
    --blue: #103b73;
    --red: #d9282f;
    --yellow: #f6c745;
    --cream: #fff8eb;
    --ink: #18202a;
    --muted: #667085;
    --white: #ffffff;
    --border: #e7dfd2;

    --max-width: 1180px;
    --radius: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin-inline: auto;
}

.narrow {
    max-width: 760px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--white);
    color: var(--ink);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 248, 235, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 132px;
}

.primary-nav {
    display: none;
    gap: 28px;
    font-weight: 700;
}

.primary-nav a {
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero {
    padding: 48px 0 64px;
}

.hero-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.6rem, 10vw, 5.5rem);
    letter-spacing: -0.055em;
}

h2 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 7vw, 3.8rem);
    letter-spacing: -0.04em;
}

h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.hero-text,
.section-intro {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.button-primary {
    background: var(--blue);
    color: var(--white);
}

.button-secondary {
    border-color: var(--blue);
    color: var(--blue);
}

.button:focus-visible,
a:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: 4px;
}

.hero-visual {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.section {
    padding: 72px 0;
}

.section-accent {
    background: var(--blue);
    color: var(--white);
}

.section-accent .eyebrow {
    color: var(--yellow);
}

.product-grid {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}

.product-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.site-footer {
    padding: 36px 0;
    background: var(--ink);
    color: var(--white);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (min-width: 760px) {
    .primary-nav {
        display: flex;
    }

    .hero {
        padding: 80px 0 96px;
    }

    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


/* =========================================================
   Nancy's V0.3
   ========================================================= */

.hero-placeholder {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 40px;
    border-radius: var(--radius);
    background:
        linear-gradient(
            145deg,
            #f6c745 0%,
            #fff2c3 100%
        );
    text-align: center;
}

.hero-placeholder img {
    width: min(260px, 80%);
    height: auto;
}

.hero-placeholder p {
    margin: 0;
    font-weight: 700;
    color: var(--blue);
}


.order-facts {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.facts-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(150px, 1fr)
        );
    gap: 20px;
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fact-label {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


.product-card {
    overflow: hidden;
    padding: 0;
}

.product-image {
    background: #f4eee4;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-image-placeholder {
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            #fff3d2,
            #f7e3a5
        );
    color: var(--blue);
    font-weight: 800;
    text-align: center;
}

.product-content {
    padding: 28px;
}

.product-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-heading h3 {
    margin-bottom: 0;
}

.product-price {
    margin: 0;
    flex-shrink: 0;
    color: var(--blue);
    font-size: 1.15rem;
    font-weight: 900;
}

.product-description {
    margin-top: 18px;
    color: var(--muted);
}

.availability {
    margin: 18px 0 0;
    font-weight: 800;
}

.availability-off {
    color: #8a2e2e;
}

.product-details {
    margin-top: 22px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.product-details summary {
    cursor: pointer;
    font-weight: 800;
}

.product-details-content {
    display: grid;
    gap: 18px;
    padding-top: 18px;
}

.product-details-content p {
    margin: 6px 0 0;
}

.product-order-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue);
    font-weight: 800;
    text-underline-offset: 4px;
}


.order-layout {
    display: grid;
    gap: 40px;
}

.order-intro {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.delivery-info {
    margin-top: 28px;
    padding: 20px;
    border:
        1px solid
        rgba(255, 255, 255, 0.22);
    border-radius: 18px;
}

.delivery-info p {
    margin-bottom: 0;
}


.order-form {
    display: grid;
    gap: 18px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
}

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

.form-field label {
    font-weight: 800;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid #cfc7bb;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.form-field input:focus-visible,
.form-field select:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: 2px;
}

.optional {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.button-whatsapp {
    width: 100%;
    border: 0;
    background: #167c45;
    color: var(--white);
    cursor: pointer;
    font: inherit;
}

.button-whatsapp:hover {
    filter: brightness(0.94);
}

.order-unavailable {
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: #fff3cd;
    color: #624b00;
    font-weight: 700;
}

.form-error {
    margin: 0;
    color: #a21b1b;
    font-weight: 800;
}


.social-section {
    border-top: 1px solid var(--border);
}

.instagram-link {
    display: inline-block;
    color: var(--blue);
    font-size: 1.3rem;
    font-weight: 900;
    text-underline-offset: 5px;
}


@media (min-width: 900px) {

    .order-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(380px, 0.8fr);
        align-items: start;
    }

}


/* =========================================================
   Nancy's V0.5 – Produktdetailseite
   ========================================================= */

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--blue);
    font-weight: 800;
    text-underline-offset: 4px;
}

.single-product {
    display: grid;
    gap: 42px;
}

.single-product-image {
    overflow: hidden;
    border-radius: var(--radius);
    background: #f4eee4;
}

.single-product-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.single-product-content h1 {
    margin-bottom: 20px;
}

.single-product-price {
    margin: 0 0 24px;
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 900;
}

.product-coming-soon {
    display: inline-block;
    margin: 20px 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: #f1ece4;
    color: var(--muted);
    font-weight: 800;
}

.single-product-details {
    display: grid;
    gap: 0;
    margin-top: 42px;
    border-top: 1px solid var(--border);
}

.single-product-details section {
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.single-product-details h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.single-product-details p {
    margin: 0;
}


@media (min-width: 900px) {

    .single-product {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
        align-items: start;
    }

    .single-product-image {
        position: sticky;
        top: 110px;
    }

}


/* Nancy's Mengen-Dropdown */

#custom-quantity-field[hidden] {
    display: none;
}

#custom-quantity-field {
    padding: 18px;
    border-radius: 16px;
    background: #fff8eb;
    border: 1px solid var(--border);
}


/* Nancy's Bestellvorschau */

.order-preview {
    margin-top: 8px;
    padding: 18px;
    border: 1px solid #d9d1c5;
    border-radius: 16px;
    background: #f8f5ef;
}

.order-preview strong {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
}

.order-preview pre {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
}

.whatsapp-help {
    display: block;
    margin-top: -6px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}


/* =========================================================
   NANCYS DELIVERY ENGINE V0.7.0
   ========================================================= */

.nancys-delivery-panel {
    display: grid;
    gap: 16px;
}

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

.nancys-form-field label {
    font-weight: 700;
}

.nancys-form-field select {
    width: 100%;
}

.delivery-minimum-hint {
    margin-top: 4px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.route-suggestions {
    padding: 16px;
    border: 1px solid rgba(16, 59, 115, 0.18);
    border-radius: 16px;
    background: rgba(246, 199, 69, 0.14);
}

.route-suggestions strong {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
}

.route-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.route-date-button {
    appearance: none;
    padding: 9px 12px;
    border: 1px solid rgba(16, 59, 115, 0.24);
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.route-date-button:hover,
.route-date-button:focus-visible {
    border-color: var(--blue);
}

.order-price-summary {
    display: grid;
    gap: 5px;
    margin-top: 8px;
    padding: 16px;
    border-radius: 16px;
    background: #f8f5ef;
}

.order-price-summary span,
.order-price-summary strong {
    display: block;
}

.order-price-summary .order-total {
    margin-top: 5px;
    color: var(--blue);
    font-size: 1.1rem;
}

.order-price-summary .delivery-warning {
    margin-top: 6px;
    font-weight: 700;
    color: var(--red);
}



/* =========================================================
   NANCYS DELIVERY UX V0.7.1
   ========================================================= */

/*
 * Wichtig:
 * Das HTML-hidden-Attribut darf nicht von unseren
 * display:grid-Regeln überschrieben werden.
 */

.nancys-delivery-panel [hidden],
.nancys-form-field[hidden],
.nancys-address-fields[hidden],
.route-suggestions[hidden] {
    display: none !important;
}


.nancys-address-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 120px;
    gap: 12px;
}


.nancys-address-fields input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #d9d1c5;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}


.nancys-address-fields input:focus {
    outline: 3px solid rgba(246, 199, 69, 0.9);
    outline-offset: 2px;
}


@media (max-width: 760px) {

    .nancys-address-fields {
        grid-template-columns: 1fr 1fr;
    }

    .nancys-address-fields
    .nancys-form-field:first-child {
        grid-column: 1 / -1;
    }
}


@media (max-width: 480px) {

    .nancys-address-fields {
        grid-template-columns: 1fr;
    }

    .nancys-address-fields
    .nancys-form-field:first-child {
        grid-column: auto;
    }
}


/* =========================================================
   NANCYS CHECKOUT TYPOGRAPHY V0.7.3
   ========================================================= */

/*
|--------------------------------------------------------------------------
| Grundtypografie Formular
|--------------------------------------------------------------------------
*/

#nancys-order-form {
    font-size: 16px;
    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| Feldbeschriftungen
|--------------------------------------------------------------------------
*/

#nancys-order-form label,
#nancys-order-form .nancys-form-field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}


/*
|--------------------------------------------------------------------------
| Alle Formularelemente identisch
|--------------------------------------------------------------------------
*/

#nancys-order-form select,
#nancys-order-form input[type="text"],
#nancys-order-form input[type="number"],
#nancys-order-form input[type="date"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 14px 18px;

    border: 1px solid #d9d1c5;
    border-radius: 16px;

    background-color: #fff;
    color: var(--ink);

    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}


/*
|--------------------------------------------------------------------------
| Dropdowns
|--------------------------------------------------------------------------
*/

#nancys-order-form select {
    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| Fokus
|--------------------------------------------------------------------------
*/

#nancys-order-form select:focus,
#nancys-order-form input:focus {
    border-color: #e8b400;
    outline: 3px solid rgba(246, 199, 69, 0.7);
    outline-offset: 1px;
}


/*
|--------------------------------------------------------------------------
| Abstände
|--------------------------------------------------------------------------
*/

#nancys-order-form .form-field,
#nancys-order-form .nancys-form-field {
    margin-bottom: 22px;
}

#nancys-order-form .nancys-delivery-panel {
    gap: 0;
}


/*
|--------------------------------------------------------------------------
| Adressfelder
|--------------------------------------------------------------------------
*/

#nancys-order-form .nancys-address-fields {
    margin-top: 0;
    margin-bottom: 4px;
}

#nancys-order-form .nancys-address-fields
.nancys-form-field {
    margin-bottom: 22px;
}


/*
|--------------------------------------------------------------------------
| Hilfetexte
|--------------------------------------------------------------------------
*/

#nancys-order-form .delivery-minimum-hint,
#nancys-order-form .whatsapp-help {
    margin-top: -10px;
    margin-bottom: 20px;

    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}


/*
|--------------------------------------------------------------------------
| Button
|--------------------------------------------------------------------------
*/

#nancys-order-form .button-whatsapp {
    min-height: 62px;
    padding: 15px 22px;

    border-radius: 999px;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}


/*
|--------------------------------------------------------------------------
| Preisübersicht
|--------------------------------------------------------------------------
*/

#nancys-order-form .order-price-summary {
    padding: 20px;
    gap: 7px;

    font-size: 16px;
    line-height: 1.45;
}

#nancys-order-form .order-price-summary > strong:first-child {
    font-size: 18px;
    font-weight: 700;
}

#nancys-order-form .order-price-summary .order-total {
    margin-top: 7px;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

#nancys-order-form .order-price-summary .delivery-warning {
    margin-top: 8px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| Bestellvorschau
|--------------------------------------------------------------------------
*/

#nancys-order-form .order-preview {
    padding: 20px;

    font-size: 16px;
    line-height: 1.55;
}

#nancys-order-form .order-preview > strong {
    margin-bottom: 14px;

    font-size: 18px;
    font-weight: 800;
}

#nancys-order-form .order-preview pre {
    font-size: 16px;
    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    #nancys-order-form label,
    #nancys-order-form .nancys-form-field > label {
        font-size: 16px;
    }

    #nancys-order-form select,
    #nancys-order-form input[type="text"],
    #nancys-order-form input[type="number"],
    #nancys-order-form input[type="date"] {
        min-height: 58px;
        padding: 13px 16px;
        font-size: 17px;
    }

    #nancys-order-form .button-whatsapp {
        min-height: 58px;
        font-size: 16px;
    }
}
