* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #250C06;
    background-color: #fff3ed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;

    background: linear-gradient(
        to bottom,
        rgba(37, 12, 6, 1) 0%,
        rgba(37, 12, 6, 1) 25%,
        rgba(37, 12, 6, 0.85) 50%,
        rgba(37, 12, 6, 0.45) 78%,
        rgba(37, 12, 6, 0) 100%
    );

    color: white;
    padding: 20px 0 140px;
}

.admin-header {
    position: relative;
    padding: 20px 0 90px;
    background: linear-gradient(
        to bottom,
        rgba(37, 12, 6, 1) 0%,
        rgba(37, 12, 6, 1) 45%,
        rgba(37, 12, 6, 0.92) 72%,
        rgba(37, 12, 6, 0.75) 100%
    );
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.logo {
    width: 240px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav a:hover {
    text-decoration: underline;
}

/* Mobile Navigation */

.menu-checkbox {
    display: none;
}

.menu-button {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 620px;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.24),
            rgba(0, 0, 0, 0.50)
        ),
        url("bilder/pexels-readymade-3851002.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 205px 0 115px;
    text-align: center;
}

.hero h1 {
    font-family: "Bebas Neue", "Montserrat", Arial, sans-serif;
    font-size: clamp(52px, 7vw, 92px);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero p {
    font-size: 21px;
    margin: 0 auto 28px;
    max-width: 680px;
    font-weight: 500;
}

.opening-box {
    display: inline-block;
    background: rgba(37, 12, 6, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 14px;
    padding: 16px 26px;
    margin-bottom: 30px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.opening-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.opening-box span {
    display: block;
    font-size: 18px;
}

/* Admin Hero */

.admin-main {
    margin-top: -35px;
}

.admin-hero {
    background:
        linear-gradient(
            to bottom,
            rgba(37, 12, 6, 0.88),
            rgba(37, 12, 6, 0.72)
        ),
        url("bilder/pexels-readymade-3851002.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 90px 0 70px;
}

.admin-hero h1 {
    font-family: "Bebas Neue", "Montserrat", Arial, sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 10px;
}

.admin-hero p {
    font-size: 19px;
}

/* Buttons */

.button {
    display: inline-block;
    background-color: white;
    color: #250C06;
    padding: 13px 26px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    transition: 0.25s ease;
}

.button:hover {
    background-color: #eaeaea;
    transform: translateY(-1px);
}

.form-submit-button {
    margin-top: 24px;
    background-color: #250C06;
    color: white;
    width: auto;
}

.form-submit-button:hover {
    background-color: #4a2115;
}

.secondary-button {
    background-color: #E2B387;
    color: #250C06;
}

.secondary-button:hover {
    background-color: #d09b69;
}

/* Inhalt */

.content {
    padding: 60px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: center;
}

.card {
    padding: 25px;
}

.logo-card {
    text-align: center;
}

.text-card {
    background: rgba(255, 250, 247, 0.68);
    border-radius: 18px;
}

.card h2,
.Bestellung h2,
.content h2 {
    color: #250C06;
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1.15;
}

.card h3,
.Bestellung h3 {
    color: #250C06;
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 24px;
}

.card p {
    margin-bottom: 15px;
}

.portrait {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Scroll-Bild zwischen Text und Formular */

.bread-divider {
    width: 100%;
    min-height: 380px;
    margin: 30px 0 10px;
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 243, 237, 0.08),
            rgba(37, 12, 6, 0.12),
            rgba(255, 243, 237, 0.08)
        ),
        url("bilder/pexels-mariana-kurnyk-844465-1775043.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Formular / Karten */

.Bestellung {
    max-width: 1050px;
    margin: 45px auto 0;
    padding: 34px;
    background-color: #fffaf7;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(37, 12, 6, 0.12);
}

.Bestellung h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-intro {
    color: #250C06;
    margin-bottom: 24px;
}

.order-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.order-form label,
.radio-field legend,
.Bestellung label,
.archive-month-box label {
    display: block;
    font-weight: 650;
    color: #250C06;
    margin-bottom: 8px;
}

.order-form input[type='text'],
.order-form input[type='email'],
.order-form input[type='password'],
.order-form input[type='tel'],
.order-form input[type='time'],
.order-form input[type='number'],
.order-form textarea,
.order-form select,
.Bestellung input[type='text'],
.Bestellung input[type='email'],
.Bestellung input[type='password'],
.Bestellung input[type='tel'],
.Bestellung input[type='time'],
.Bestellung input[type='number'],
.Bestellung textarea,
.Bestellung select,
input,
select,
textarea {
    width: 100%;
    border: 1px solid #d7b9a3;
    padding: 12px 14px;
    font: 400 1rem/1.5 "Montserrat", Arial, sans-serif;
    border-radius: 8px;
    background-color: white;
    color: #250C06;
}

.order-form textarea,
.Bestellung textarea {
    min-height: 160px;
    resize: vertical;
}

.order-form input:hover,
.order-form textarea:hover,
.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus,
.Bestellung input:hover,
.Bestellung textarea:hover,
.Bestellung input:focus,
.Bestellung textarea:focus,
.Bestellung select:focus {
    border-color: #E2B387;
    outline: none;
    box-shadow: 0 0 0 3px rgba(226, 179, 135, 0.25);
}

/* Abholung */

.pickup-info {
    background: #fff3ed;
    border: 1px solid #d7b9a3;
    border-radius: 16px;
    padding: 22px;
    margin-top: 24px;
    text-align: center;
}

.pickup-info h3 {
    margin: 0 0 8px;
}

.pickup-info p {
    font-size: 19px;
    margin-bottom: 8px;
}

.pickup-info strong {
    color: #250C06;
}

.pickup-info span {
    display: block;
    color: #250C06;
    font-weight: 600;
    margin-bottom: 6px;
}

.pickup-info small {
    display: block;
    font-weight: 700;
}

/* Brot-Auswahl */

.form-subtitle {
    margin-top: 30px;
    margin-bottom: 15px;
}

.bread-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.bread-card {
    background-color: white;
    border: 1px solid #d7b9a3;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 18px rgba(37, 12, 6, 0.08);
    transition: 0.25s ease;
}

.bread-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 12, 6, 0.14);
}

.bread-card h4 {
    color: #250C06;
    font-size: 21px;
    margin-bottom: 10px;
}

.bread-card p {
    font-weight: 700;
    margin-bottom: 13px;
}

.bread-card input {
    text-align: center;
    font-weight: 700;
}

/* Login */

.admin-login-box {
    max-width: 760px;
}

/* Tabellen */

.settings-table-wrapper,
.week-block {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 18px;
    box-shadow: 0 8px 22px rgba(37, 12, 6, 0.09);
}

th {
    background-color: #250C06;
    color: white;
    padding: 14px;
    text-align: center;
}

td {
    padding: 14px;
    border-bottom: 1px solid #ead3c2;
    text-align: center;
    vertical-align: top;
}

tr:hover {
    background-color: #fff3ed;
}

/* Admin Wochen */

.week-control-area {
    margin-top: 20px;
}

.archive-month-box {
    max-width: 360px;
    margin: 0 auto 25px;
    text-align: center;
}

.week-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.week-tab {
    width: 100%;
    border: 1px solid #d7b9a3;
    background: white;
    color: #250C06;
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 12, 6, 0.08);
    transition: 0.25s ease;
    font-family: "Montserrat", Arial, sans-serif;
}

.week-tab:hover {
    transform: translateY(-2px);
}

.week-tab strong {
    display: block;
    font-size: 19px;
    margin-bottom: 6px;
}

.week-tab span {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.week-tab em {
    display: inline-block;
    font-style: normal;
    background: #fff3ed;
    color: #250C06;
    padding: 4px 10px;
    border-radius: 999px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
}

.week-tab.active {
    background: #250C06;
    color: white;
}

.week-tab.active em {
    background: #E2B387;
    color: #250C06;
}

/* Dashboard */

.dashboard-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.dashboard-box {
    background: #fffaf7;
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(37, 12, 6, 0.10);
}

.dashboard-box h3 {
    color: #250C06;
    font-size: 18px;
    margin-bottom: 8px;
}

.dashboard-box p {
    font-size: 28px;
    font-weight: 800;
}

.revenue-summary {
    grid-column: 1 / -1;
    background: #250C06;
    color: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(37, 12, 6, 0.18);
}

.revenue-summary h3 {
    color: white;
    text-align: center;
    margin-bottom: 22px;
    font-size: 28px;
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.revenue-grid div {
    background: rgba(255,255,255,0.11);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.revenue-grid span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.revenue-grid strong {
    display: block;
    font-size: 25px;
}

.revenue-total {
    background: #E2B387 !important;
    color: #250C06;
}

/* Buttons Admin */

.small-button {
    display: inline-block;
    width: auto;
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    padding: 9px 12px;
    margin: 3px;
    color: white;
    font-weight: 800;
    font-family: "Montserrat", Arial, sans-serif;
}

.accept {
    background: #2e7d32;
}

.accept:hover {
    background: #256628;
}

.decline {
    background: #b3261e;
}

.decline:hover {
    background: #8f1d18;
}

.print-button {
    display: block;
    margin: 10px auto 25px;
}

/* Einstellungen */

.settings-hint {
    background: #fff3ed;
    border: 1px solid #d7b9a3;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.settings-hint strong {
    display: inline-block;
    margin: 2px 4px;
}

/* Footer */

.footer {
    background-color: #250C06;
    color: white;
    text-align: center;
    padding: 22px 0;
}

.footer p {
    margin: 4px 0;
}

/* Responsive */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .week-tabs {
        grid-template-columns: 1fr;
    }

    .dashboard-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 18px 0 105px;
    }

    .admin-header {
        padding: 18px 0 30px;
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        width: 190px;
    }

    .menu-button {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        width: 34px;
    }

    .menu-button span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    .nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        gap: 0;
        margin-top: 18px;

        background: rgba(37, 12, 6, 0.95);
        border-radius: 10px;

        transition: max-height 0.4s ease;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .menu-checkbox:checked ~ .nav {
        max-height: 360px;
    }

    .menu-checkbox:checked + .menu-button span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-checkbox:checked + .menu-button span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked + .menu-button span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 250px 0 90px;
        min-height: 650px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero p {
        font-size: 18px;
    }

    .opening-box {
        padding: 14px 18px;
    }

    .content {
        padding: 48px 0;
    }

    .bread-divider {
        min-height: 240px;
        margin: 20px 0 0;
        background-attachment: scroll;
        background-position: center;
    }

    .Bestellung {
        margin-top: 35px;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .Bestellung h2,
    .card h2,
    .content h2 {
        font-size: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-submit-button {
        width: 100%;
        text-align: center;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 10px;
    }
}

@media (max-width: 420px) {
    .logo {
        width: 170px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .Bestellung {
        padding: 22px 16px;
    }
}

/* Druckansicht */

@media print {
    .header,
    .footer,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .admin-main {
        margin-top: 0;
    }

    .content {
        padding: 0;
    }

    .Bestellung {
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    h2 {
        color: black;
        margin-bottom: 20px;
    }

    table {
        box-shadow: none;
        border-radius: 0;
        font-size: 13px;
    }

    th {
        background: #ddd !important;
        color: black;
    }

    td,
    th {
        border: 1px solid black;
        padding: 8px;
    }
}