
/* ── Variablen ───────────────────────────────────────────────────── */
:root {
    --green:        #3d6e4e;
    --green-mid:    #4a7c59;
    --green-light:  #5d9970;
    --green-pale:   #e8f2eb;
    --green-dark:   #2a4f37;
    --orange:       #c4683a;
    --orange-light: #e8895a;
    --gold:         #d4a843;
    --cream:        #faf8f4;
    --white:        #ffffff;
    --text:         #1a2e22;
    --text-muted:   #5a7060;
    --border:       #dde8e0;
    --shadow-sm:    0 1px 4px rgba(30,60,40,0.08);
    --shadow:       0 4px 16px rgba(30,60,40,0.10);
    --shadow-lg:    0 12px 40px rgba(30,60,40,0.14);
    --radius:       12px;
    --radius-lg:    18px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
    background: var(--green-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    min-height: 64px;
    gap: 0.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    padding: 0 1rem 0 0;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-decoration: none;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--green-mid);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 1rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.15s, background 0.15s;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.07);
    border-bottom-color: var(--green-light);
}

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    align-self: center;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--green-mid);
    color: white !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--green-dark);
    color: white !important;
    box-shadow: 0 4px 14px rgba(42,79,55,0.3);
    transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    color: var(--green-mid) !important;
    padding: 0.63rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--green-mid);
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--green-pale);
    border-color: var(--green-dark);
    color: var(--green-dark) !important;
    transform: translateY(-1px);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    background: #dc2626;
    color: white !important;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s;
    text-decoration: none;
}

.btn-danger:hover { background: #b91c1c; transform: translateY(-1px); }

.btn-sm { padding: 0.38rem 1rem; font-size: 0.82rem; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 55%, #6aaa7d 100%);
    color: white;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circles in hero */
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -200px; right: -150px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -150px; left: -80px;
    pointer-events: none;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 1.1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    position: relative;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 2.2rem;
    line-height: 1.7;
    position: relative;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--green-dark) !important;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    color: white !important;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
    transition: all 0.18s;
}

.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero-stat span { font-size: 0.85rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; display: block; }

/* ── Section ─────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { padding: 5rem 0; background: white; }

.section-header { margin-bottom: 2.5rem; }
.section-header.centered { text-align: center; }

.section-label {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-mid);
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.section-subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid rgba(30,60,40,0.06);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-img-placeholder {
    height: 190px;
    background: linear-gradient(135deg, var(--green-pale) 0%, #d0e8d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.card-body { padding: 1.4rem; }

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
    line-height: 1.3;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

/* ── Grid ────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.5rem; }

/* ── Badge ───────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.6rem;
}

.badge-green  { background: var(--green-pale); color: var(--green-dark); }
.badge-orange { background: #fef3c7; color: #92400e; }
.badge-bio    { background: #d1fae5; color: #065f46; }
.badge-gray   { background: #f1f5f1; color: var(--text-muted); }

/* ── Kategorie-Karten ────────────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 1.4rem 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    cursor: pointer;
}

.cat-card:hover {
    background: white;
    border-color: var(--green-mid);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--text);
}

.cat-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.2s;
}

.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name { font-weight: 600; font-size: 0.85rem; text-align: center; line-height: 1.3; }

/* ── Forms ───────────────────────────────────────────────────────── */
.form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    max-width: 520px;
    margin: 2.5rem auto;
    border: 1px solid var(--border);
}

.form-group { margin-bottom: 1.25rem; }

label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--text);
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    transition: border-color 0.18s, box-shadow 0.18s;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

.form-control::placeholder { color: #aab8b0; }

.form-select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.form-select:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field-validation-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary-errors ul { list-style: none; }
.validation-summary-errors li { color: #dc2626; font-size: 0.875rem; padding: 0.15rem 0; }

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── Page Header ─────────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
    color: white;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -120px; right: -80px;
    pointer-events: none;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.page-header p { opacity: 0.78; font-size: 1rem; }

/* ── Search bar ──────────────────────────────────────────────────── */
.search-bar {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr auto;
    gap: 0.75rem;
    align-items: end;
}

.search-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

/* ── Dashboard stats ─────────────────────────────────────────────── */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-mid), var(--green-light));
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--green-mid);
    line-height: 1;
    letter-spacing: -0.03em;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.825rem;
    margin-top: 0.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Table ───────────────────────────────────────────────────────── */
.table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

table { width: 100%; border-collapse: collapse; }

th {
    background: var(--cream);
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--border);
}

td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafcfa; }

/* ── Product item ────────────────────────────────────────────────── */
.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    transition: background 0.15s;
}

.product-item:last-child { border-bottom: none; }
.product-item:hover { background: #fafcfa; }

.product-name { font-weight: 600; font-size: 0.95rem; }
.product-meta { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.15rem; }
.product-price { color: var(--green-dark); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }

/* ── Divider ─────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ── Checkbox ────────────────────────────────────────────────────── */
.check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text);
}

input[type="checkbox"] {
    width: 17px; height: 17px;
    accent-color: var(--green-mid);
    cursor: pointer;
}

/* ── Empty state ─────────────────────────────────────────────────── */
.empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2.5rem;
    list-style: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: 8px;
    background: white;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.18s;
}

.page-link:hover,
.page-item.active .page-link {
    background: var(--green-mid);
    color: white !important;
    border-color: var(--green-mid);
    box-shadow: 0 3px 10px rgba(74,124,89,0.25);
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.65);
    padding: 4rem 0 0;
    margin-top: 5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

footer p { font-size: 0.875rem; line-height: 1.7; }

footer h5 {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    transition: color 0.18s;
}
footer ul a:hover { color: white; }

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: var(--green-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
        z-index: 100;
    }

    .nav-inner { position: relative; }
    .nav-links.open { display: flex; }

    .nav-link {
        height: auto;
        padding: 0.85rem 1rem;
        border-bottom: none;
        border-radius: 8px;
    }

    .search-row { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ══════════════════════════════════════════════════════════════════
   Regio2Go 2.0 – Hofladen- & Automaten-Finder
   ══════════════════════════════════════════════════════════════════ */

/* Beta-Leiste */
.beta-bar { background: var(--gold); color: #3a2a00; font-size: 0.82rem; padding: 0.4rem 0; text-align: center; }
.beta-bar a { color: #3a2a00; text-decoration: underline; margin-left: 0.5rem; font-weight: 600; }

.nav-link.active { color: white; box-shadow: inset 0 -3px 0 var(--gold); }

/* Hero mit Foto + Suche */
.hero-photo { background-size: cover; background-position: center; }
.hero-photo::before, .hero-photo::after { display: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)); z-index: 1; }
.hero-search { display: flex; gap: 0.5rem; max-width: 620px; margin: 2rem auto 0.75rem; background: white; padding: 0.4rem; border-radius: 12px; box-shadow: var(--shadow-lg); }
.hero-search input { flex: 1; border: none; outline: none; font: inherit; font-size: 1rem; padding: 0.6rem 0.9rem; color: var(--text); min-width: 0; }
.hero-search .hero-btn-primary { padding: 0.7rem 1.4rem; border: none; cursor: pointer; font: inherit; font-weight: 700; }
.hero-locate { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.4); border-radius: 20px; padding: 0.4rem 1rem; font: inherit; font-size: 0.9rem; cursor: pointer; }
.hero-locate:hover { background: rgba(255,255,255,0.25); }

/* Schnelleinstieg Verkaufsart */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.type-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem; border-radius: var(--radius); background: var(--cream); border: 2px solid var(--border); color: var(--text); transition: all 0.18s; }
.type-card:hover { border-color: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.type-icon { font-size: 2rem; }
.type-card small { color: var(--text-muted); line-height: 1.4; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; padding: 1rem; }
.step-icon { width: 70px; height: 70px; border-radius: 20px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; }
.step h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Kategorien mit Fotos */
.cat-grid-photo { grid-template-columns: repeat(3, 1fr); }
.cat-photo { height: 140px; background-size: cover; background-position: center; position: relative; justify-content: flex-end; overflow: hidden; }
.cat-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6)); }
.cat-photo span { position: relative; color: white; font-weight: 700; font-size: 1.05rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: white; padding: 4.5rem 0; text-align: center; }
.cta-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.cta h2 { font-family: 'Playfair Display', serif; font-size: 2.1rem; margin-bottom: 1rem; }
.cta p { opacity: 0.85; max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-btn { display: inline-block; background: white; color: var(--green-dark) !important; font-weight: 700; padding: 0.95rem 2.2rem; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* Seitenkopf kompakt */
.page-header-slim { padding: 2rem 0 1.75rem; }
.page-header-slim h1 { font-size: 1.9rem; }

/* Karten für Verkaufsorte */
.farm-card { display: flex; flex-direction: column; color: var(--text); }
.farm-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.badge-row { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.badge-row .badge { margin-bottom: 0.4rem; }
.badge-light { background: rgba(255,255,255,0.2); color: white; }
.card-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }

/* Live-Status */
.status-ok  { --st: #2f8a4c; --st-bg: #e3f4e8; }
.status-low { --st: #b7791f; --st-bg: #fdf1dc; }
.status-out { --st: #9aa59e; --st-bg: #eef1ef; }
.status-ok-text { color: #2f8a4c; font-weight: 600; }
.status-low-text { color: #b7791f; font-weight: 600; }
.status-out-text { color: #7d8781; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--st, #ccc); display: inline-block; flex-shrink: 0; }
.chip { display: inline-block; font-size: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 12px; margin: 0 0.25rem 0.25rem 0; background: var(--st-bg, #f1f3f2); color: var(--st, var(--text-muted)); border: 1px solid transparent; }
.chip.status-out { text-decoration: line-through; }
.status-pill { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px; background: var(--st-bg); color: var(--st); white-space: nowrap; }
.status-pill.small { font-size: 0.7rem; padding: 0.1rem 0.5rem; }

/* Schnell-Status-Buttons (groß genug für Daumen am Handy) */
.quick-status { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.qs-btn { font: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0.7rem; min-height: 36px; border-radius: 8px; cursor: pointer; border: 2px solid var(--st-bg); background: white; color: var(--st); }
.qs-btn.current { background: var(--st); color: white; border-color: var(--st); }
.qs-btn:hover { border-color: var(--st); }
.dash-product { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.is-hidden { opacity: 0.55; }

/* Suche */
.search-row-wide { grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto; }
.search-options { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-top: 0.9rem; font-size: 0.9rem; }
.btn-link-plain { background: none; border: none; color: var(--green-mid); font: inherit; font-size: 0.88rem; cursor: pointer; padding: 0; text-decoration: underline; }

/* Detailseite */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; padding: 0.6rem 1.2rem; border-radius: 8px; border: 2px solid rgba(255,255,255,0.7); color: white !important; font-weight: 600; font-size: 0.9rem; background: rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.detail-img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.h-serif { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.75rem; }
.product-main { flex: 1; min-width: 0; }
.product-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.info-list p { margin-bottom: 0.6rem; }
.minimap { height: 220px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.hint { color: var(--text-muted); font-size: 0.82rem; }

/* Karte */
.map-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.map-filters .form-select { width: auto; min-width: 180px; }
.map-big { height: 600px; max-height: 70vh; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.map-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; align-items: center; }
.map-legend > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.map-pin { width: 18px; height: 18px; border-radius: 50%; background: #9aa59e; border: 3px solid white; box-shadow: 0 1px 5px rgba(0,0,0,0.35); }
.map-pin.pin-ok { background: #2f8a4c; }

/* Formulare */
.form-section { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 1.75rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
form > .form-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.type-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option span { display: inline-block; padding: 0.55rem 0.9rem; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 0.9rem; background: white; }
.type-option input:checked + span { border-color: var(--green-mid); background: var(--green-pale); font-weight: 600; }
.type-option input:focus-visible + span { outline: 3px solid var(--gold); }
.pick-map { height: 300px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 0.4rem; }

/* Saison */
.month-picker { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 2rem; }
.month { padding: 0.4rem 0.8rem; border-radius: 20px; background: white; border: 1px solid var(--border); color: var(--text); font-size: 0.85rem; }
.month.active { background: var(--green-mid); color: white; border-color: var(--green-mid); }
.season-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.season-list { list-style: none; }
.season-list li { padding: 0.35rem 0; border-top: 1px solid var(--border); font-size: 0.9rem; display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.season-list li:first-child { border-top: none; }

/* Rechtliches & Listen */
.legal { max-width: 800px; }
.legal h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.feature-list { padding-left: 1.2rem; line-height: 1.9; color: var(--text-muted); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }

@media (max-width: 900px) {
    .type-grid { grid-template-columns: 1fr 1fr; }
    .search-row-wide { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .type-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .type-card { padding: 0.9rem; }
    .search-row-wide { grid-template-columns: 1fr; }
    .cat-grid-photo { grid-template-columns: 1fr 1fr; }
    .hero-search { flex-direction: column; }
    .product-item { flex-direction: column; align-items: stretch; }
    .product-side { align-items: flex-start; }
    .cta h2 { font-size: 1.6rem; }
    .map-filters .form-select { min-width: 0; flex: 1 1 45%; }
}

/* Ohne Emojis: Text-Labels, Platzhalter und Logo */
.info-label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.1rem; }
.card-img-placeholder span { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--green-mid); opacity: 0.75; }
.brand-icon { font-family: 'Playfair Display', serif; font-weight: 800; color: white; }
.step-icon { font-family: 'Playfair Display', serif; font-weight: 800; color: var(--green-dark); font-size: 1.8rem; }
