/* ============================================================
   Paulinas Backstube – Design
   Farbwelt: Salbeigrün, Creme, Schokobraun, Karamell
   ============================================================ */

/* ===== Lokale Schriftarten =====
   Bewusst lokal eingebunden (kein Laden von Google-Servern),
   damit beim Seitenaufruf keine Daten an Dritte fließen. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/playfair-display-700.woff2") format("woff2");
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/quicksand-400.woff2") format("woff2");
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/quicksand-500.woff2") format("woff2");
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/quicksand-600.woff2") format("woff2");
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/quicksand-700.woff2") format("woff2");
}

:root {
  --gruen: #5f7350;
  --gruen-dunkel: #49593d;
  --salbei-hell: #edf1e6;
  --karamell: #b57e46;
  --braun: #4a3728;
  --creme: #faf7f2;
  --sand: #f1ebe0;
  --text: #433d34;
  --grau: #7c7365;
  --linie: #ddd4c3;
  --weiss: #ffffff;
  --fehler: #a8423b;
  --schatten: 0 10px 30px rgba(74, 55, 40, 0.10);
  --schatten-tief: 0 18px 45px rgba(74, 55, 40, 0.16);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

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

/* Elemente mit hidden-Attribut immer ausblenden,
   auch wenn eine Klasse eine display-Eigenschaft setzt */
[hidden] {
  display: none !important;
}

/* ===== Kopfbereich / Navigation ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Glas-Look (Aero): durchscheinend, dahinter verschwimmt die Seite */
  background: rgba(250, 247, 242, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

/* Browser ohne Unschärfe-Effekt bekommen einen fast deckenden Hintergrund */
@supports not (backdrop-filter: blur(1px)) {
  .header {
    background: rgba(250, 247, 242, 0.94);
  }
}

.nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--braun);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--karamell);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--gruen-dunkel);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Menü fürs Handy */
.menue-schalter,
.menue-icon {
  display: none;
}

/* ===== Startbereich (Hero) ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--weiss);
  background: url("images/hero.jpg") center/cover no-repeat;
  padding: 4rem 1.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Etwas heller als früher – die Glas-Karte sorgt für die Lesbarkeit */
  background: linear-gradient(180deg, rgba(40, 34, 24, 0.30), rgba(40, 34, 24, 0.52));
}

.hero-inhalt {
  position: relative;
  max-width: 760px;
  /* Glas-Karte über dem Backfoto */
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  padding: 3rem 2.5rem;
  box-shadow: 0 24px 60px rgba(20, 15, 10, 0.28);
}

@supports not (backdrop-filter: blur(1px)) {
  .hero-inhalt {
    background: rgba(40, 34, 24, 0.45);
  }
}

.hero-kicker {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.2rem;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ===== Knöpfe ===== */
.button {
  display: inline-block;
  background: var(--gruen);
  color: var(--weiss);
  padding: 0.95rem 2.4rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--schatten);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.button:hover {
  background: var(--gruen-dunkel);
  transform: translateY(-3px);
  box-shadow: var(--schatten-tief);
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.button-klein {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--gruen);
  color: var(--weiss);
  transition: background 0.2s;
}

.button-klein:hover {
  background: var(--gruen-dunkel);
}

.button-neben {
  background: var(--sand);
  color: var(--braun);
}

.button-neben:hover {
  background: var(--linie);
}

.button-gefahr {
  background: #f3e0dd;
  color: var(--fehler);
}

.button-gefahr:hover {
  background: #e8cbc6;
}

/* ===== Abschnitte ===== */
.abschnitt {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
  text-align: center;
}

.abschnitt-hell {
  max-width: 100%;
  background: var(--sand);
}

.abschnitt-hell > *:not(.karten) {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.augenbrauen {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--karamell);
  margin-bottom: 0.6rem;
}

.augenbrauen-hell {
  color: #e8d9b8;
}

.abschnitt h1,
.abschnitt h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--braun);
  margin-bottom: 0.6rem;
}

.abschnitt-untertitel {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--grau);
}

.abschnitt-untertitel-hell {
  color: #eef0e6;
}

/* ===== Über mich ===== */
.ueber-mich {
  text-align: left;
}

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.ueber-bild img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten-tief);
}

.ueber-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--braun);
  margin-bottom: 1.2rem;
}

.ueber-text p {
  margin-bottom: 1rem;
  font-size: 1.08rem;
}

.ueber-text .button {
  margin-top: 0.6rem;
}

/* ===== Karten ===== */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

/* Kompaktere Kacheln für Rezeptlisten */
.karten-klein {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
}

.karten-klein .karte-inhalt {
  padding: 1.1rem 1.2rem 1.4rem;
}

.karten-klein .karte h3 {
  font-size: 1.15rem;
}

.karte {
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  text-align: left;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.karte:hover {
  transform: translateY(-8px);
  box-shadow: var(--schatten-tief);
}

.karte-bild {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.karte-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.karte:hover .karte-bild img {
  transform: scale(1.06);
}

.karte-platzhalter {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.karte-inhalt {
  padding: 1.4rem 1.5rem 1.8rem;
}

.karte h3 {
  color: var(--braun);
  margin: 0.5rem 0 0.4rem;
  font-size: 1.3rem;
}

.karte p {
  color: var(--grau);
}

.karte-meta {
  font-size: 0.9rem;
  font-weight: 600;
}

.badge {
  display: inline-block;
  background: var(--salbei-hell);
  color: var(--gruen-dunkel);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ===== Rezeptübersicht: Suche + Filter ===== */
.werkzeuge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.suche {
  width: min(420px, 100%);
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--linie);
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--weiss);
}

.suche:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(95, 115, 80, 0.15);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.chip {
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--text);
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  border-color: var(--gruen);
  color: var(--gruen-dunkel);
}

.chip-aktiv,
.chip-aktiv:hover {
  background: var(--gruen);
  border-color: var(--gruen);
  color: var(--weiss);
}

.leer-hinweis {
  color: var(--grau);
  font-size: 1.1rem;
  padding: 2rem 0;
}

/* ===== Rezept-Detailseite ===== */
.rezept-detail {
  text-align: left;
}

.zurueck {
  display: inline-block;
  margin-bottom: 1.8rem;
  color: var(--gruen-dunkel);
  font-weight: 600;
  text-decoration: none;
}

.zurueck:hover {
  text-decoration: underline;
}

.rezept-kopf {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rezept-bild img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten-tief);
}

.rezept-info h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--braun);
  margin: 0.6rem 0 1rem;
}

.rezept-beschreibung {
  font-size: 1.12rem;
  color: var(--grau);
  margin-bottom: 1.4rem;
}

.meta-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.meta-badge {
  background: var(--sand);
  color: var(--braun);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.pdf-hinweis {
  font-size: 0.88rem;
  color: var(--grau);
  margin-top: 0.7rem;
}

.rezept-inhalt {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: start;
}

.rezept-block {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 2rem;
  border-top: 4px solid var(--karamell);
}

.rezept-block h2 {
  font-size: 1.5rem;
  color: var(--braun);
  margin-bottom: 1.1rem;
}

.zutaten-liste {
  list-style: none;
}

.zutaten-liste li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

.zutaten-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--karamell);
}

.schritt-liste {
  list-style: none;
  counter-reset: schritt;
}

.schritt-liste li {
  counter-increment: schritt;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.1rem;
}

.schritt-liste li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--gruen);
  color: var(--weiss);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
}

/* ===== Kontakt ===== */
.abschnitt-farbig {
  position: relative;
  max-width: 100%;
  /* Backfoto als Stimmungshintergrund (gleiches Motiv wie der Seitenanfang) */
  background: url("images/hero.jpg") center/cover no-repeat;
  color: var(--weiss);
}

/* Farbverlauf über dem Foto: blendet oben weich aus der Creme-Fläche ein
   und läuft von Salbeigrün nach Schokobraun aus */
.abschnitt-farbig::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--creme) 0, rgba(250, 247, 242, 0) 90px),
    linear-gradient(160deg, rgba(58, 72, 47, 0.88) 0%, rgba(73, 89, 61, 0.78) 45%, rgba(40, 34, 24, 0.84) 100%);
}

.abschnitt-farbig > * {
  position: relative;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.abschnitt-farbig h2 {
  color: var(--weiss);
}

.kontakt-box {
  /* Milchglas-Karte: dahinter schimmert das Backfoto durch */
  background: rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  max-width: 560px;
  margin: 0 auto;
  padding: 2.2rem;
  border-radius: var(--radius);
  font-size: 1.15rem;
  box-shadow: 0 24px 60px rgba(15, 20, 10, 0.35);
}

@supports not (backdrop-filter: blur(1px)) {
  .kontakt-box {
    background: rgba(45, 55, 36, 0.82);
  }
}

.kontakt-titel {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.kontakt-formular {
  margin-top: 1.6rem;
  text-align: left;
}

.kontakt-formular .feld {
  color: var(--weiss);
  font-size: 1rem;
}

.kontakt-formular .feld input,
.kontakt-formular .feld textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}

.button-hell {
  background: var(--weiss);
  color: var(--gruen-dunkel);
}

.button-hell:hover {
  background: var(--creme);
  color: var(--gruen-dunkel);
}

.kontakt-formular-hinweis {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== Fußzeile ===== */
.footer {
  background: var(--braun);
  color: #f2e9de;
  text-align: center;
  padding: 2rem 1.5rem;
  font-weight: 500;
}

.footer-klein {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.4rem;
}

.footer a {
  color: #f2e9de;
}

/* ===== Textseiten (Impressum, Datenschutz) ===== */
.text-seite {
  max-width: 820px;
  text-align: left;
}

.text-seite h1 {
  margin-bottom: 1.5rem;
}

.text-seite h2 {
  font-size: 1.35rem;
  color: var(--braun);
  margin: 2rem 0 0.6rem;
}

.text-seite p,
.text-seite ul {
  margin-bottom: 0.9rem;
}

.text-seite ul {
  padding-left: 1.3rem;
}

.text-seite a {
  color: var(--gruen-dunkel);
  font-weight: 600;
}

/* Auffällige Markierung für noch auszufüllende Angaben */
.platzhalter {
  background: #fff3bf;
  border-radius: 4px;
  padding: 0 0.35em;
  font-weight: 600;
}

.rechtliches {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--grau);
}

.rechtliches a {
  color: var(--grau);
}

/* ===== Anmeldeseite ===== */
.anmelde-bereich {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.anmelde-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten-tief);
  padding: 3rem 2.5rem;
  max-width: 430px;
  width: 100%;
  text-align: center;
}

.anmelde-karte h1 {
  color: var(--braun);
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.anmelde-text {
  color: var(--grau);
  margin-bottom: 1rem;
}

.anmelde-karte .zurueck {
  margin: 1.5rem 0 0;
}

/* ===== Formulare ===== */
.feld {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fffdf9;
}

.feld textarea {
  resize: vertical;
  line-height: 1.6;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(95, 115, 80, 0.15);
}

.formular-hinweis {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grau);
  margin-top: 0.3rem;
}

.formular-fehler {
  color: var(--fehler);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feld-gruppe {
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 1.2rem 1.4rem 0.6rem;
  margin-bottom: 1.5rem;
}

.feld-gruppe legend {
  font-weight: 700;
  color: var(--braun);
  padding: 0 0.5rem;
}

/* ===== Verwaltungsbereich ===== */
.verwaltung {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.verwaltung > h1 {
  color: var(--braun);
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.verwaltung-intro {
  color: var(--grau);
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tab {
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--text);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab:hover {
  border-color: var(--gruen);
  color: var(--gruen-dunkel);
}

.tab-aktiv,
.tab-aktiv:hover {
  background: var(--gruen);
  border-color: var(--gruen);
  color: var(--weiss);
}

.tab-bereich {
  display: none;
}

.tab-bereich.aktiv {
  display: block;
}

.verwaltungs-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 2rem;
  margin-bottom: 2rem;
  scroll-margin-top: 90px; /* Platz für die klebende Kopfleiste beim Hinscrollen */
}

.verwaltungs-karte h2 {
  color: var(--braun);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.karten-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.karten-kopf h2 {
  margin-bottom: 0;
}

.formular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.formular-knoepfe {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.listen-gruppe {
  margin: 1.4rem 0 0.3rem;
  color: var(--karamell);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
}

.listen-gruppe:first-child {
  margin-top: 0;
}

.verwaltungs-zeile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--sand);
}

.verwaltungs-zeile:last-child {
  border-bottom: none;
}

.verwaltungs-zeile img,
.zeile-platzhalter {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--sand);
  flex-shrink: 0;
}

.zeile-platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.zeile-titel {
  font-weight: 700;
}

.zeile-meta {
  font-size: 0.85rem;
  color: var(--grau);
}

.zeile-knoepfe {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.zeilen-formular {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.zeilen-formular input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fffdf9;
}

.zeilen-formular input:focus {
  outline: none;
  border-color: var(--gruen);
}

.hinweis-box {
  background: var(--salbei-hell);
  border-left: 4px solid var(--gruen);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  margin-top: 1.2rem;
}

.bild-vorschau {
  display: none;
  max-width: 260px;
  border-radius: 10px;
  margin: 0.6rem 0;
  box-shadow: var(--schatten);
}

.bild-vorschau.sichtbar {
  display: block;
}

.kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.kopf-aktionen a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.kopf-aktionen a:hover {
  color: var(--gruen-dunkel);
}

/* ===== Drucken ===== */
@media print {
  .header,
  .footer,
  .zurueck,
  #pdf-knopf,
  .pdf-hinweis {
    display: none !important;
  }
}

/* ===== Handy-Ansicht ===== */
@media (max-width: 820px) {
  .ueber-grid,
  .rezept-kopf,
  .rezept-inhalt {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .formular-grid {
    grid-template-columns: 1fr;
  }

  .verwaltungs-zeile {
    flex-wrap: wrap;
  }

  .zeile-knoepfe {
    margin-left: 0;
    width: 100%;
  }

  .menue-icon {
    display: block;
    font-size: 1.8rem;
    color: var(--braun);
    cursor: pointer;
    user-select: none;
  }

  .hero-inhalt {
    padding: 2.2rem 1.3rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  @supports not (backdrop-filter: blur(1px)) {
    .nav-links {
      background: var(--weiss);
    }
  }

  .menue-schalter:checked ~ .nav-links {
    max-height: 320px;
  }

  .nav-links li {
    border-top: 1px solid var(--sand);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }
}
