section {
    margin-bottom: 1rem;
}

/* Getränkebestellung – Styles */
:root {
    --bg: #0b1020;
    --card: #121933;
    --ink: #e8ecff;
    --muted: #b6c0ff;
    --accent: #7aa2ff;
    --line: #243056;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font: 16px/1.45 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, #0b1020, #0b1428);
    color: var(--ink)
}

.wrap {
    max-width: 980px;
    margin: 32px auto;
    padding: 0 16px
}

h1 {
    font-size: clamp(22px, 4vw, 30px);
    margin: 0 0 8px
}

p.lead {
    color: var(--muted);
    margin: 0 0 20px
}

.grid {
    display: grid;
    gap: 16px
}

.two {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

@media (max-width:720px) {
    .two {
        grid-template-columns: 1fr;
    }

    .row {
        display: grid !important;
        grid-template-columns: 40% 40% 1fr !important;
        grid-template-rows: auto auto;
        gap: 8px;
        align-items: start;
    }

    .row>*:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .row>*:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .row>*:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .row>*:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .row>*:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
        align-self: center;
        margin-left: 0;
    }
}

.row {
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
}

.card {
    background: linear-gradient(180deg, #111a37 0%, #0f1731 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

.card h2 {
    font-size: 18px;
    margin: 0 0 12px;
    letter-spacing: .2px
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #0c1430;
    color: var(--ink);
    outline: none
}

textarea {
    min-height: 180px;
    resize: vertical
}

.row {
    display: grid;
    grid-template-columns: 92px 130px 1fr 1fr auto;
    gap: 10px;
    align-items: center
}

.row+.row {
    margin-top: 10px
}

.row .controls {
    display: flex;
    gap: 8px
}

.btn {
    appearance: none;
    border: 1px solid var(--line);
    background: #0e1838;
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: .15s transform, .15s background, .15s border-color
}

.btn:hover {
    background: #122052;
    border-color: #2b3e78
}

.btn:active {
    transform: translateY(1px)
}

.btn.primary {
    background: #1a3cff;
    border-color: #1a3cff
}

.btn.primary:hover {
    background: #2548ff
}

.btn.ghost {
    background: transparent
}

.small {
    font-size: 12px;
    color: var(--muted)
}

.pill {
    font-size: 12px;
    border: 1px dashed var(--line);
    padding: 4px 8px;
    border-radius: 999px;
    display: inline-block;
    color: var(--muted)
}

.footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hr {
    height: 1px;
    background: var(--line);
    margin: 14px 0
}

.right {
    text-align: right
}

.muted {
    color: var(--muted)
}

.order-tooltip {
    position: absolute;
    background: linear-gradient(180deg, #1a2347 0%, #152041 100%);
    border: 1px solid #2b3e78;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.order-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.order-tooltip h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--accent);
}

.order-tooltip .item {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
    color: var(--ink);
}

.order-tooltip .item:last-child {
    margin-bottom: 0;
}

.order-row {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    padding: 8px;
    margin-bottom: 8px;
}

.order-row:hover {
    background: rgba(122, 162, 255, 0.05);
    border-radius: 8px;
}

.order-history-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    background: linear-gradient(180deg, #111a37 0%, #0f1731 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-history-header {
    grid-column: 1 / span 2;
    font-size: 15px;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-history-info {
    grid-column: 1 / span 2;
    color: var(--muted);
    font-size: 13px;
}

.order-history-positions {
    grid-column: 1 / span 2;
    margin: 6px 0 10px 0;
    font-size: 14px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
}

.order-history-actions {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.order-history-actions .btn {
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 8px;
}

@media (max-width: 720px) {
    .order-history-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    .order-history-header,
    .order-history-info,
    .order-history-positions {
        grid-column: 1;
    }

    .order-history-actions {
        grid-column: 1;
        grid-row: 4;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        justify-content: flex-end;
    }

    .order-history-actions .btn {
        width: 100%;
        min-width: 0;
    }
}