@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:opsz,wght@9..144,700;9..144,800&display=swap');
/*hier ist er auch nicht*/
:root {
    --ink: #241916;
    --tomato: #dc4329;
    --cream: #fff8ed;
    --line: #eedbc6;
    --mustard: #f5bd48;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
}
main {
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 74px 0 44px;
}
.ueberschrift {
    margin-bottom: 36px;
}
h1,
h2 {
    font-family: Fraunces, Georgia, serif;
    margin: 0;
    line-height: 1;
}
h1 {
    font-size: clamp(3.2rem, 12vw, 5.5rem);
    letter-spacing: -.065em;
}
h1 span {
    font-family: system-ui;
    font-size: .64em;
    letter-spacing: 0;
}

.intro {
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 480px;
    margin: 19px 0 0;
    color: #67514a;
}

.card {
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 35px #a8693815;
    padding: 28px;
}

h2 {
    font-size: 1.85rem;
    letter-spacing: -.04em;
}

form {
    display: grid;
    gap: 9px;
    margin-top: 23px;
}

label {
    font-size: .84rem;
    font-weight: 700;
    margin-top: 5px;
}

input, select {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    border: 1px solid #d9c5ae;
    background: #fff;
    border-radius: 9px;
    outline: none;
}

input:focus, select:focus {
    border-color: var(--tomato);
    box-shadow: 0 0 0 3px #dc432924;
}

button {
    border: 0;
    border-radius: 9px;
    padding: 14px 16px;
    margin-top: 12px;
    color: white;
    background: var(--tomato);
    font: 700 1rem inherit;
    cursor: pointer;
    transition: transform .15s, background .15s;
}

button:hover {
    background: #bc351f;
    transform: translateY(-1px);
}

button:disabled {
    opacity: .6;
    cursor: wait;
}

.status {
    min-height: 1.3em;
    color: #8b3a28;
    font-size: .9rem;
    margin: 2px 0 0;
}

.orders {
    margin-top: 46px;
}

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

.order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.count {
    background: #ffe6a9;
    padding: 7px 10px;
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.clear {
    margin: 0;
    padding: 7px 10px;
    color: #9a3c2a;
    background: transparent;
    border: 1px solid #d8b6a7;
    border-radius: 99px;
    font-size: .78rem;
}

.clear:hover {
    background: #f9e4dc;
    transform: none;
}

.empty {
    border: 1px dashed #cfbca7;
    color: #876f65;
    padding: 25px;
    border-radius: 13px;
    text-align: center;
}

.total {
    margin: 16px 0 0;
    text-align: right;
    font-size: 1.05rem;
}

.summary {
    margin-top: 34px;
    padding: 25px 28px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.summary-list {
    display: grid;
    gap: 0;
    margin-top: 19px;
}

.summary-row {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0e4d5;
    font-size: .92rem;
}

.summary-row > span:first-child {
    color: #a3412c;
    font-weight: 700;
}

.summary-row > span:nth-child(3) {
    color: #7a6259;
    font-size: .82rem;
}

.summary-row b { white-space: nowrap; }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 5px 15px #a869380a;
}

.pizza-icon {
    font-size: 1.55rem;
}

li div {
    display: grid;
    gap: 3px;
    flex: 1;
}

li span:not(.pizza-icon) {
    color: #7a6259;
    font-size: .9rem;
}

.remove {
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f9e4dc;
    color: #a33b29;
    font-size: 1.4rem;
    line-height: 1;
}

.remove:hover {
    background: #f2c7b9;
    transform: none;
}

footer {
    text-align: center;
    padding: 0 20px 30px;
    font-size: .8rem;
    color: #8f776d;
}

@media (max-width:480px) {
    main {
        width: min(100% - 28px, 680px);
        padding-top: 48px;
    }

    .card {
        padding: 21px;
    }

    .summary { padding: 21px; }

    .summary-row {
        grid-template-columns: 35px 1fr auto;
        gap: 8px;
    }

    .summary-row > span:nth-child(3) { display: none; }
}
