/* SteepLog — app.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&family=DM+Sans:wght@300;400;500;600&family=Fraunces:ital,wght@1,700&display=swap');

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

:root {
  --green:      #4a7c59;
  --green-mid:  #6b9e3a;
  --green-dark: #2d5a3f;
  --ink:        #2a2a28;
  --ink-soft:   #5a5a52;
  --ink-muted:  #8a8a82;
  --ink-faint:  #b5b5ad;
  --bg:         #faf9f6;
  --bg-card:    rgba(255,255,255,0.72);
  --border:     rgba(42,42,40,0.08);
  --gold:       #bfa040;
  --radius-lg:  20px;
  --radius-md:  14px;
  --radius-sm:  10px;
  --radius-pill:100px;
  --shadow-md:  0 8px 32px rgba(42,42,40,0.10);
  --shadow-lg:  0 20px 48px rgba(42,42,40,0.12);
  --transition: 0.3s cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Decorative blobs ─────────────────────────────────────────────────────── */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(74,124,89,0.05) 0%, transparent 70%);
}
body::after {
  width: 500px; height: 500px;
  bottom: -150px; left: -150px;
  background: radial-gradient(circle, rgba(107,158,58,0.04) 0%, transparent 70%);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(250,249,246,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.03em; text-transform: uppercase;
}

.site-nav {
  display: flex; align-items: center; gap: 12px;
}
.nav-link {
  text-decoration: none; color: var(--ink-soft); font-size: 14px;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--ink); }
.nav-user { font-size: 14px; color: var(--ink-soft); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink); color: var(--bg);
}
.btn--primary:hover {
  background: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74,124,89,0.3);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink-soft);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}
.btn--green {
  background: var(--green); color: #fff;
}
.btn--green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74,124,89,0.3);
}
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ── Main content ─────────────────────────────────────────────────────────── */
.main-content {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px 80px;
  position: relative; z-index: 1;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 40px 56px;
  text-align: center;
  background: url('../img/hero.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(250,249,246,.88) 30%, rgba(250,249,246,.55) 100%);
  pointer-events: none;
}
.hero > *:not(.hero-overlay) { position: relative; z-index: 1; }
.hero-credit {
  position: absolute; bottom: 10px; right: 16px; z-index: 1;
  font-size: 10px; color: rgba(42,42,40,.35); font-weight: 400;
  letter-spacing: .02em;
}
.hero-label {
  font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 20px;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px; color: #1a1a18;
}
.hero-title .gradient {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .serif {
  font-family: 'Fraunces', serif;
  font-weight: 700; font-style: italic;
  text-transform: none; letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px; color: #7a7a72; font-weight: 300;
  max-width: 480px; margin: 0 auto 40px; line-height: 1.65;
}

/* ── Category pills ───────────────────────────────────────────────────────── */
.category-filter {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.cat-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  text-decoration: none; color: var(--ink-soft);
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  cursor: pointer;
}
.cat-pill:hover, .cat-pill.active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-pill .emoji { font-size: 17px; }

/* ── Stats ────────────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-icon { font-size: 22px; }
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 36px; font-weight: 900;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}
.stat-label { font-size: 13px; color: var(--ink-muted); }

/* ── Search & Sort ────────────────────────────────────────────────────────── */
.search-row {
  display: flex; gap: 12px; align-items: center; margin-bottom: 28px;
}
.search-wrap { position: relative; flex: 1; }
.search-icon {
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%); opacity: 0.35;
  pointer-events: none;
}
.search-input {
  width: 100%; padding: 14px 20px 14px 50px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--ink); outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: rgba(74,124,89,0.4); }

.sort-select {
  padding: 12px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--ink); outline: none; cursor: pointer;
}

/* ── Tea Grid ─────────────────────────────────────────────────────────────── */
.section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 900;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.result-count { font-size: 13px; color: var(--ink-muted); }

.tea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px; margin-bottom: 72px;
}

.tea-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px; cursor: pointer;
  text-decoration: none; color: var(--ink);
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(8px);
  animation: fadeUp 0.5s ease both;
}
.tea-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74,124,89,0.22);
}
.tea-card:hover .tea-thumb-inner { transform: scale(1.06); }

.tea-thumb {
  height: 148px; border-radius: var(--radius-md);
  margin-bottom: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tea-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  font-size: 52px;
}
.tea-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}
.tea-card:hover .tea-thumb img { transform: scale(1.06); }

.tea-brand { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.tea-name {
  font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700;
  margin: 3px 0 10px; letter-spacing: -0.01em; line-height: 1.2;
}
.tea-desc { font-size: 13px; color: #7a7a72; line-height: 1.5; margin-bottom: 12px; font-weight: 300; }

/* ── Stars ────────────────────────────────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; }
.star { color: #e0ddd4; font-size: 14px; transition: transform 0.15s; }
.star.filled { color: var(--gold); }
.stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rating-val { font-size: 13px; color: var(--ink-muted); }
.rating-count { font-size: 12px; color: var(--ink-faint); }

/* ── Tags ─────────────────────────────────────────────────────────────────── */
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: rgba(42,42,40,0.05); color: var(--ink-soft);
  padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px;
}

/* ── Tea Detail ───────────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-muted); font-size: 14px; text-decoration: none;
  padding: 0 0 32px; transition: color var(--transition);
}
.back-link:hover { color: var(--ink); }

.tea-hero {
  height: 280px; border-radius: 24px; margin-bottom: 40px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 100px;
}
.tea-hero img { width: 100%; height: 100%; object-fit: cover; }
.tea-hero-overlay {
  position: absolute; inset: 0;
}

.detail-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start;
}
.detail-origin { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.detail-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  letter-spacing: -0.04em; margin: 8px 0 14px; line-height: 1.1;
}
.detail-description { font-size: 15px; color: #4a4a44; line-height: 1.75; font-weight: 300; }

.brewing-box {
  padding: 20px; border-radius: var(--radius-md); margin: 28px 0;
}
.brewing-label {
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 7px;
}
.brewing-text { font-size: 15px; color: #4a4a44; }

/* ── Reviews ──────────────────────────────────────────────────────────────── */
.reviews-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.reviews-title {
  font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800;
  text-transform: uppercase;
}
.review-count-label { font-weight: 400; font-size: 13px; color: var(--ink-muted); text-transform: none; }

.review-card {
  background: rgba(255,255,255,0.8); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px; margin-bottom: 12px;
  animation: fadeUp 0.4s ease both;
}
.review-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #f5f4f0, #eae9e3);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.review-username { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--ink-faint); }
.review-body { font-size: 14px; color: #4a4a44; line-height: 1.6; margin-bottom: 12px; }

.like-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 5px 14px;
  cursor: pointer; font-size: 13px; color: var(--ink-muted);
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
}
.like-btn:hover, .like-btn.liked {
  background: rgba(74,124,89,0.1);
  border-color: var(--green); color: var(--green);
}
.like-btn .heart { transition: transform 0.2s; }
.like-btn:hover .heart { transform: scale(1.3); }

/* ── Sources sidebar ──────────────────────────────────────────────────────── */
.sidebar-box {
  padding: 22px; border-radius: 16px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  backdrop-filter: blur(12px); margin-bottom: 16px;
}
.sidebar-title {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.source-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(74,124,89,0.05); border: 1px solid rgba(74,124,89,0.12);
  text-decoration: none; color: var(--ink); font-size: 14px;
  margin-bottom: 8px; transition: background var(--transition);
}
.source-link:hover { background: rgba(74,124,89,0.12); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-page {
  max-width: 520px; margin: 60px auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.4s ease;
}
.form-title {
  font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 6px;
}
.form-subtitle { font-size: 14px; color: var(--ink-muted); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 11px; color: var(--ink-muted);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--bg); font-size: 14px;
  font-family: 'DM Sans', sans-serif; color: var(--ink); outline: none;
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(74,124,89,0.5);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.08);
}
.form-textarea { min-height: 90px; resize: vertical; }

.form-error {
  color: #c0392b; font-size: 13px; margin-bottom: 14px;
  padding: 10px 14px; background: rgba(192,57,43,0.06);
  border-radius: var(--radius-sm); border: 1px solid rgba(192,57,43,0.15);
}
.form-switch {
  text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: 18px;
}
.form-switch a { color: var(--green); font-weight: 500; }

/* ── Upload zone ──────────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-md);
  padding: 28px; text-align: center; cursor: pointer;
  transition: all var(--transition); margin-bottom: 18px;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: rgba(74,124,89,0.45);
  background: rgba(74,124,89,0.03);
}
.upload-zone p { font-size: 14px; color: #7a7a72; }
.upload-zone small { font-size: 12px; color: var(--ink-faint); }
.upload-preview {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: var(--radius-md); display: block;
}

/* ── Stars interactive ────────────────────────────────────────────────────── */
.star-picker { display: inline-flex; gap: 4px; }
.star-picker .sp-star {
  font-size: 28px; cursor: pointer; color: #e0ddd4;
  transition: transform 0.15s, color 0.15s;
}
.star-picker .sp-star:hover,
.star-picker .sp-star.on { color: var(--gold); }
.star-picker .sp-star:hover { transform: scale(1.25); }

/* ── CTA section ──────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center; padding: 52px 40px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(74,124,89,0.06), rgba(107,158,58,0.04));
  border: 1px solid rgba(74,124,89,0.08); margin-bottom: 60px;
}
.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 4vw, 42px); font-weight: 900;
  letter-spacing: -0.04em; margin-bottom: 14px; text-transform: uppercase;
}
.cta-sub {
  font-size: 15px; color: #7a7a72; max-width: 360px;
  margin: 0 auto 22px; line-height: 1.6; font-weight: 300;
}

/* ── Toast ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; z-index: 9999;
  box-shadow: var(--shadow-lg); white-space: nowrap;
  animation: toastIn 0.35s cubic-bezier(.22,1,.36,1);
}
.toast--success { background: var(--green-dark); color: #fff; }
.toast--error   { background: #c0392b; color: #fff; }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.admin-table th, .admin-table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.admin-table th { font-weight: 600; color: var(--ink-muted); font-size: 12px; text-transform: uppercase; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500;
}
.badge--pending  { background: rgba(191,160,64,0.1);  color: #a07810; }
.badge--approved { background: rgba(74,124,89,0.1);   color: var(--green); }
.badge--rejected { background: rgba(192,57,43,0.1);   color: #c0392b; }

/* ── Empty state ──────────────────────────────────────────────────────────── */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-muted); font-size: 15px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px 40px; text-align: center;
  border-top: 1px solid var(--border); position: relative; z-index: 1;
}
.footer-logo {
  font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 800;
  letter-spacing: -0.02em; text-transform: uppercase; display: block; margin-bottom: 6px;
}
.site-footer p { font-size: 12px; color: var(--ink-faint); }

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.10s; }
.fade-up-3 { animation-delay: 0.15s; }
.fade-up-4 { animation-delay: 0.20s; }

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #d4d3cd; border-radius: 3px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Hamburger toggle — nur mobil sichtbar */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--ink); font-size: 22px;
  transition: background .2s;
}
.menu-toggle:hover { background: rgba(42,42,40,.06); }
.menu-toggle .bar {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s ease; margin: 4px auto;
}
.menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(250,249,246,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 16px;
  flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(42,42,40,.08);
  animation: slideDown .2s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  display: block; width: 100%; text-align: left;
  padding: 11px 16px; border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  text-decoration: none; color: var(--ink-soft);
  background: none; border: none; cursor: pointer;
  transition: background .15s;
}
.mobile-nav a:hover, .mobile-nav button:hover {
  background: rgba(42,42,40,.05);
}
.mobile-nav .mobile-nav-primary {
  margin-top: 6px; padding: 11px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-pill); text-align: center;
  font-weight: 500;
}
.mobile-nav .mobile-nav-primary:hover {
  background: var(--green);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .site-header { padding: 14px 20px; position: relative; }
  .main-content { padding: 0 16px 60px; }
  .hero { padding: 48px 20px 36px; margin-bottom: 32px; }
  .hero-title { font-size: 40px; }
  .stats-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .stat-value { font-size: 26px; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .tea-hero { height: 200px; }
  .search-row { flex-direction: column; }
  .sort-select { width: 100%; }
  .form-page { margin: 20px auto; padding: 28px 20px; }

  /* Nav: Desktop-Links verstecken, Hamburger zeigen */
  .site-nav .nav-link,
  .site-nav .btn,
  .site-nav form { display: none; }
  .menu-toggle { display: flex; }

  /* Category pills mobil: scrollbar statt wrap */
  .category-filter {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 8px; padding: 4px 0 8px;
    scrollbar-width: none;
  }
  .category-filter::-webkit-scrollbar { display: none; }
  .cat-pill { padding: 6px 12px; font-size: 12px; flex-shrink: 0; gap: 5px; border-width: 1px; }
  .cat-pill .emoji { font-size: 14px; }

  /* Tea grid: 2 Spalten auf kleinen Screens */
  .tea-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .tea-card { padding: 14px; }
  .tea-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .tea-name { font-size: 14px; }

  /* Admin-Tabellen scrollbar */
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }

  /* Profil mobil */
  .profile-header { flex-direction: column; text-align: center; gap: 16px; }
  .profile-stats { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .profile-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .profile-tabs::-webkit-scrollbar { display: none; }
  .ptab { flex-shrink: 0; padding: 8px 14px; font-size: 13px; }

  /* Featured box */
  .featured-name { font-size: 18px; }

  /* Newsletter box mobil */
  .newsletter-box form { flex-direction: column; }
  .newsletter-box input { width: 100% !important; }
}

@media (max-width: 400px) {
  .tea-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 6px; }
  .stat-card { padding: 16px 10px; }
  .stat-value { font-size: 22px; }
  .hero-title { font-size: 32px; }
}

/* ── Featured tea ─────────────────────────────────────────────────────────── */
.featured-box { padding:20px 24px; border-radius:16px; }
.featured-label { font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:10px; }
.featured-link { display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:var(--ink);gap:16px; }
.featured-name { font-family:'Outfit',sans-serif;font-size:22px;font-weight:800;letter-spacing:-.02em;margin-top:2px; }

/* ── Newsletter box ───────────────────────────────────────────────────────── */
.newsletter-box { background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:24px;backdrop-filter:blur(8px); }
