/*--- Rezepte.css Orange-Variante auf Basis des Originals ---*/
:root {
  --bg:#0b1220;
  --bg2:#0e1626;
  --card:#111827;
  --border:rgba(255,255,255,.08);
  --text:#e6edf7;
  --muted:#94a3b8;
  /* vorher: #eab308 */
  --accent:#f59e0b;
  --radius:16px;
  --shadow-main:0 20px 40px rgba(0,0,0,.6);
  /* vorher: rgba(234,179,8,...) */
  --glow-card:
    0 0 16px 4px rgba(245,158,11,.25),
    0 0 40px 14px rgba(245,158,11,.12),
    0 60px 120px rgba(0,0,0,.8);
}

/* Page base */
body {
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(245,158,11,.10), transparent 60%),
    radial-gradient(800px 600px at 110% 10%, rgba(245,158,11,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2) 45%, var(--bg));
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  margin:0;
  padding:2rem max(2rem,4vw);
  max-width:1300px;
  margin-inline:auto;
}

.header {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:1rem 2rem;
  margin-bottom:2rem;
}

.titles {
  flex:1 1 auto;
  min-width:240px;
}

h1 {
  margin:0;
  font-size:clamp(1.4rem,1vw+1rem,2rem);
  line-height:1.2;
  color: var(--text);
  /* vorher: rgba(234,179,8,.4) */
  text-shadow:0 0 12px rgba(245,158,11,.4);
}

.lead {
  margin:.4rem 0 0;
  color:var(--muted);
  font-size:.9rem;
  max-width:60ch;
}

.search-block {
  flex:0 0 260px;
  max-width:100%;
}

.search-block label {
  display:block;
  font-size:.8rem;
  color:var(--muted);
  margin-bottom:.25rem;
}

.search-block input {
  width:100%;
  background:var(--card);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:10px;
  padding:.6rem .8rem;
  font-size:1rem;
  line-height:1.4;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
  outline:0;
}
.search-block input:focus {
  border-color:var(--accent);
  box-shadow:
    0 0 12px rgba(245,158,11,.6),
    0 20px 40px rgba(0,0,0,.7);
}

/* Card grid */
.grid {
  display:grid;
  gap:1rem;
}
@media(min-width:600px){
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(min-width:900px){
  .grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

.card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-main);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:340px;
  transition:border-color .2s, box-shadow .2s, transform .08s;
}

.card:hover {
  /* vorher: rgba(234,179,8,.5) */
  border-color:rgba(245,158,11,.5);
  box-shadow:var(--glow-card);
  transform:translateY(-2px);
}

/* Bild oben */
.card__img {
  aspect-ratio:16 / 9;
  background:#000;
  border-bottom:1px solid var(--border);
  overflow:hidden;
}
.card__img img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Body */
.card__body {
  flex:1 1 auto;
  padding:1rem 1rem 0;
  display:flex;
  flex-direction:column;
}

.card__title {
  font-size:1rem;
  font-weight:600;
  line-height:1.3;
  margin:0 0 .4rem;
  color:var(--text);
}

.card__desc {
  font-size:.85rem;
  line-height:1.4;
  color:var(--muted);
  margin:0 0 .75rem;
  flex:1 1 auto;
}

/* Status-Badge (Scan fehlt etc.) */
.status {
  display:inline-block;
  align-self:flex-start;
  font-size:.7rem;
  line-height:1.2;
  font-weight:500;
  border-radius:999px;
  /* vorher: rgba(234,179,8,.5) / .15 */
  border:1px solid rgba(245,158,11,.5);
  background:rgba(245,158,11,.15);
  color:var(--text);
  padding:.3rem .6rem;
  margin:0 0 .75rem;
  max-width:20ch;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

/* Tags */
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem .5rem;
  margin:0 0 1rem;
}
.tag {
  font-size:.7rem;
  line-height:1.2;
  border-radius:999px;
  /* vorher: rgba(234,179,8,.4) / .12 */
  border:1px solid rgba(245,158,11,.4);
  background:rgba(245,158,11,.12);
  color:var(--text);
  padding:.25rem .6rem;
  max-width:20ch;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

/* Footer / Button */
.card__footer {
  padding:0 1rem 1rem;
}

.btn {
  appearance:none;
  border:0;
  border-radius:10px;
  background:var(--accent);
  color:#000;
  font-size:.9rem;
  line-height:1.2;
  font-weight:600;
  padding:.6rem .8rem;
  width:100%;
  text-align:center;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  box-shadow:0 10px 30px rgba(0,0,0,.8);
  transition:filter .15s, transform .08s;
}
.btn:hover {
  filter:brightness(1.1);
  transform:translateY(-1px);
  box-shadow:
    0 0 10px rgba(245,158,11,.6),
    0 20px 40px rgba(0,0,0,.8);
}

.nohits {
  color:var(--muted);
  font-size:.9rem;
  line-height:1.4;
  padding:.5rem .25rem;
}

.footer-hint {
  margin-top:3rem;
  font-size:1rem;
  line-height:1.4;
  color:#475569;
  text-align:center;
}
