:root {
    --green: #536b50;
    --green-dark: #344b38;
    --sage: #e8eee3;
    --cream: #faf8f1;
    --sand: #eee8d9;
    --ink: #27342b;
    --muted: #68736a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header { min-height: 82px; padding: 16px clamp(20px, 6vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,255,255,.96); border-bottom: 1px solid #edf0e9; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--green-dark); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sage); font-size: 25px; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 19px; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); }
.main-nav a { text-decoration: none; font-size: 14px; }
.main-nav a:hover, .category-content a:hover { color: var(--green); }
.cart-link { padding: 9px 14px; border: 1px solid #d9e1d4; border-radius: 30px; }
.cart-link span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 5px; border-radius: 50%; background: var(--green); color: white; font-size: 11px; }
.hero { min-height: 490px; padding: 70px clamp(20px, 9vw, 130px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; background: var(--cream); overflow: hidden; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; }
h1 { margin: 14px 0 18px; font-size: clamp(42px, 5vw, 66px); letter-spacing: -.035em; }
h1 em { color: var(--green); font-weight: 400; }
.hero-copy > p:not(.eyebrow):not(.notice) { max-width: 510px; color: var(--muted); font-size: 17px; }
.button { display: inline-block; margin-top: 14px; padding: 13px 22px; border-radius: 4px; background: var(--green); color: white; text-decoration: none; font-weight: 650; }
.button:hover { background: var(--green-dark); }
.notice { margin-top: 18px; color: #73796f; font-size: 12px; }
.hero-art { position: relative; min-height: 320px; border-radius: 48% 52% 44% 56%; background: #e5eadc; }
.sun { position: absolute; width: 145px; height: 145px; right: 17%; top: 12%; border-radius: 50%; background: #d8c99d; opacity: .8; }
.stem { position: absolute; width: 5px; height: 260px; left: 51%; top: 22%; background: #647c58; transform: rotate(25deg); border-radius: 5px; }
.leaf { position: absolute; width: 105px; height: 48px; background: #78916d; border-radius: 100% 0 100% 0; }
.leaf-one { left: 24%; top: 31%; transform: rotate(22deg); }
.leaf-two { left: 49%; top: 48%; transform: rotate(205deg); background: #9aab83; }
.leaf-three { left: 30%; top: 66%; transform: rotate(5deg); background: #526f53; }
.section { padding: 76px clamp(20px, 8vw, 112px); }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2, .about h2 { margin: 8px 0; font-size: clamp(30px, 3.5vw, 42px); }
.section-heading > p:last-child { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: auto; }
.category-card { border: 1px solid #e8ebe4; border-radius: 8px; overflow: hidden; background: white; }
.category-image { min-height: 205px; display: flex; align-items: end; padding: 20px; background: linear-gradient(140deg, #dfe8d8, #aebf9f); }
.category-image--tees { background: linear-gradient(140deg, #eee5d1, #c5b38c); }
.category-image--nahrungsergaenzung { background: linear-gradient(140deg, #e9e4d8, #c1c9b4); }
.category-image span { padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,.82); font-family: Georgia, serif; }
.category-content { padding: 20px; }
.category-content h3 { margin: 0 0 8px; font-size: 23px; }
.category-content p { min-height: 52px; color: var(--muted); font-size: 14px; }
.category-content a { color: var(--green-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.about { padding: 54px clamp(20px, 8vw, 112px); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--sage); }
.about > p { color: #58645a; }
footer { padding: 34px clamp(20px, 8vw, 112px); display: flex; justify-content: space-between; gap: 30px; background: #293b30; color: white; }
footer p { margin: 5px 0 0; color: #d1dbcf; font-size: 13px; }
.footer-note { max-width: 460px; }
@media (max-width: 760px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .main-nav { flex-wrap: wrap; gap: 12px 18px; }
    .hero { grid-template-columns: 1fr; padding-top: 52px; }
    .hero-art { min-height: 230px; }
    .category-grid { grid-template-columns: 1fr; max-width: 460px; }
    .category-image { min-height: 175px; }
    .about, footer { grid-template-columns: 1fr; flex-direction: column; gap: 12px; }
}

/* --- Kategorieseiten und Produkte --- */
.category-image--kraeuter-tees { background: linear-gradient(140deg, #eee5d1, #c5b38c); }
.empty-note { max-width: 560px; margin: 0 auto; padding: 22px; border: 1px dashed #cfd8c8; border-radius: 8px; background: var(--cream); color: var(--muted); text-align: center; }
.breadcrumb { max-width: 1180px; margin: 0 auto 22px; color: var(--muted); font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.page-title { margin: 8px 0; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.02em; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1180px; margin: auto; }
.product-card { border: 1px solid #e8ebe4; border-radius: 8px; overflow: hidden; background: white; }
.product-image { aspect-ratio: 4 / 3; background: var(--sage); }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-content { padding: 16px; }
.product-content h2 { margin: 0 0 6px; font-size: 19px; }
.product-content p { margin: 4px 0; color: var(--muted); font-size: 14px; }
.price { color: var(--ink) !important; font-size: 18px !important; font-weight: 700; }
.price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.stock { font-size: 13px !important; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 1000px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* --- Produktdetailseite --- */
a.product-image { display: block; }
.product-content h2 a { text-decoration: none; }
.product-content h2 a:hover { color: var(--green); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); max-width: 1080px; margin: 0 auto; align-items: start; }
.product-detail-image { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--sage); }
.product-detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.product-thumbs img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid #e8ebe4; }
.product-info .page-title { margin-top: 6px; }
.product-lead { color: var(--muted); font-size: 17px; }
.product-detail-price { margin: 18px 0 4px; font-size: 26px !important; }
.product-meta { margin: 4px 0; color: var(--muted); font-size: 13px; }
.stock--ok { color: var(--green); }
.button--disabled, .button:disabled { border: 0; font: inherit; font-weight: 650; background: #b9c4b5; color: #fff; cursor: not-allowed; }
.product-section { margin-top: 28px; padding-top: 18px; border-top: 1px solid #e8ebe4; }
.product-section h2 { margin: 0 0 8px; font-size: 21px; }
.product-section p { margin: 0; color: var(--ink); font-size: 15px; }
@media (max-width: 760px) {
    .product-detail { grid-template-columns: 1fr; }
}
.product-info .eyebrow { text-transform: uppercase; }

/* --- Warenkorb --- */
button.button { border: 0; font: inherit; font-weight: 650; cursor: pointer; }
button.button:disabled { cursor: not-allowed; }
.add-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.add-form .button { margin-top: 0; }
.qty-input { width: 72px; padding: 9px 8px; border: 1px solid #cfd8c8; border-radius: 4px; font: inherit; }
.link-button { padding: 0; border: 0; background: none; color: var(--green-dark); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--green); }
.flash { max-width: 760px; margin: 0 auto 18px; padding: 12px 16px; border-radius: 6px; background: var(--sage); color: var(--green-dark); font-size: 14px; }
.cart { max-width: 860px; margin: 0 auto; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 14px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid #e8ebe4; }
.cart-thumb { display: block; width: 76px; height: 76px; border-radius: 6px; overflow: hidden; background: var(--sage); }
.cart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-name h2 { margin: 0 0 2px; font-size: 18px; }
.cart-name h2 a { text-decoration: none; }
.cart-name h2 a:hover { color: var(--green); }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty label { color: var(--muted); font-size: 13px; }
.cart-total { margin: 0; min-width: 80px; font-weight: 700; text-align: right; }
.cart-remove { margin: 0; }
.cart-summary { margin-top: 24px; padding: 20px; border-radius: 8px; background: var(--cream); }
.cart-sum { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 18px; }
@media (max-width: 760px) {
    .cart-line { grid-template-columns: 64px 1fr; }
    .cart-thumb { width: 64px; height: 64px; }
    .cart-qty, .cart-total, .cart-remove { grid-column: 2; text-align: left; }
}

/* --- Kasse und Bestellung --- */
.flash--error { background: #f6e3df; color: #6e2a20; }
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 56px); max-width: 1000px; margin: 0 auto; align-items: start; }
.checkout h2, .cart-summary h2 { margin: 0 0 14px; font-size: 21px; }
.field { display: block; margin-bottom: 16px; }
.field > span:first-child { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #cfd8c8; border-radius: 4px; font: inherit; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field-error { display: block; margin-top: 4px; color: #a02f20; font-size: 13px; }
.field-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.checkout-summary { padding: 20px; border-radius: 8px; background: var(--cream); }
.checkout-summary ul { margin: 0 0 14px; padding: 0; list-style: none; }
.checkout-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e8ebe4; font-size: 14px; }
.order-line { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px solid #e8ebe4; }
.order-line small { color: var(--muted); }
@media (max-width: 760px) {
    .checkout { grid-template-columns: 1fr; }
}

/* --- Rechtsseiten, Footer, Feinschliff --- */
.legal { max-width: 760px; margin: 0 auto; }
.legal section { margin-top: 26px; }
.legal h2 { margin: 0 0 8px; font-size: 21px; }
.legal p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: flex-start; }
.footer-links a { color: #d1dbcf; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.cart-summary h2 { margin: 22px 0 10px; }
.field-row { grid-template-columns: 150px 1fr; }
.field--zip .field-error { font-size: 12px; }

/* --- Verwaltung --- */
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px clamp(16px, 4vw, 48px); background: #293b30; color: #fff; }
.admin-bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.admin-bar a { color: #fff; }
.admin-bar form { margin: 0; }
.admin-bar .link-button { color: #fff; }
.admin-user { color: #d1dbcf; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 64px; }
.admin-narrow { max-width: 520px; }
.admin-main h1 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); }
.admin-main h2 { margin: 26px 0 10px; font-size: 20px; }
.admin-main .flash { margin-left: 0; margin-right: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.chip { padding: 6px 12px; border: 1px solid #d9e1d4; border-radius: 30px; font-size: 13px; text-decoration: none; }
.chip:hover { border-color: var(--green); }
.chip--active { background: var(--green); border-color: var(--green); color: #fff; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid #e8ebe4; text-align: left; white-space: nowrap; }
.admin-table th { background: var(--cream); font-weight: 650; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 30px; background: #e8ebe4; font-size: 12px; font-weight: 650; }
.badge--pending { background: #f6ecc9; }
.badge--paid, .badge--processing { background: #dbe8f2; }
.badge--shipped, .badge--completed { background: #dcebd5; }
.badge--cancelled, .badge--refunded { background: #f1dad6; }
.pager { display: flex; gap: 18px; align-items: center; margin-top: 18px; font-size: 14px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.admin-card { padding: 18px; border: 1px solid #e8ebe4; border-radius: 8px; background: #fff; }
.admin-card h2 { margin-top: 0; }
.status-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.status-form select { padding: 9px 10px; border: 1px solid #cfd8c8; border-radius: 4px; font: inherit; }
.status-form .button { margin-top: 0; }
.admin-sums { margin-top: 14px; text-align: right; line-height: 1.8; }
@media (max-width: 760px) {
    .admin-grid { grid-template-columns: 1fr; }
}
