:root {
    --bg: #f5ecdf;
    --bg-2: #f8f1e6;
    --paper: #f6ead8;
    --paper-soft: #fbf4e8;
    --paper-dark: #ead8bf;
    --text: #5a3c2b;
    --text-soft: #7b604f;
    --title: #6d3e1d;
    --accent: #c98536;
    --accent-dark: #a76425;
    --green: #8a9448;
    --green-dark: #70793b;
    --line: #e5d3ba;
    --shadow: 0 18px 35px rgba(97, 61, 29, 0.14);
    --shadow-soft: 0 10px 24px rgba(97, 61, 29, 0.10);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
    --left-col: 0.95fr;
    --right-col: 1.05fr;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    background:
        radial-gradient(circle at top left, rgba(217, 163, 90, 0.10), transparent 25%),
        radial-gradient(circle at bottom right, rgba(167, 152, 80, 0.08), transparent 28%),
        linear-gradient(180deg, #efe2ce 0%, #f7efe4 38%, #f6ecdf 100%);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(92, 53, 21, 0.44) 0%, rgba(92, 53, 21, 0.26) 32%, rgba(92, 53, 21, 0.08) 58%, rgba(92, 53, 21, 0.02) 100%),
        url("images/huhn.jpg") center center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(246, 236, 223, 0) 56%, rgba(246, 236, 223, 0.76) 78%, rgba(246, 236, 223, 1) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 15%, rgba(255, 205, 124, 0.16), transparent 18%),
        radial-gradient(circle at 16% 26%, rgba(255, 255, 255, 0.08), transparent 18%);
    mix-blend-mode: screen;
}

.container-wide {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-inner {
    width: min(var(--container), 100%);
    margin: 0 auto;
}

.hero-text {
    width: 100%;
    max-width: 620px;
    margin-left: 0;
    padding: 88px 0 210px;
}

.farm-badge {
    display: inline-block;
    margin-bottom: 26px;
}

.farm-badge img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}

.hero h1 {
    margin: 0 0 24px;
    max-width: 620px;
    color: #fff8ee;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.8vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.hero p {
    margin: 0;
    width: 100%;
    max-width: 560px;
    padding: 20px 26px;
    border-radius: 24px;
    background: rgba(252, 244, 232, 0.90);
    border: 1px solid rgba(242, 226, 204, 0.95);
    color: #5c4030;
    font-size: 1.18rem;
    line-height: 1.5;
    box-shadow: 0 14px 28px rgba(94, 59, 29, 0.12);
    backdrop-filter: blur(3px);
}

.pickup-times-box {
    margin: 0;
    width: 100%;
    max-width: 560px;
    padding: 20px 26px;
    border-radius: 24px;
    background: rgba(252, 244, 232, 0.92);
    border: 1px solid rgba(242, 226, 204, 0.95);
    color: #5c4030;
    font-size: 1.08rem;
    line-height: 1.55;
    box-shadow: 0 14px 28px rgba(94, 59, 29, 0.12);
    backdrop-filter: blur(3px);
}

.pickup-times-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
    color: #6d3e1d;
}

.pickup-time-row + .pickup-time-row {
    margin-top: 6px;
}


/* =========================
   MAIN
========================= */

.page-shell {
    position: relative;
    z-index: 4;
    margin-top: -120px;
    padding: 0 20px 42px;
}

.container-main {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--left-col) var(--right-col);
    gap: 28px;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* =========================
   CARDS
========================= */

.card {
    position: relative;
    overflow: hidden;
    padding: 38px 34px 30px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(251, 244, 232, 0.98) 0%, rgba(244, 232, 214, 0.98) 100%);
    border: 1px solid #e6d6bf;
    box-shadow: var(--shadow);
}

.card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(178, 147, 110, 0.28);
    border-radius: 22px;
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 210px;
    height: 18px;
    background: linear-gradient(90deg, #d89b43 0%, #c9832d 100%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 18px;
    opacity: 0.95;
}

.card h2 {
    margin: 0;
    text-align: center;
    color: var(--title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 3vw, 3.1rem);
    line-height: 1.08;
}

.section-subtitle {
    margin: 8px 0 28px;
    text-align: center;
    color: var(--text-soft);
    font-size: 1.15rem;
}

/* =========================
   AVAILABILITY
========================= */

.availability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.availability-box {
    padding: 22px 16px 18px;
    text-align: center;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #f7f2e5 0%, #ece3cf 100%);
    border: 1px solid #e6d7bf;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.egg-icon {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
}

.availability-label {
    display: block;
    margin-bottom: 10px;
    color: #665240;
    font-size: 1.18rem;
    font-weight: 700;
}

.availability-value {
    display: block;
    color: #6d7335;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.1rem;
    line-height: 1;
}

.nest-image-box {
    overflow: hidden;
    margin-top: 16px;
    border-radius: 24px;
    border: 1px solid #e5d5bf;
    box-shadow: var(--shadow-soft);
}

.nest-image-box img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* =========================
   PREISLISTE
========================= */

.price-card {
    padding-top: 34px;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8f2e7 0%, #eee4d2 100%);
    border: 1px solid #e5d5bf;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-title {
    color: var(--title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.price-desc {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.price-value {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf2 0%, #f5ebdc 100%);
    border: 1px solid #e6d7c3;
    color: #6d7335;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(97, 61, 29, 0.08);
}

.price-note {
    margin: 18px 0 0;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.98rem;
}

/* =========================
   FORM
========================= */

.form-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--title);
    font-size: 1.02rem;
    font-weight: 700;
}

.form-box input,
.form-box select {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #e5d4be;
    background: rgba(255, 252, 247, 0.86);
    color: var(--text);
    font-size: 1.05rem;
    outline: none;
    transition: 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(96, 62, 33, 0.04);
}

.form-box input:focus,
.form-box select:focus {
    border-color: #c48a46;
    box-shadow: 0 0 0 4px rgba(196, 138, 70, 0.14);
    background: #fffdf9;
}

.form-box button,
.button-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 60px;
    margin-top: 8px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, #97a051 0%, #7d8742 100%);
    color: #fffdf5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(109, 118, 56, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-box button:hover,
.button-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #8a9448 0%, #70793b 100%);
    box-shadow: 0 14px 24px rgba(109, 118, 56, 0.25);
}

.small-note {
    margin: 20px 0 0;
    text-align: center;
    color: #7f6856;
    font-size: 1rem;
}

/* =========================
   INFO BOXES
========================= */

.info-box {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-left: 5px solid #6d9f42;
    border-radius: 12px;
    background: #f1f7e9;
    color: #354126;
}

.info-box.warning {
    background: #fff4e9;
    border-left-color: #d08a2f;
    color: #6d4a1d;
}

.info-box.success {
    background: #eaf8ea;
    border-left-color: #3e9140;
    color: #245d27;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    width: min(var(--container), 100%);
    margin: 28px auto 0;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.site-footer a {
    color: var(--title);
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer span {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.6;
}

/* =========================
   LEGACY / ADMIN
========================= */

.container {
    max-width: 560px;
    margin: 30px auto;
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

h1,
h2 {
    color: var(--title);
}

.intro {
    margin-bottom: 20px;
}

.small {
    font-size: 0.92rem;
    color: #555;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-nav a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #eef3e7;
    color: #2c3b1f;
    text-decoration: none;
}

.admin-nav a:hover {
    background: #dfead4;
}

.admin-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #f3f3f3;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
    .hero {
        min-height: 660px;
        background-position: 68% center;
    }

    .hero-text {
        max-width: 560px;
        padding: 90px 0 170px;
    }

    .page-shell {
        margin-top: -90px;
    }

    .container-main {
        grid-template-columns: 1fr;
    }

    .availability-card,
    .form-card,
    .price-card {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 560px;
        background-position: 72% center;
    }

    .container-wide {
        width: min(100% - 24px, var(--container));
    }

    .hero-text {
        max-width: 100%;
        padding: 64px 0 120px;
    }

    .farm-badge img {
        width: 150px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.8rem);
        margin-bottom: 18px;
    }

    .hero p {
        max-width: 100%;
        padding: 16px 18px;
        border-radius: 20px;
        font-size: 1rem;
    }

    .page-shell {
        margin-top: -54px;
        padding: 0 12px 28px;
    }

    .card {
        padding: 24px 18px 22px;
        border-radius: 24px;
    }

    .card::before {
        inset: 12px;
        border-radius: 16px;
    }

    .card::after {
        left: 18px;
        width: 150px;
        height: 14px;
    }

    .availability-grid {
        grid-template-columns: 1fr;
    }

    .availability-value {
        font-size: 3.2rem;
    }

    .nest-image-box img {
        height: 220px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-value {
        width: 100%;
        text-align: center;
    }

    .form-box input,
    .form-box select {
        min-height: 54px;
    }

    .form-box button,
    .button-link {
        min-height: 56px;
        font-size: 1.05rem;
    }

}

