/* Keine externen Schriftarten: Systemschriften funktionieren ohne Drittanbieter-Anfragen. */

:root {
    --green: #0d5b32;
    --green-2: #164d2e;
    --lime: #77ad25;
    --cream: #f8f4e9;
    --paper: #fffdf7;
    --orange: #e87522;
    --ink: #173522;
    --muted: #657064;
    --line: #dfe5d7;
    --shadow: 0 20px 50px rgba(22,57,35,.10);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

a {
    color: inherit;
    text-decoration: none
}

button, input, select {
    font: inherit
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 13px max(20px,calc((100% - 1180px)/2));
    background: rgba(248,244,233,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13,91,50,.08)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--green)
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--lime);
    color: white;
    font-size: 20px
}

.brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: .8;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 14px
}

.brand strong {
    font-weight: 800
}

.brand em {
    font-style: normal;
    color: var(--lime);
    font-weight: 800;
    font-size: 11px
}

.nav {
    display: flex;
    gap: 24px;
    font-weight: 700;
    font-size: 14px
}

    .nav a:hover {
        color: var(--lime)
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(13,91,50,.16);
    transition: .2s
}

    .btn:hover {
        transform: translateY(-2px);
        background: var(--green-2)
    }

.btn-small {
    padding: 10px 17px;
    font-size: 13px
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    box-shadow: none
}

    .btn-ghost:hover {
        color: #fff;
        background: var(--green)
    }

.section {
    width: min(1180px,calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0
}

.hero {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
    padding: 60px 0 40px
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 800;
    color: var(--lime);
    font-size: 12px;
    margin-bottom: 10px
}

h1, h2, h3 {
    margin: 0;
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif
}

h1 {
    font-size: clamp(44px,6vw,78px);
    line-height: .98;
    letter-spacing: -.035em;
    max-width: 700px
}

    h1 span {
        color: var(--lime)
    }

h2 {
    font-size: clamp(34px,4vw,52px);
    line-height: 1.05;
    letter-spacing: -.025em
}

h3 {
    font-size: 25px
}

p {
    margin: 14px 0;
    color: var(--muted)
}

.hero-copy > p {
    font-size: 19px;
    max-width: 590px;
    margin: 24px 0
}

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

.hero-facts {
    display: flex;
    gap: 0
}

    .hero-facts div {
        padding: 0 22px;
        border-left: 1px solid var(--line)
    }

        .hero-facts div:first-child {
            padding-left: 0;
            border-left: 0
        }

    .hero-facts strong {
        display: block;
        color: var(--green);
        font-size: 22px
    }

    .hero-facts span {
        font-size: 12px;
        color: var(--muted)
    }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center
}

.paper-card {
    width: min(390px,78%);
    padding: 13px;
    background: white;
    box-shadow: var(--shadow);
    transform: rotate(2.2deg)
}

    .paper-card img {
        display: block;
        width: 100%;
        height: auto
    }

.sticker {
    position: absolute;
    right: 0;
    bottom: 15px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 13px;
    line-height: 1.1;
    transform: rotate(-9deg);
    box-shadow: var(--shadow)
}

    .sticker strong {
        font-size: 18px
    }

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-top: 1px solid var(--line)
}

    .intro p {
        font-size: 18px;
        max-width: 580px;
        margin-top: 0
    }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px
}

    .section-heading > p {
        max-width: 400px;
        margin: 0;
        text-align: right
    }

.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.filter {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--green);
    font-weight: 700;
    cursor: pointer
}

    .filter.active, .filter:hover {
        background: var(--green);
        color: white;
        border-color: var(--green)
    }

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.recipe-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(22,57,35,.04)
}

.recipe-image {
    height: 175px;
    display: grid;
    place-items: center;
    font-size: 65px;
    letter-spacing: -12px
}

.image-1 {
    background: #e7f0c8
}

.image-2 {
    background: #f2dfb5
}

.image-3 {
    background: #d9e9d4
}

.image-4 {
    background: #f3d5b9
}

.recipe-body {
    padding: 20px
}

    .recipe-body p {
        font-size: 14px
    }

.tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: var(--lime)
}

.text-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--green);
    font-weight: 800;
    cursor: pointer;
    margin-top: 8px
}

.box-section {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: center
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px
}

    .check-list li {
        margin: 13px 0;
        padding-left: 28px;
        position: relative
    }

        .check-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--lime);
            font-weight: 900
        }

.box-note {
    background: var(--green);
    color: #fff;
    border-radius: 30px;
    padding: 45px;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow);
    transform: rotate(-1deg)
}

.note-icon {
    font-size: 52px;
    margin-bottom: 15px
}

.box-note strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px
}

.box-note span:not(.note-icon) {
    font-size: 18px;
    margin: 8px 0
}

.box-note small {
    color: #c9ddca
}

.order-section {
    background: rgba(255,253,247,.6);
    border-radius: 38px;
    padding-left: 45px;
    padding-right: 45px
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(290px,.65fr);
    gap: 35px
}

.order-form fieldset {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 20px;
    padding: 24px;
    margin: 0 0 18px
}

legend {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
    padding: 0 8px
}

.option-row {
    margin: 5px 0 15px
}

.choice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    background: #eef5e4;
    cursor: pointer
}

    .choice input, .product-choice input {
        accent-color: var(--green)
    }

    .choice span, .product-choice span {
        display: flex;
        flex-direction: column
    }

    .choice small, .product-choice small, .eggs small, .delivery-card small {
        color: var(--muted);
        font-size: 12px
    }

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

.product-choice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    cursor: pointer
}

    .product-choice span:before {
        content: "";
        font-size: 22px
    }

.combo-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 15px;
    padding-top: 15px
}

    .combo-box div {
        display: flex;
        flex-direction: column
    }

    .combo-box small {
        color: var(--muted)
    }

select, input:not([type=checkbox]):not([type=radio]) {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    padding: 11px 12px;
    outline: none;
    color: var(--ink)
}

    select:focus, input:focus {
        border-color: var(--lime);
        box-shadow: 0 0 0 3px rgba(119,173,37,.12)
    }

.eggs {
    display: grid;
    grid-template-columns: 1.3fr auto auto auto;
    gap: 13px;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 15px;
    padding-top: 15px
}

    .eggs > span {
        display: flex;
        flex-direction: column
    }

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.delivery-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer
}

    .delivery-card input {
        accent-color: var(--green);
        margin-right: 5px
    }

    .delivery-card.selected {
        background: #eef5e4;
        border-color: var(--lime)
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

    .form-grid label {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
        font-weight: 700
    }

    .form-grid .full {
        grid-column: 1/-1
    }

.hidden {
    display: none !important
}

.btn-submit {
    width: 100%;
    font-size: 16px;
    padding: 16px
}

.form-hint {
    font-size: 12px;
    text-align: center
}

.order-summary {
    position: relative
}

.summary-sticky {
    position: sticky;
    top: 85px;
    background: var(--green);
    color: white;
    border-radius: 25px;
    padding: 27px;
    box-shadow: var(--shadow)
}

    .summary-sticky h3 {
        color: white;
        margin-bottom: 20px
    }

.summary-items {
    min-height: 120px
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    font-size: 14px
}

.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.3)
}

    .summary-total strong {
        font-size: 23px
    }

.summary-sticky > small {
    display: block;
    color: #cfe0d2;
    font-size: 11px;
    margin-top: 16px
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

footer {
    background: var(--green);
    color: #dce8dd;
    padding: 24px max(20px,calc((100% - 1180px)/2));
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px
}

dialog {
    border: 0;
    border-radius: 25px;
    padding: 32px;
    max-width: 560px;
    width: calc(100% - 30px);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    color: var(--ink)
}

    dialog::backdrop {
        background: rgba(7,35,19,.55)
    }

.dialog-close {
    position: absolute;
    right: 18px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--muted)
}

.dialog-ingredients {
    background: #f0f5e9;
    padding: 16px;
    border-radius: 14px
}

    .dialog-ingredients li {
        margin: 5px 0
    }

.success-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e5f1d2;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 900
}

@media(max-width:900px) {
    .nav {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 40px
    }

    .hero-visual {
        order: -1
    }

    .paper-card {
        width: 260px
    }

    .sticker {
        right: calc(50% - 150px);
        bottom: 0;
        width: 90px;
        height: 90px
    }

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

    .intro, .box-section, .order-layout {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .order-summary {
        order: -1
    }

    .summary-sticky {
        position: relative;
        top: auto
    }

    .section-heading {
        align-items: start;
        flex-direction: column
    }

        .section-heading > p {
            text-align: left
        }

    .filters {
        justify-content: flex-start
    }
}

@media(max-width:600px) {
    .site-header {
        padding: 11px 15px
    }

        .site-header .btn-small {
            display: none
        }

    .section, .hero {
        width: min(100% - 24px,1180px)
    }

    .hero {
        min-height: auto;
        padding: 35px 0 60px
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-facts {
        justify-content: space-between
    }

        .hero-facts div {
            padding: 0 10px
        }

        .hero-facts strong {
            font-size: 18px
        }

        .hero-facts span {
            font-size: 10px
        }

    h1 {
        font-size: 45px
    }

    .section {
        padding: 60px 0
    }

    .recipe-grid {
        grid-template-columns: 1fr
    }

    .recipe-image {
        height: 145px
    }

    .order-section {
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 24px
    }

    .product-grid, .delivery-options, .form-grid {
        grid-template-columns: 1fr
    }

    .eggs {
        grid-template-columns: 1fr 1fr;
        align-items: start
    }

        .eggs > span {
            grid-column: 1/-1
        }

    .combo-box {
        align-items: stretch;
        flex-direction: column
    }

        .combo-box select {
            width: 100%
        }

    .contact, footer {
        flex-direction: column;
        align-items: flex-start
    }

    .box-note {
        padding: 30px;
        min-height: 250px
    }

    .hero-visual {
        margin-bottom: 20px
    }
}

/* Lieferadresse und vorab berechnete Lieferkosten */
.address-intro { margin: 0 0 12px; color: #536653; line-height: 1.5; }
.address-grid { margin-top: 8px; }
.delivery-quote { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #edf4e8; color: #214f29; line-height: 1.5; }


/* Ergänzungen für Lieferadresse und vorab berechnete Lieferkosten */
.address-intro {
    margin: 0 0 12px;
    color: #536653;
    line-height: 1.5;
}

.address-grid {
    margin-top: 8px;
}

.delivery-quote {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #edf4e8;
    color: #214f29;
    line-height: 1.5;
}

/* Einheitliche, zugängliche Formularfelder */
textarea {
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    padding: 11px 12px;
    color: var(--ink);
    width: 100%;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(119, 173, 37, .12);
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}
