/* Schriften */
@font-face {
    font-family: 'Mukta';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/mukta-v8-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Mukta';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/mukta-v8-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Mukta';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/mukta-v8-latin-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Patua One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/patua-one-v11-latin-regular.woff2') format('woff2');
}

/* Variablen */
:root {
    --color-blue: #282041;
    --color-blue-shadow: #1d1b21;
    --color-red: #e41e0a;
    --color-red-dark: #b31605;
    --color-red-light: #ff7a66;
    --color-white: #fff;
    --color-brown: #342927;
    --color-mail-head: #f3f0ed;
    --color-mail-line: rgba(40, 32, 65, .16);
    --color-footer-line: #ddd2cd;
    --color-dummy: #ffd84d;
    --color-line: rgba(222, 216, 211, .3);
    --color-line-strong: rgba(222, 216, 211, .45);
    --color-field: rgba(211, 216, 225, .1);
    --color-field-hover: rgba(211, 216, 225, .16);
    --color-highlight: rgba(211, 216, 225, .2);
    --color-muted: rgba(40, 32, 65, .7);
    --color-muted-light: rgba(255, 255, 255, .72);
    --font-base: 'Mukta', sans-serif;
    --font-special: 'Patua One', sans-serif;
    --container: 1320px;
    --gutter: 24px;
    --radius: 3px;
    --shadow: 0 13px 46px var(--color-blue-shadow);
    --field-bg: var(--color-field);
    --field-bg-hover: var(--color-field-hover);
    --field-border: var(--color-line-strong);
    --field-text: var(--color-white);
    --field-placeholder: rgba(255, 255, 255, .45);
    --field-focus: var(--color-white);
    --field-focus-ring: rgba(255, 255, 255, .18);
    --text-muted: var(--color-muted-light);
    --error: var(--color-red-light);

    @media (max-width: 759px) {
        --gutter: 16px;
    }
}

/* Basis */
html {
    box-sizing: border-box;
    color-scheme: dark;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}

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

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-white);
    background: var(--color-blue);

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

    @media (max-width: 759px) {
        font-size: 15px;
    }
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

/* Hilfsklassen */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.font-special {
    font-family: var(--font-special);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.label-upper {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.title {
    margin: 0;
    font-family: var(--font-special);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.pretitle {
    margin: 0;
    font-size: 22px;

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

.text-container {
    font-size: 21px;
    line-height: 1.6;

    & p {
        margin: 0;
    }

    & p + p {
        margin-top: .8em;
    }

    @media (max-width: 1024px) {
        font-size: 19px;
    }

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

.color-red {
    color: var(--color-red);
}

.required {
    color: var(--error);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 272px;
    height: 111px;
    padding: 0 40px 0 50px;
    border: 0;
    background: url('../img/button_bg.png') center / 100% 100% no-repeat;
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;

    &::after {
        content: '';
        flex: 0 0 19px;
        height: 15px;
        background: url('../img/pfeil.svg') center / contain no-repeat;
        transition: transform .4s;
    }

    &:hover::after,
    &:focus-visible::after {
        transform: translateX(10px);
    }

    &:focus-visible {
        outline: 3px solid var(--color-white);
        outline-offset: 4px;
    }

    @media (max-width: 759px) {
        width: 236px;
        height: 84px;
        font-size: 14px;
    }
}

.button-submit {
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--color-red);
    transition: background-color .4s, opacity .4s;

    &:hover,
    &:focus-visible {
        background: var(--color-red-dark);
    }

    &:disabled {
        opacity: .6;
        cursor: wait;

        &::after {
            display: none;
        }
    }

    @media (max-width: 759px) {
        width: 100%;
        height: auto;
        min-height: 56px;
    }
}

.button-add {
    width: 100%;
    height: auto;
    min-height: 64px;
    margin-top: 64px;
    padding: 0 24px;
    gap: 12px;
    border: 1px dashed var(--color-line-strong);
    border-radius: var(--radius);
    background: transparent;
    letter-spacing: .18em;
    transition: border-color .4s, background-color .4s;

    &::before {
        content: '+';
        font-size: 30px;
        font-weight: 400;
        color: var(--color-red);
    }

    &::after {
        display: none;
    }

    &:hover {
        border-color: var(--color-white);
        background: var(--color-field);
    }

    @media (max-width: 759px) {
        width: 100%;
        height: auto;
        margin-top: 46px;
    }
}

.button-remove {
    width: auto;
    height: auto;
    padding: 6px 0;
    gap: 6px;
    background: none;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: .14em;
    transition: color .4s;

    &::before {
        content: '×';
        font-size: 22px;
        font-weight: 400;
    }

    &::after {
        display: none;
    }

    &:hover {
        color: var(--error);
    }

    @media (max-width: 759px) {
        width: auto;
        height: auto;
        font-size: 12px;
    }
}

/* Seitenrahmen */
#main {
    overflow-x: clip;
}

/* Raster */
.grid-container-large {
    max-width: 1768px;
    margin-inline: auto;
    padding-inline: 20px;

    @media (min-width: 760px) {
        padding-inline: 24px;
    }
}

.grid-x {
    display: flex;
    flex-flow: row wrap;

    & > .cell {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    @media (min-width: 760px) {
        & > .medium-6 {
            width: 50%;
        }

        & > .medium-12 {
            width: 100%;
        }
    }

    @media (min-width: 1025px) {
        & > .large-3 {
            width: 25%;
        }

        & > .large-4 {
            width: 33.3333%;
        }

        & > .large-6 {
            width: 50%;
        }
    }
}

.flex-container {
    display: flex;
}

.align-justify {
    justify-content: space-between;
}

.align-right {
    justify-content: flex-end;
}

.align-middle {
    align-items: center;
}

.align-bottom {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.list-nostyle {
    margin: 0;
    padding: 0;
    list-style: none;
}

.regular-font {
    font-family: var(--font-base);
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
}

.weight-normal {
    font-weight: 400;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Header */
#head {
    background: var(--color-blue);
    font-size: 18px;
    line-height: normal;

    & a {
        text-decoration: none;
    }

    & img {
        display: inline;
    }

    & > .grid-x {
        width: 100%;
        height: 91px;
        padding-right: 26px;
    }

    & .site-logo {
        width: 17%;
        min-width: 175px;
        max-width: 277px;
        margin-top: 12px;

        & img {
            width: auto;
        }
    }

    & .company-social-links {
        & > a {
            margin-left: 1em;
        }

        & svg {
            width: 58px;
            height: 58px;
        }
    }

    @media (max-width: 1440px) {
        & .company-social-links svg {
            width: 48px;
            height: 48px;
        }
    }

    @media (max-width: 1024px) {
        padding-top: 15px;
        font-size: 17px;

        & > .grid-x {
            height: 65px;
        }

        & .site-logo {
            margin-top: 0;
        }
    }

    @media (max-width: 759px) {
        font-size: 15px;

        & .company-social-links svg {
            width: 40px;
            height: 40px;
        }
    }

    @media (max-width: 380px) {
        & .company-social-links {
            & > a {
                margin-left: 10px;
            }

            & svg {
                width: 34px;
                height: 34px;
            }
        }
    }
}

/* Footer-Menü */
.menu-inline {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Intro */
.intro {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 72vh, 760px);

    & .intro-image {
        position: absolute;
        inset: 0;
        z-index: -1;
        margin: 0;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 50% 55%;
        }

        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(40, 32, 65, .94) 0%, rgba(40, 32, 65, .78) 34%, rgba(40, 32, 65, .1) 66%, rgba(40, 32, 65, 0) 100%),
                linear-gradient(0deg, var(--color-blue) 0%, rgba(40, 32, 65, 0) 28%);
        }
    }

    & .intro-inner {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
        padding-top: 140px;
        padding-bottom: 70px;
    }

    & .intro-content {
        max-width: 640px;
    }

    & .title {
        margin-top: 10px;
        font-size: 62px;
        line-height: 1.15;
        hyphens: manual;
    }

    & .text-container {
        margin-top: 22px;
    }

    & .button {
        margin-top: 26px;
    }

    @media (max-width: 1024px) {
        & .title {
            font-size: 46px;
        }
    }

    @media (max-width: 759px) {
        display: block;
        min-height: 0;

        & .intro-image {
            position: relative;
            aspect-ratio: 4 / 3;

            &::after {
                background: linear-gradient(0deg, var(--color-blue) 0%, rgba(40, 32, 65, 0) 50%);
            }
        }

        & .intro-inner {
            display: block;
            margin-top: -48px;
            padding-top: 0;
            padding-bottom: 40px;
        }

        & .title {
            font-size: 34px;
        }
    }
}

/* Störer */
.stoerer {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 236px;
    height: 236px;
    margin-right: 4%;
    padding: 24px;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    text-align: center;
    box-shadow: var(--shadow);
    transform: rotate(-8deg);

    & .stoerer-small {
        font-size: 16px;
        letter-spacing: .08em;
    }

    & .stoerer-big {
        margin-top: 6px;
        font-size: 27px;
        line-height: 1.05;
    }

    & .stoerer-small + .stoerer-small,
    & .stoerer-big + .stoerer-small {
        margin-top: 6px;
    }

    @media (max-width: 1024px) {
        width: 190px;
        height: 190px;
        margin-right: 0;

        & .stoerer-small {
            font-size: 13px;
        }

        & .stoerer-big {
            font-size: 21px;
        }
    }

    @media (max-width: 759px) {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 140px;
        height: 140px;
        padding: 14px;

        & .stoerer-small {
            font-size: 10px;
        }

        & .stoerer-big {
            margin-top: 3px;
            font-size: 15px;
        }

        & .stoerer-small + .stoerer-small,
        & .stoerer-big + .stoerer-small {
            margin-top: 3px;
        }
    }
}

/* Fakten */
.facts {
    & .facts-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        list-style: none;
        border-top: 1px solid var(--color-line);
        border-bottom: 1px solid var(--color-line);
    }

    & .fact {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 24px;
        transition: opacity .4s;

        &::before {
            content: '';
            position: absolute;
            top: -1px;
            left: 24px;
            width: 60px;
            height: 2px;
            background: var(--color-red);
        }

        & + .fact {
            border-left: 1px solid var(--color-line);
        }

        &.is-unavailable {
            opacity: .45;
        }
    }

    & .fact-label {
        color: var(--color-muted-light);
    }

    & .fact-value {
        font-size: 20px;
    }

    @media (max-width: 1024px) {
        & .facts-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        & .fact:nth-child(3) {
            border-left: 0;
        }

        & .fact:nth-child(n + 3) {
            border-top: 1px solid var(--color-line);
        }
    }

    @media (max-width: 759px) {
        & .facts-list {
            grid-template-columns: minmax(0, 1fr);
        }

        & .fact {
            padding: 18px 0;

            &::before {
                left: 0;
            }

            & + .fact {
                border-left: 0;
                border-top: 1px solid var(--color-line);
            }
        }

        & .fact-value {
            font-size: 18px;
        }
    }
}

/* Bereiche */
.order,
.notice,
.confirmation {
    padding-top: 110px;

    @media (max-width: 759px) {
        padding-top: 70px;
    }
}

/* Bestellzettel */
.order-header {
    & .order-header-title {
        padding-bottom: 40px;
        border-bottom: 1px solid var(--color-line);
    }

    & .title {
        margin-top: 8px;
        font-size: 62px;
    }

    & .text-container {
        max-width: 900px;
        margin-top: 36px;
    }

    @media (max-width: 1024px) {
        & .title {
            font-size: 46px;
        }
    }

    @media (max-width: 759px) {
        & .order-header-title {
            padding-bottom: 24px;
        }

        & .title {
            font-size: 34px;
        }

        & .text-container {
            margin-top: 24px;
        }
    }
}

.order-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 56px;
    align-items: start;
    margin-top: 64px;

    @media (max-width: 1180px) {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 36px;
    }

    @media (max-width: 1024px) {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    @media (max-width: 759px) {
        margin-top: 40px;
    }
}

/* Schritte */
.step {
    & + .step {
        margin-top: 64px;
    }

    & .step-header {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    & .step-number {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--color-red);
        color: var(--color-white);
        font-size: 26px;
        line-height: 1;
    }

    & .title {
        padding-top: 10px;
        font-size: 30px;
    }

    & .text-container {
        margin-top: 6px;
        font-size: 18px;
        color: var(--color-muted-light);
    }

    @media (max-width: 759px) {
        & + .step {
            margin-top: 48px;
        }

        & .step-header {
            gap: 14px;
        }

        & .step-number {
            width: 42px;
            height: 42px;
            font-size: 22px;
        }

        & .title {
            padding-top: 6px;
            font-size: 24px;
        }

        & .text-container {
            font-size: 16px;
        }
    }
}

/* Formularfelder */
.fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--color-line);

    & .field-full {
        grid-column: 1 / -1;
    }

    @media (max-width: 759px) {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

.field-offscreen {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;

    & .field-label {
        display: block;
        padding: 0;
    }

    & .field-hint {
        margin: 6px 0 0;
        font-size: 14px;
        line-height: 1.4;
        color: var(--text-muted);
    }

    & .field-error {
        margin: 6px 0 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        color: var(--error);

        &:empty {
            display: none;
        }
    }

    &.is-invalid {
        & input:not([type="checkbox"], [type="radio"]),
        & select,
        & .choice span {
            border-color: var(--error);
            box-shadow: 0 0 0 1px var(--error);
        }
    }
}

input:not([type="checkbox"], [type="radio"]),
select {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    padding: 0 16px;
    border: 1px solid var(--field-border);
    border-radius: var(--radius);
    background: var(--field-bg);
    color: var(--field-text);
    font-size: 17px;
    transition: border-color .4s, background-color .4s, box-shadow .4s;

    &:hover {
        background: var(--field-bg-hover);
    }

    &:focus {
        outline: none;
        border-color: var(--field-focus);
        box-shadow: 0 0 0 3px var(--field-focus-ring);
    }

    &::placeholder {
        color: var(--field-placeholder);
    }
}

select option,
select optgroup {
    background: var(--color-white);
    color: var(--color-blue);
}

.select {
    position: relative;
    margin-top: 8px;

    & select {
        margin-top: 0;
        padding-right: 44px;
        appearance: none;
        cursor: pointer;
        text-overflow: ellipsis;

        &:disabled {
            opacity: .5;
            cursor: not-allowed;
        }
    }

    &::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 18px;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--field-text);
        border-bottom: 2px solid var(--field-text);
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none;
    }
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.choice {
    position: relative;
    cursor: pointer;

    & input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    & span {
        display: inline-flex;
        align-items: center;
        min-height: 52px;
        padding: 0 20px;
        border: 1px solid var(--field-border);
        border-radius: var(--radius);
        background: var(--field-bg);
        color: var(--field-text);
        font-size: 17px;
        transition: background-color .4s, border-color .4s, color .4s;
    }

    &:hover span {
        border-color: var(--field-focus);
    }

    & input:checked + span {
        border-color: var(--color-red);
        background: var(--color-red);
        color: var(--color-white);
    }

    & input:focus-visible + span {
        box-shadow: 0 0 0 3px var(--field-focus-ring);
    }
}

.checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    line-height: 1.4;
    cursor: pointer;

    & input {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        margin: 0;
        accent-color: var(--color-red);
    }
}

/* Öffnungszeiten */
.branch-hours {
    max-width: 440px;
    margin-top: 12px;
    padding: 16px 18px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius);
    background: var(--color-highlight);
    font-size: 15px;
    line-height: 1.4;

    & .branch-hours-title {
        margin: 0;
    }

    & .branch-hours-list {
        margin: 4px 0 0;
        padding: 0;
        list-style: none;
    }

    & .branch-hours-item {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-top: 6px;
    }

    & .branch-hours-day {
        color: var(--text-muted);
    }
}

/* Positionen */
.positions {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 68px;

    @media (max-width: 759px) {
        gap: 64px;
        margin-top: 52px;
    }
}

.position {
    --field-bg: var(--color-white);
    --field-bg-hover: var(--color-white);
    --field-border: rgba(52, 41, 39, .3);
    --field-text: var(--color-brown);
    --field-placeholder: rgba(52, 41, 39, .45);
    --field-focus: var(--color-brown);
    --field-focus-ring: rgba(52, 41, 39, .15);
    --text-muted: rgba(52, 41, 39, .72);
    --error: var(--color-red-dark);
    position: relative;
    padding: 24px 28px 28px;
    background: url('../img/bg-papier-m.jpg') center top / auto 100% repeat-x;
    color: var(--color-brown);
    color-scheme: light;

    &::before,
    &::after {
        content: '';
        position: absolute;
        right: 0;
        left: 0;
        height: 40px;
        background-position: center;
        background-repeat: repeat-x;
        background-size: auto 100%;
        pointer-events: none;
    }

    &::before {
        bottom: calc(100% - 1px);
        background-image: url('../img/bg-papier-t.png');
    }

    &::after {
        top: calc(100% - 1px);
        background-image: url('../img/bg-papier-b.png');
    }

    & .position-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    & .position-title {
        margin: 0;
        font-size: 1.22em;

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

    & .position-ware {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 14px 24px;
        margin-top: 33px;

        & select {
            font-weight: 600;
        }
    }

    & .position-info {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 14px;
        margin: 12px 0 0;
        font-size: 16px;
        line-height: 1.4;
        color: var(--text-muted);

        & .info-badges {
            display: flex;
            flex: 0 0 100%;
            flex-wrap: wrap;
            gap: 6px 10px;
        }
    }

    & .position-details {
        min-width: 0;
        margin: 22px 0 0;
        padding: 0;
        border: 0;
    }

    & .position-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 22px 24px;

        & > .field-full {
            grid-column: 1 / -1;
        }
    }

    & .position-estimate {
        margin: 22px 0 0;
        padding-top: 14px;
        border-top: 1px dashed var(--field-border);
        font-size: 17px;
        font-weight: 700;
        text-align: right;
    }

    &.is-unavailable .position-ware select {
        color: var(--text-muted);
    }

    @media (max-width: 759px) {
        margin-inline: calc(var(--gutter) * -1);
        padding: 14px var(--gutter) 18px;

        &::before,
        &::after {
            height: 26px;
        }

        & .position-ware {
            grid-template-columns: minmax(0, 1fr);
            margin-top: 10px;
        }

        & .position-fields {
            grid-template-columns: minmax(0, 1fr);
            gap: 20px;
        }
    }
}

.menge {
    display: flex;
    gap: 8px;
    margin-top: 8px;

    & input:not([type="checkbox"], [type="radio"]) {
        flex: 0 0 120px;
        margin-top: 0;
    }

    & .select {
        flex: 1 1 auto;
        max-width: 150px;
        margin-top: 0;
    }

    & .menge-einheit {
        align-self: center;
        font-size: 16px;
        font-weight: 600;
    }
}

.field-vacuum {
    padding-top: 28px;

    & .field-hint {
        padding-left: 34px;
    }

    @media (max-width: 759px) {
        padding-top: 0;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border-radius: 13px;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;

    &.badge-red {
        background: var(--color-red);
    }

    &.badge-muted {
        background: rgba(52, 41, 39, .14);
        color: var(--text-muted);
    }
}

/* Preise */
.position-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 210px;
    text-align: center;

    & .price-pending {
        margin-top: 27px;
    }

    @media (max-width: 759px) {
        align-items: flex-start;
        min-width: 0;
        text-align: left;

        & .price-pending {
            margin-top: 0;
        }
    }
}

.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 210px;
    height: 80px;
    padding: 0 30px;
    background: url('../img/button_bg.png') center / contain no-repeat;
    color: var(--color-white);
    white-space: nowrap;

    & .price-value {
        font-size: 22px;
        font-weight: 700;
    }

    & .price-unit {
        padding-top: 2px;
        font-size: 13px;
        font-weight: 700;
    }

    @media (max-width: 759px) {
        min-width: 170px;
        height: 64px;

        & .price-value {
            font-size: 19px;
        }
    }
}

.price-sub {
    font-size: 14px;
    color: var(--text-muted);
}

.price-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px dashed var(--field-border);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);

    @media (max-width: 759px) {
        min-width: 0;
    }
}

/* Zusammenfassung */
.summary {
    position: sticky;
    top: 24px;

    @media (max-width: 1024px) {
        position: static;
    }
}

.summary-box {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--color-highlight);
    box-shadow: var(--shadow);

    & .title {
        font-size: 24px;
    }

    & .summary-list {
        max-height: 42vh;
        margin: 16px 0 0;
        padding: 0;
        overflow: auto;
        list-style: none;
    }

    & .summary-item {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px solid var(--color-line);
        font-size: 16px;
        line-height: 1.35;
    }

    & .summary-item-price {
        flex: 0 0 auto;
        font-weight: 700;
        white-space: nowrap;
    }

    & .summary-empty {
        margin: 16px 0 0;
        color: var(--color-muted-light);
    }

    & .summary-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 18px;
    }

    & .summary-total-value {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 170px;
        height: 64px;
        padding: 0 24px;
        background: url('../img/button_bg.png') center / 100% 100% no-repeat;
        font-size: 20px;
        white-space: nowrap;
    }

    & .summary-note,
    & .summary-pickup {
        margin: 10px 0 0;
        font-size: 14px;
        line-height: 1.45;
        color: var(--color-muted-light);
    }

    & .summary-pickup {
        padding-top: 12px;
        border-top: 1px solid var(--color-line);
        color: var(--color-white);
    }

    & .field-privacy {
        margin-top: 22px;
    }

    & .checkbox {
        font-size: 14px;
    }

    & .form-error {
        margin: 14px 0 0;
        font-size: 15px;
        font-weight: 700;
        color: var(--color-red-light);
    }

    & .button {
        margin-top: 18px;
    }

    @media (max-width: 759px) {
        padding: 22px 16px;
    }
}

/* Hinweisseiten */
.notice {
    text-align: center;

    &:focus {
        outline: none;
    }

    & .title {
        margin-top: 6px;
        font-size: 56px;
    }

    & .text-container {
        max-width: 720px;
        margin: 18px auto 0;
    }

    & .notice-test {
        display: inline-block;
        margin-top: 8px;
        padding: 10px 16px;
        background: var(--color-dummy);
        color: var(--color-blue);
        font-size: 16px;
        font-weight: 600;
    }

    & .button {
        margin-top: 36px;
    }

    @media (max-width: 759px) {
        & .title {
            font-size: 34px;
        }
    }
}

/* Bestätigung */
.confirmation {
    &:focus {
        outline: none;
    }

    & .confirmation-head {
        max-width: 760px;
        margin-inline: auto;
        text-align: center;

        & .title {
            margin-top: 6px;
            font-size: 44px;
        }

        & .text-container {
            margin-top: 18px;
            font-size: 19px;
        }
    }

    & .order-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 340px;
        height: 116px;
        margin: 16px 0 0;
        padding: 0 50px;
        background: url('../img/button_bg.png') center / 100% 100% no-repeat;
        font-size: 42px;
        letter-spacing: .06em;
    }

    & .confirmation-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 24px;
        margin-top: 48px;
    }

    & .confirmation-box {
        padding: 24px;
        border-radius: var(--radius);
        background: var(--color-highlight);
        box-shadow: var(--shadow);

        & .title {
            font-size: 22px;
        }
    }

    & .confirmation-pickup {
        margin: 12px 0 0;
        white-space: pre-line;
    }

    & .confirmation-list {
        margin: 12px 0 0;
        padding-left: 22px;

        & li + li {
            margin-top: 10px;
        }
    }

    & .confirmation-detail {
        display: block;
        font-size: 15px;
        color: var(--color-muted-light);
    }

    & .confirmation-total {
        margin: 16px 0 0;
        padding-top: 14px;
        border-top: 1px dashed var(--color-line-strong);
        font-weight: 700;
    }

    @media (max-width: 1024px) {
        & .confirmation-grid {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    @media (max-width: 759px) {
        & .confirmation-head .title {
            font-size: 30px;
        }

        & .order-number {
            min-width: 260px;
            height: 90px;
            font-size: 32px;
        }
    }
}

/* Footer */
#footer {
    position: relative;
    margin-top: 12rem;
    background: var(--color-white);
    color: var(--color-blue);
    font-size: 18px;
    line-height: normal;

    &::before {
        content: '';
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        display: block;
        height: 70px;
        background: url('../img/bg-footer-papier-t.png') center top / auto 100% repeat-x;
    }

    & a {
        text-decoration: none;
    }

    & img {
        display: inline;
    }

    & .since-1842-footer {
        padding: 2em 0;

        & svg {
            width: 80%;
            max-width: 683px;
            height: auto;
        }
    }

    & .footer-modules {
        border-top: 1px solid var(--color-footer-line);
        border-bottom: 1px solid var(--color-footer-line);
    }

    & .module-box {
        position: relative;
        margin: 4em 0;

        & > .title {
            margin-bottom: .5em;
            font-size: 1.39em;
        }

        & .content {
            font-size: 20px;
        }
    }

    & .heading {
        margin: 0;
    }

    & .custom-menu-item .heading {
        margin-bottom: .5em;
        font-size: 20px;
    }

    & .module-branch-footer {
        max-width: 820px;
        margin-left: auto;
        padding-left: 20px;

        & .branch-shortlist-item {
            padding-right: 10px;
        }

        & .heading {
            font-size: 20px;
        }
    }

    & .bottom-line {
        padding-top: 50px;
    }

    & .footer-logo {
        width: 30%;
        min-width: 206px;
        max-width: 321px;
    }

    & #footer-menu {
        & .menu {
            margin-top: 20px;
        }

        & .menu li {
            margin-left: 25px;
        }

        & .menu a {
            font-size: 20px;
        }
    }

    & .route {
        display: flex;
        flex-flow: row;
        align-items: center;
        justify-content: flex-end;
        font-size: .94em;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;

        & svg {
            margin-right: 10px;
        }
    }

    @media (max-width: 1440px) {
        & .module-branch-footer .branch-shortlist-item {
            width: 50%;
        }
    }

    @media (max-width: 1024px) {
        font-size: 17px;

        & .since-1842-footer {
            padding-top: 1em;
        }

        & .module-box {
            margin: 1em 0;

            &:first-child,
            &:nth-child(2) {
                margin-top: 2em;
            }

            & .content {
                font-size: 18px;
            }
        }

        & .module-branch-footer {
            margin-left: 0;
            padding-left: 0;

            & .heading {
                font-size: 18px;
            }
        }

        & #footer-menu {
            & .menu li {
                margin: 0 0 0 25px;
            }

            & .menu a {
                font-size: 18px;
            }
        }
    }

    @media (max-width: 759px) {
        margin-top: 8em;
        padding-bottom: 5em;
        font-size: 15px;

        & .since-1842-footer {
            padding-top: 0;
        }

        & .module-box {
            & > .title {
                font-size: 17px;
            }

            & .content {
                font-size: 15px;
            }
        }

        & .custom-menu-item .heading,
        & .module-branch-footer .heading {
            font-size: 15px;
        }

        & .bottom-line {
            padding-top: 1.5em;
        }

        & .footer-logo {
            order: 1;
        }

        & #footer-menu {
            order: -1;
            width: 100%;
            margin-bottom: 1.6em;

            & .menu li {
                margin: 0 25px 0 0;
            }

            & .menu a {
                font-size: 15px;
            }
        }

        & .route {
            justify-content: flex-start;
        }
    }

    @media (max-width: 480px) {
        & .module-branch-footer .branch-shortlist-item {
            width: 100%;
        }
    }
}

#zwetschke-herz {
    padding: 12px;
    font-size: .6em;
    color: rgba(0, 0, 0, .3);

    & a:hover {
        text-decoration: underline;
    }
}
