/* ============================================================
   Rezept-Upload — bespoke page skin
   Scoped under .rezept-page — overrides the legacy rounded
   recipe-* styling with the redesign language:
   dark forest bands, 3px green LEFT-border signature cards,
   bold tight headings, senior-friendly targets, no hover-underlines.
   (style.css is NOT edited; every rule below wins by scope.)
   ============================================================ */

.rezept-page{--rz-forest:linear-gradient(160deg,#1a2b0e 0%,#233212 100%)}

/* ---- HERO — dark forest entrance ------------------------- */
.rezept-page .recipe-hero{
  background:var(--rz-forest);
  padding:3.75rem 0 3.25rem;
}
.rezept-page .recipe-hero-grid{align-items:center;gap:2rem}
.rezept-page .recipe-hero .eyebrow{
  border-bottom-color:rgba(174,201,12,.6);
  color:#c8e417;
}
.rezept-page .recipe-hero h1{
  color:#fff;
  font-weight:800;
  letter-spacing:-.045em;
  line-height:1.05;
  font-size:clamp(2.15rem,4.4vw,3.4rem);
}
.rezept-page .recipe-hero .lead{
  color:rgba(255,255,255,.8);
  line-height:1.7;
}
.rezept-page .recipe-hero-actions{margin:1.5rem 0 1.1rem}
.rezept-page .recipe-hero .btn-soft{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.3);
  color:#fff;
}
.rezept-page .recipe-hero .btn-soft:hover{
  background:rgba(255,255,255,.22);
  border-color:rgba(255,255,255,.45);
  color:#fff;
}
.rezept-page .recipe-hero .aid-phone-note{color:rgba(255,255,255,.72)}
.rezept-page .recipe-hero .aid-phone-note a{color:#c8e417;font-weight:700}

/* Security aside — white signature card on the dark band */
.rezept-page .recipe-security-card{
  background:#fff;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
  padding:1.6rem;
}
.rezept-page .recipe-security-icon{
  width:54px;height:54px;
  border-radius:14px;
  background:var(--rz-forest);
  color:#c8e417;
  font-size:1.3rem;
  margin-bottom:1rem;
}
.rezept-page .recipe-security-card h2{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:-.03em;
  color:var(--ink);
}
.rezept-page .recipe-security-card ul{
  color:var(--ink-soft);
  gap:.7rem;
  margin-top:1rem;
  padding-left:1.15rem;
}
.rezept-page .recipe-security-card li::marker{color:var(--brand-dark)}

/* ---- MAIN GRID ------------------------------------------- */
.rezept-page .recipe-upload-grid{align-items:start;gap:1.75rem}

/* Form card — signature left-border, calm surface */
.rezept-page .recipe-form-card{
  background:#fff;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
  padding:1.75rem;
}
.rezept-page .recipe-form-head{margin-bottom:1.4rem}
.rezept-page .recipe-form-head h2{
  font-size:clamp(1.45rem,2.6vw,1.9rem);
  font-weight:800;
  letter-spacing:-.045em;
  color:var(--ink);
  margin-bottom:.5rem;
}
.rezept-page .recipe-form-head p{color:var(--muted);line-height:1.65;margin-bottom:0}

/* Larger, calmer labels & controls — senior-friendly targets */
.rezept-page .recipe-form-card .form-label{
  font-weight:700;
  color:var(--ink);
  font-size:.98rem;
}
.rezept-page .recipe-form-card .form-control,
.rezept-page .recipe-form-card .form-select{
  min-height:50px;
  border-radius:10px;
  border-color:var(--border-soft);
  font-size:1.02rem;
}
.rezept-page .recipe-form-card .form-control:focus,
.rezept-page .recipe-form-card .form-select:focus{
  border-color:var(--brand-dark);
  box-shadow:0 0 0 .22rem rgba(174,201,12,.2);
}
.rezept-page .recipe-form-card textarea.form-control{min-height:auto}
.rezept-page .recipe-form-card .text-danger{color:var(--brand-text)!important;font-weight:800}

/* ---- DROPZONE — clear, high-contrast file target --------- */
.rezept-page .recipe-dropzone{
  gap:.6rem;
  padding:2rem 1.5rem;
  border-radius:0 14px 14px 0;
  border:2px dashed rgba(122,149,0,.45);
  border-left:3px solid var(--brand);
  background:var(--surface);
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.rezept-page .recipe-dropzone:hover,
.rezept-page .recipe-dropzone:focus-within{
  border-color:var(--brand-dark);
  border-left-color:var(--brand-dark);
  background:#eef4dd;
  transform:translateY(-1px);
}
.rezept-page .recipe-dropzone-icon{
  width:60px;height:60px;
  border-radius:16px;
  background:var(--rz-forest);
  color:#c8e417;
  font-size:1.5rem;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
}
.rezept-page .recipe-dropzone strong{
  font-size:1.08rem;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--ink);
}
.rezept-page .recipe-dropzone small{color:var(--muted);font-size:.9rem}
/* keep the real <input type=file> visually hidden but reachable (JS/label hook) */
.rezept-page .recipe-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.rezept-page .recipe-dropzone:focus-within{outline:2px solid transparent}

/* Consent — calm editorial checkbox row */
.rezept-page .recipe-consent{
  padding:1.1rem 1.15rem;
  border-radius:0 12px 12px 0;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  background:var(--surface);
}
.rezept-page .recipe-consent span{color:var(--ink-soft);line-height:1.55}
.rezept-page .recipe-consent input{width:22px;height:22px;accent-color:var(--brand-dark)}

/* Submit row */
.rezept-page .recipe-form-card .btn-brand{
  padding:.85rem 1.75rem;
  font-weight:800;
  letter-spacing:-.01em;
}
.rezept-page .recipe-form-card .small.text-muted{color:var(--muted)!important}

/* ---- SIDE STACK ------------------------------------------ */
.rezept-page .recipe-side-stack{gap:1.25rem;top:calc(var(--site-header-offset,180px) + 1.25rem)}

.rezept-page .recipe-card{
  background:#fff;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
  padding:1.5rem;
}
.rezept-page .recipe-card h2,
.rezept-page .recipe-card h3{
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--ink);
}
.rezept-page .recipe-card:not(.dark) p{color:var(--muted);line-height:1.6}

/* Dark "Ablauf" card — forest band */
.rezept-page .recipe-card.dark{
  background:var(--rz-forest);
  border-left-color:var(--brand);
  color:#fff;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
}
.rezept-page .recipe-card.dark h2{color:#fff}
.rezept-page .recipe-card.dark .eyebrow-strong,
.rezept-page .recipe-card.dark .eyebrow{background:none;color:#c8e417;border-bottom-color:rgba(174,201,12,.6)}
.rezept-page .recipe-step-list > div > span{
  border-radius:11px;
  background:var(--brand);
  color:var(--brand-ink);
  font-weight:900;
}
.rezept-page .recipe-step-list strong{color:#fff}
.rezept-page .recipe-step-list p{color:rgba(255,255,255,.72)}

/* ---- SUCCESS / ERROR — calm states ----------------------- */
.rezept-page .recipe-success-card{
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;
  box-shadow:0 2px 10px rgba(26,36,16,.05);
  padding:1.5rem;
  margin-bottom:1.4rem;
}
.rezept-page .recipe-success-card .eyebrow{margin-bottom:.5rem}
.rezept-page .recipe-success-card h2{
  font-size:1.35rem;
  font-weight:800;
  letter-spacing:-.035em;
  color:var(--ink);
  margin:.3rem 0 .8rem;
}
.rezept-page .recipe-success-card p{color:var(--ink-soft);line-height:1.65}
.rezept-page .recipe-success-reference{
  border-radius:0 10px 10px 0;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  background:#fff;
  padding:1rem 1.1rem;
  margin:.9rem 0;
}
.rezept-page .recipe-success-reference span{color:var(--brand-text);font-weight:800}
.rezept-page .recipe-success-reference strong{
  font-size:1.4rem;
  letter-spacing:.03em;
  color:var(--brand-ink);
}
.rezept-page .alert-danger{
  border-radius:0 10px 10px 0;
  border:1px solid rgba(188,48,48,.28);
  border-left:3px solid #bc3030;
  background:#fff6f6;
  color:#8a2020;
  font-weight:600;
}

/* ---- TRUST STRIP — editorial items ----------------------- */
.rezept-page .recipe-trust-grid{gap:1.25rem}
.rezept-page .recipe-trust-grid article{
  background:#fff;
  border:1px solid var(--border-soft);
  border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;
  box-shadow:none;
  padding:1.5rem 1.4rem;
  transition:border-left-color .15s ease,box-shadow .15s ease;
}
.rezept-page .recipe-trust-grid article:hover{
  border-left-color:var(--brand-dark);
  box-shadow:0 2px 10px rgba(26,36,16,.05);
}
.rezept-page .recipe-trust-grid i{
  width:50px;height:50px;
  border-radius:14px;
  background:var(--surface);
  color:var(--brand-dark);
  font-size:1.25rem;
  margin-bottom:1rem;
}
.rezept-page .recipe-trust-grid h3{
  font-size:1.08rem;
  font-weight:800;
  letter-spacing:-.03em;
  color:var(--ink);
}
.rezept-page .recipe-trust-grid p{color:var(--muted);line-height:1.65}

/* Section heading in the trust block */
.rezept-page .section-heading h2{letter-spacing:-.045em;font-weight:800;color:var(--ink)}

/* ============================================================
   REZEPT-STATUS (/rezept-upload/status/…) — portal/recipe-status.php
   ============================================================ */
.rezept-page .recipe-status-hero{background:var(--rz-forest);padding:3.5rem 0 3rem}
.rezept-page .recipe-status-grid{gap:2rem;align-items:center}
.rezept-page .recipe-status-hero .eyebrow{border-bottom-color:rgba(174,201,12,.6);color:#c8e417}
.rezept-page .recipe-status-grid h1{
  color:#fff;font-weight:800;letter-spacing:-.045em;line-height:1.06;
  font-size:clamp(2rem,4.2vw,3.2rem);
}
.rezept-page .recipe-status-hero .lead{color:rgba(255,255,255,.82);line-height:1.7}
/* Referenznummer — helle Zeile mit Markenkante auf dem Wald-Band */
.rezept-page .recipe-status-hero .recipe-reference-card{
  display:inline-grid;gap:.15rem;margin:1.1rem 0 0;padding:.35rem 0 .35rem 1rem;
  background:none;border:0;border-left:3px solid var(--brand);border-radius:0;
}
.rezept-page .recipe-status-hero .recipe-reference-card span{
  color:#c8e417;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.rezept-page .recipe-status-hero .recipe-reference-card strong{color:#fff;font-size:1.5rem;letter-spacing:.04em}
/* Aktueller Stand — weiße Signatur-Karte auf dem Band */
.rezept-page .recipe-status-card{
  background:#fff;border:1px solid var(--border-soft);border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;box-shadow:0 2px 10px rgba(26,36,16,.05);padding:1.5rem;
}
.rezept-page .recipe-status-card > span{
  color:var(--brand-text);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.rezept-page .recipe-status-card strong{font-family:var(--font-display);font-weight:800;letter-spacing:-.04em;color:var(--ink);font-size:1.9rem;line-height:1.1}
.rezept-page .recipe-status-card p{color:var(--ink-soft)}
.rezept-page .recipe-status-card .btn{min-height:44px;display:inline-flex;align-items:center}

/* Prozessleiste — fünf Signatur-Felder */
.rezept-page .recipe-process-bar{gap:.6rem;margin-bottom:1.75rem}
.rezept-page .recipe-process-bar div{
  padding:.85rem .95rem;background:#fff;color:var(--muted);
  border:1px solid var(--border-soft);border-left:3px solid var(--border-soft);
  border-radius:0 12px 12px 0;box-shadow:none;
}
.rezept-page .recipe-process-bar span{
  width:32px;height:32px;border-radius:10px;background:var(--surface);color:var(--muted);
  font-family:var(--font-display);font-weight:800;
}
.rezept-page .recipe-process-bar strong{font-size:.95rem;color:inherit}
.rezept-page .recipe-process-bar .is-done{border-left-color:var(--brand);color:var(--ink-soft);background:#fff}
.rezept-page .recipe-process-bar .is-done span{background:var(--brand);color:var(--brand-ink)}
.rezept-page .recipe-process-bar .is-current{border-left-color:var(--brand-dark);background:var(--surface);color:var(--ink);box-shadow:none}
.rezept-page .recipe-process-bar .is-current span{background:var(--brand-text);color:#fff}

/* Verlauf + Rückfrage — Signatur-Karten, Zeitleiste mit Trennlinien */
.rezept-page .recipe-status-content{gap:1.5rem}
.rezept-page .recipe-status-panel{
  background:#fff;border:1px solid var(--border-soft);border-left:3px solid var(--brand);
  border-radius:0 14px 14px 0;box-shadow:none;padding:1.5rem;
}
.rezept-page .recipe-status-panel h2{font-size:1.45rem;font-weight:800;letter-spacing:-.04em;color:var(--ink)}
.rezept-page .recipe-status-panel p{color:var(--ink-soft)}
.rezept-page .recipe-status-timeline{gap:0;border-top:1px solid var(--border-soft)}
.rezept-page .recipe-status-timeline article{
  padding:1rem 0;background:none;border:0;border-bottom:1px solid var(--border-soft);border-radius:0;
}
.rezept-page .recipe-status-timeline time{color:var(--brand-text);font-weight:800}
.rezept-page .recipe-status-timeline strong{color:var(--ink)}
.rezept-page .recipe-question-form .form-control{min-height:50px;border-radius:10px;border-color:var(--border-soft);font-size:1.02rem}
.rezept-page .recipe-question-form .form-control:focus{border-color:var(--brand-dark);box-shadow:0 0 0 .22rem rgba(174,201,12,.2)}
.rezept-page .recipe-question-form .form-label{font-weight:700;color:var(--ink)}
.rezept-page .recipe-question-list{border-top-color:var(--border-soft)}
.rezept-page .recipe-question-list > strong{color:var(--ink)}
.rezept-page .recipe-question-list div{background:none;border-radius:0;padding:.75rem 0;border-bottom:1px solid var(--border-soft)}
.rezept-page .recipe-question-list small{color:var(--brand-text);font-weight:800}

/* ---- No hover-underlines (colour shift instead) ---------- */
.rezept-page a:hover,
.rezept-page a:focus-visible{text-decoration:none}
.rezept-page .aid-phone-note a:hover,
.rezept-page .recipe-card a:hover{color:var(--brand-text)}

/* ---- Responsive ≤ 540 / ≤ 400 — senior-friendly ---------- */
@media (max-width:768px){
  .rezept-page .recipe-hero,
  .rezept-page .recipe-status-hero{padding:2.75rem 0 2.5rem}
  .rezept-page .recipe-side-stack{position:static}
}
@media (max-width:400px){
  .rezept-page .recipe-form-card,
  .rezept-page .recipe-card,
  .rezept-page .recipe-security-card,
  .rezept-page .recipe-success-card,
  .rezept-page .recipe-trust-grid article{padding:1.15rem 1.15rem 1.15rem 1.25rem}
  .rezept-page .recipe-dropzone{padding:1.5rem 1rem}
  .rezept-page .recipe-form-card .form-control,
  .rezept-page .recipe-form-card .form-select{min-height:52px}
  .rezept-page .recipe-form-card .btn-brand{width:100%}
  .rezept-page .recipe-hero h1{font-size:clamp(1.85rem,8vw,2.3rem)}
}
.rezept-page .recipe-dropzone-file{display:block;font-weight:700;color:var(--brand-text,#536400)}
.rezept-page .recipe-dropzone-file:empty{display:none}
