/* =============================================
   timsfooddiary.de — Stylesheet
   Dark-elegant · Mobil-first
   ============================================= */

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

:root {
  --bg:          #0f0f0f;
  --bg-card:     #1a1a1a;
  --bg-card-2:   #222222;
  --border:      #2a2a2a;
  --text:        #f5f0e8;
  --text-muted:  #9a9488;
  --text-dim:    #5c5750;
  --accent:      #e8a030;
  --accent-dark: #c4871f;
  --accent-glow: rgba(232,160,48,0.12);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 100px;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.4);
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max-w:       1100px;
  --transition:  0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem);  font-weight: 700; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p  { font-size: 1rem; }

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--sm {
  padding: 40px 0;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 0.9rem;
}

.nav__links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0f0f0f;
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,48,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.btn--ghost {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 9px 18px;
}

.btn--ghost:hover {
  color: var(--text);
  background: var(--bg-card-2);
}

/* --- Hero (Startseite) --- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.2);
  margin: 0 auto 24px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px var(--accent-glow);
}

.hero__handle {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero__title {
  margin-bottom: 16px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__bio {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-header__sub {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

/* --- Recipe Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 540px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-3px);
  border-color: #333;
  box-shadow: var(--shadow);
}

.recipe-card__thumb {
  aspect-ratio: 1/1;
  background: var(--bg-card-2);
  position: relative;
  overflow: hidden;
}

.recipe-card__thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.recipe-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  display: block;
  transition: transform 0.5s ease;
}
.recipe-card:hover .recipe-card__thumb img {
  transform: scale(1.06);
}

.recipe-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.recipe-card__badge--new {
  background: var(--accent);
  color: #0f0f0f;
}

.recipe-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recipe-card__hook {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.recipe-card__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.recipe-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: auto;
}

.recipe-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.recipe-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.tag:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Search & Filter (rezepte.html) --- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 20px;
  transition: border-color var(--transition);
  margin-bottom: 20px;
}

.search-bar:focus-within {
  border-color: var(--accent);
}

.search-bar__icon {
  color: var(--text-dim);
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  padding: 14px 0;
}

.search-bar input::placeholder {
  color: var(--text-dim);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.chip {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.chip:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f0f0f;
}

.no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* --- Single Recipe Page --- */
.recipe-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.recipe-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.recipe-hero__back:hover {
  color: var(--text);
}

.recipe-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.recipe-hero__hook {
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  font-style: italic;
  color: var(--text-muted);
  margin: 16px 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}

.recipe-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.recipe-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recipe-meta-item__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}

.recipe-meta-item__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Recipe Tools (Drucken / Wake Lock) --- */
.recipe-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.recipe-tools__btn {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.recipe-tools__btn--active {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Ingredients Table --- */
.ingredients-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.ingredients-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.ingredients-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ingredients-table tr:last-child td {
  border-bottom: none;
}

.ingredients-table td:first-child {
  font-weight: 600;
  min-width: 150px;
}

.ingredients-table td:nth-child(2) {
  color: var(--accent);
  font-weight: 600;
  min-width: 80px;
}

.ingredients-table td:nth-child(3) {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.ingredients-section-header td {
  padding-top: 20px;
  padding-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

/* --- Steps --- */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}

.step__num {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.step__text {
  padding-top: 6px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.step__text strong {
  color: var(--accent);
}

/* --- Info Boxes --- */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 20px;
}

.info-box--accent {
  background: var(--accent-glow);
  border-color: rgba(232,160,48,0.25);
}

.info-box__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.info-box__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.info-box__text + .info-box__text {
  margin-top: 8px;
}

/* --- Nutrition Grid --- */
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 400px) {
  .nutrition-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nutrition-item {
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.nutrition-item__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.nutrition-item__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-top: 4px;
}

/* --- Share Buttons --- */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1db954;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn--copy {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--copy:hover {
  border-color: var(--text-muted);
}

.btn--copy.copied {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

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

/* --- Content Sections on Recipe Page --- */
.recipe-content {
  padding: 48px 0 80px;
}

.recipe-section {
  margin-bottom: 48px;
}

.recipe-section__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.recipe-section__heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
}

.footer__logo span {
  color: var(--accent);
}

.footer__handle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* --- Responsive Tweaks --- */
@media (min-width: 700px) {
  .recipe-hero {
    padding: 64px 0 48px;
  }

  .nutrition-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 96px 0 72px;
  }

  .section {
    padding: 80px 0;
  }
}

/* --- About Page --- */
.about-hero {
  padding: 64px 0;
}

.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 700px) {
  .about-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
}

.about-hero__img-wrap {
  flex-shrink: 0;
}

.about-hero__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px var(--accent-glow);
  display: block;
}

@media (min-width: 700px) {
  .about-hero__img {
    width: 240px;
    height: 240px;
  }
}

.about-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.about-social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.about-social__link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5750' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* --- Footer Socials --- */
.footer__socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social-link {
  color: var(--text-dim);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer__social-link:hover {
  color: var(--accent);
}

.footer__social-link--soon {
  opacity: 0.4;
  cursor: default;
}

.footer__social-link--soon:hover {
  color: var(--text-dim);
  opacity: 0.4;
}

/* --- Utility --- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* =============================================
   VIBRANCY UPDATE — Multi-Color Energy
   ============================================= */

:root {
  --accent-red:    #e8304a;
  --accent-ice:    #4fc3f7;
  --accent-green:  #4caf7d;
  --accent-purple: #9c6bdf;
}

/* HERO — ambient multi-color glow */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(232,160,48,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 90% 88%, rgba(232,48,74,0.07)  0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at  8% 72%, rgba(79,195,247,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

/* HERO TITLE — orange-to-red gradient em */
.hero__title em {
  background: linear-gradient(130deg, #f0b040 0%, #e84030 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

/* AVATAR — pulsing glow */
@keyframes avatarPulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(232,160,48,0.12); }
  50%      { box-shadow: 0 0 0 10px rgba(232,160,48,0.06), 0 0 50px rgba(232,160,48,0.08); }
}
.hero__avatar { animation: avatarPulse 4s ease-in-out infinite; }

/* RECIPE CARDS — vibrant hover */
.recipe-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,160,48,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,160,48,0.18), 0 0 28px rgba(232,160,48,0.05);
}

/* CATEGORY HOOK BORDERS */
.recipe-card--scharf   .recipe-card__hook { border-color: var(--accent-red);    }
.recipe-card--eis      .recipe-card__hook { border-color: var(--accent-ice);    }
.recipe-card--vegan    .recipe-card__hook { border-color: var(--accent-green);  }
.recipe-card--personal .recipe-card__hook { border-color: var(--accent-purple); }

/* CATEGORY THUMB TINTS */
.recipe-card--scharf   .recipe-card__thumb { background: linear-gradient(135deg, #1a0a0d, #200f12); }
.recipe-card--eis      .recipe-card__thumb { background: linear-gradient(135deg, #0a1520, #0c1a26); }
.recipe-card--personal .recipe-card__thumb { background: linear-gradient(135deg, #110a1f, #150d23); }

/* COLORED TAGS */
.tag--scharf    { background: rgba(232,48,74,0.12);  border-color: rgba(232,48,74,0.3);  color: #ff6b80 !important; }
.tag--eis       { background: rgba(79,195,247,0.12); border-color: rgba(79,195,247,0.3); color: #7fd8f7 !important; }
.tag--vegan     { background: rgba(76,175,125,0.12); border-color: rgba(76,175,125,0.3); color: #6dcc97 !important; }
.tag--personal  { background: rgba(156,107,223,0.12);border-color:rgba(156,107,223,0.3); color: #b589f0 !important; }
.tag--italian   { background: rgba(232,160,48,0.12); border-color: rgba(232,160,48,0.3); color: #f0b040 !important; }
.tag--tuerkisch { background: rgba(220,90,30,0.12);  border-color: rgba(220,90,30,0.3);  color: #f0903a !important; }

/* COLORED BADGES */
.recipe-card__badge--viral    { background: linear-gradient(135deg,#e8a030,#e85030); color:#fff; font-weight:700; }
.recipe-card__badge--fire     { background: linear-gradient(135deg,#e8304a,#900020); color:#fff; font-weight:700; }
.recipe-card__badge--ice      { background: linear-gradient(135deg,#4fc3f7,#0277bd); color:#fff; font-weight:700; }
.recipe-card__badge--personal { background: linear-gradient(135deg,#9c6bdf,#5020a0); color:#fff; font-weight:700; }

/* FILTER CHIPS — category colors when active */
.chip[data-filter="scharf"].active    { background: var(--accent-red);    border-color: var(--accent-red);    color: #fff; }
.chip[data-filter="eis"].active       { background: var(--accent-ice);    border-color: var(--accent-ice);    color: #0f0f0f; }
.chip[data-filter="vegan"].active     { background: var(--accent-green);  border-color: var(--accent-green);  color: #0f0f0f; }
.chip[data-filter="personal"].active  { background: var(--accent-purple); border-color: var(--accent-purple); color: #fff; }

/* SECTION HEADER SUB — gradient */
.section-header__sub {
  background: linear-gradient(90deg, var(--accent) 0%, #e84030 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* NAV LOGO — subtle gold glow */
.nav__logo span { text-shadow: 0 0 14px rgba(232,160,48,0.25); }

/* IG LINK INDICATOR — kleine Marke auf IG-verlinkten Karten */
.recipe-card__ig-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
  transition: color var(--transition);
}
.recipe-card:hover .recipe-card__ig-hint { color: var(--accent); }

/* =============================================
   HERO SLIDESHOW — Ken Burns Fade
   ============================================= */

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.60) 60%,
    rgba(10, 10, 10, 0.75) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroKenBurns 40s infinite;
  will-change: transform, opacity;
}

/* 8 slides × 5s delay = 40s cycle */
.hero__slide:nth-child(1) { animation-delay:  0s; }
.hero__slide:nth-child(2) { animation-delay:  5s; }
.hero__slide:nth-child(3) { animation-delay: 10s; }
.hero__slide:nth-child(4) { animation-delay: 15s; }
.hero__slide:nth-child(5) { animation-delay: 20s; }
.hero__slide:nth-child(6) { animation-delay: 25s; }
.hero__slide:nth-child(7) { animation-delay: 30s; }
.hero__slide:nth-child(8) { animation-delay: 35s; }

/* Odd slides: zoom in. Even slides: zoom out — more cinematic */
.hero__slide:nth-child(odd)  { transform-origin: 60% 50%; }
.hero__slide:nth-child(even) { transform-origin: 40% 50%; }

@keyframes heroKenBurns {
  0%   { opacity: 0; transform: scale(1.10); }
  6%   { opacity: 1; }
  25%  { opacity: 1; }
  31%  { opacity: 0; transform: scale(1.00); }
  100% { opacity: 0; transform: scale(1.10); }
}

/* First slide visible instantly on load */
.hero__slide:nth-child(1) { animation-delay: 0s; }

/* STATS GRID — 2×2 auf Mobile, 4×1 ab 480px */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 20px 16px;
  padding: 16px 0;
}
@media (min-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* MOBILE NAV — Hamburger-Menü */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 699px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.nav__links--open {
    max-height: 400px;
  }
  .nav__links li {
    padding: 0;
  }
  .nav__links a {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
  }
}

/* --- Druckansicht (Rezeptseiten) --- */
@media print {
  .nav, .footer, .hero, .hero__slideshow, .search-bar, .filter-chips,
  .recipe-tools, .recipe-hero__back, .toast, #btn-copy {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .recipe-hero {
    background-image: none !important;
    padding: 0 0 16px !important;
    border-bottom: 2px solid #000;
  }

  .recipe-hero > div[style*="position:absolute"] {
    display: none !important;
  }

  .recipe-hero .container,
  .recipe-hero h1,
  .recipe-hero__hook {
    color: #000 !important;
    text-shadow: none !important;
  }

  a[href*="instagram.com"],
  .recipe-section[style*="text-align:center"] {
    display: none !important;
  }

  .recipe-meta-item__label,
  .recipe-meta-item__value {
    color: #000 !important;
  }

  .recipe-content {
    max-width: 100% !important;
  }

  .ingredients-table th,
  .ingredients-table td,
  .divider {
    border-color: #000 !important;
  }

  .step__num {
    background: #000 !important;
    color: #fff !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .tag {
    border: 1px solid #000 !important;
    color: #000 !important;
    background: none !important;
  }
}
