/* ============================================================
   style.css – Rezeptbuch
   Wird über header.php auf jeder Seite eingebunden.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@400;500;600;700&display=swap'); /* lädt Schriftarten */

:root {
    --color-primary:       #C8572F;   /* Terrakotta */
    --color-primary-dark:  #A0401D;   /* Dunkleres Terrakotta */
    --color-secondary:     #4A7C59;   /* Kräutergrün */
    --color-accent:        #E8B84B;   /* Safrangelb */
    --color-bg:            #FBF5E6;   /* Pergamentcreme */
    --color-card:          #FFFFFF;
    --color-card-warm:     #FFFCF5;
    --color-border:        #E0C9A0;   /* Warmes Bernstein */
    --color-text:          #2C1A0E;   /* Tiefes Warmbraun */
    --color-text-light:    #7A5C44;   /* Mittleres Warmbraun */
    --color-danger:        #A81E1E;
    --radius:              12px;
    --radius-sm:           7px;
    --shadow:              0 2px 8px rgba(44, 26, 14, 0.10);
    --shadow-hover:        0 6px 20px rgba(44, 26, 14, 0.18);
    --font-heading:        'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:           'Nunito', 'Segoe UI', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0; /* Außenabstand */
    font-family: var(--font-body); /* Schriftart */
    background-color: var(--color-bg); /* Hintergrundfarbe */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 87, 47, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 184, 75, 0.04) 0%, transparent 40%);
    color: var(--color-text); /* Textfarbe */
    line-height: 1.65; /* Zeilenhöhe */
}

main {
    max-width: 1100px;
    margin: 0 auto; /* Außenabstand */
    padding: 28px 20px; /* Innenabstand */
}

h1, h2, h3 {
    font-family: var(--font-heading); /* Schriftart */
    color: var(--color-primary-dark); /* Textfarbe */
    line-height: 1.3; /* Zeilenhöhe */
}

h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }

a {
    color: var(--color-primary); /* Textfarbe */
    text-decoration: none;
    transition: color 0.15s ease; /* Animationsübergang */
}

a:hover {
    color: var(--color-primary-dark); /* Textfarbe */
    text-decoration: underline;
}

hr {
    border: none; /* Rahmen des Elements */
    border-top: 2px solid var(--color-border);
    margin: 24px 0; /* Außenabstand */
}

/* ============================================================
   HEADER / NAVIGATION (header.php)
   ============================================================ */
header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%); /* Hintergrund */
    box-shadow: 0 3px 14px rgba(44, 26, 14, 0.28); /* Schatteneffekt */
    position: sticky; /* Positionierungsart */
    top: 0; /* Abstand vom oberen Rand */
    z-index: 100; /* Stapelreihenfolge */
}

header::after {
    content: '';
    display: block; /* Legt die Darstellungsart des Elements fest */
    height: 3px; /* Bestimmt die Höhe */
    background: linear-gradient(90deg,
        var(--color-accent) 0%,
        var(--color-secondary) 50%,
        var(--color-accent) 100%);
}

header nav > div {
    max-width: 1100px;
    margin: 0 auto; /* Außenabstand */
    display: grid; /* Legt die Darstellungsart des Elements fest */
    grid-template-columns: 1fr auto 1fr; /* Definiert die Spalten im Grid */
    align-items: center; /* Vertikale Ausrichtung */
    gap: 8px; /* Abstand zwischen Flex-/Grid-Elementen */
    padding: 11px 20px; /* Innenabstand */
}

.nav-group {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    gap: 4px; /* Abstand zwischen Flex-/Grid-Elementen */
}

.nav-left {
    justify-content: flex-end; /* Horizontale Ausrichtung */
}

.nav-right {
    justify-content: flex-start; /* Horizontale Ausrichtung */
}

.nav-logout {
    margin-left: auto;
}

header nav a {
    color: rgba(255, 255, 255, 0.90); /* Textfarbe */
    padding: 7px 13px; /* Innenabstand */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    font-weight: 600; /* Schriftstärke */
    font-size: 0.88rem; /* Schriftgröße */
    letter-spacing: 0.025em;
    transition: background-color 0.15s ease, color 0.15s ease; /* Animationsübergang */
}

header nav a:hover {
    background-color: rgba(255, 255, 255, 0.18); /* Hintergrundfarbe */
    color: #fff; /* Textfarbe */
    text-decoration: none;
}

#nav-home {
    font-size: 1.5rem; /* Schriftgröße */
    padding: 0; /* Innenabstand */
    width: 44px; /* Bestimmt die Breite */
    height: 44px; /* Bestimmt die Höhe */
    display: flex; /* Legt die Darstellungsart des Elements fest */
    align-items: center; /* Vertikale Ausrichtung */
    justify-content: center; /* Horizontale Ausrichtung */
    background: rgba(255, 255, 255, 0.15); /* Hintergrund */
    border-radius: 50%; /* Abgerundete Ecken */
    transition: background-color 0.15s ease, transform 0.15s ease; /* Animationsübergang */
}

#nav-home:hover {
    background: rgba(255, 255, 255, 0.28); /* Hintergrund */
    transform: scale(1.10);
    text-decoration: none;
}

/* ============================================================
   ALLGEMEINE FORMULARE & BUTTONS
   ============================================================ */
form {
    margin: 10px 0; /* Außenabstand */
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    padding: 9px 13px; /* Innenabstand */
    border: 1.5px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    font-size: 1rem; /* Schriftgröße */
    font-family: var(--font-body); /* Schriftart */
    background-color: var(--color-card); /* Hintergrundfarbe */
    color: var(--color-text); /* Textfarbe */
    transition: border-color 0.15s ease, box-shadow 0.15s ease; /* Animationsübergang */
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(200, 87, 47, 0.14); /* Schatteneffekt */
}

label {
    font-weight: 600; /* Schriftstärke */
    color: var(--color-text); /* Textfarbe */
}

button,
input[type="submit"] {
    background-color: var(--color-primary); /* Hintergrundfarbe */
    color: #fff; /* Textfarbe */
    border: none; /* Rahmen des Elements */
    padding: 9px 20px; /* Innenabstand */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    cursor: pointer;
    font-size: 0.94rem; /* Schriftgröße */
    font-family: var(--font-body); /* Schriftart */
    font-weight: 700; /* Schriftstärke */
    letter-spacing: 0.02em;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease; /* Animationsübergang */
    box-shadow: 0 2px 5px rgba(200, 87, 47, 0.28); /* Schatteneffekt */
}

button:hover,
input[type="submit"]:hover {
    background-color: var(--color-primary-dark); /* Hintergrundfarbe */
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(200, 87, 47, 0.35); /* Schatteneffekt */
}

button:active,
input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none; /* Schatteneffekt */
}

/* Neutralere Schaltflächen (Zurücksetzen / Entfernen) */
button:has(+ button),
a > button[type="button"] {
    background-color: var(--color-secondary); /* Hintergrundfarbe */
    box-shadow: 0 2px 5px rgba(74, 124, 89, 0.28); /* Schatteneffekt */
}

a > button[type="button"]:hover {
    background-color: #3a6346; /* Hintergrundfarbe */
    box-shadow: 0 4px 10px rgba(74, 124, 89, 0.35); /* Schatteneffekt */
}

/* ============================================================
   LOGIN / REGISTER (index.php, register.php)
   ============================================================ */
body:has(> h1 + p + form),
body:has(> h1 + form) {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-direction: column;
    align-items: center; /* Vertikale Ausrichtung */
    justify-content: center; /* Horizontale Ausrichtung */
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 30% 30%, rgba(200, 87, 47, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(74, 124, 89, 0.06) 0%, transparent 50%);
}

h1 {
    text-align: center; /* Textausrichtung */
}

/* Formular-Karte auf Login-/Registerseite */
body > form {
    background-color: var(--color-card); /* Hintergrundfarbe */
    max-width: 420px;
    width: 100%; /* Bestimmt die Breite */
    margin: 20px auto; /* Außenabstand */
    padding: 38px 36px; /* Innenabstand */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: 0 8px 36px rgba(44, 26, 14, 0.16); /* Schatteneffekt */
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-direction: column;
    border-top: 4px solid var(--color-primary);
}

body > form p {
    width: 100%; /* Bestimmt die Breite */
}

body > h1:first-child {
    margin-top: 60px;
    font-size: 2.5rem; /* Schriftgröße */
    color: var(--color-primary-dark); /* Textfarbe */
}

body > p {
    text-align: center; /* Textausrichtung */
    color: var(--color-text-light); /* Textfarbe */
}

body > a {
    display: block; /* Legt die Darstellungsart des Elements fest */
    text-align: center; /* Textausrichtung */
    margin-bottom: 60px;
}

/* ============================================================
   DASHBOARD (dashboard.php)
   ============================================================ */

.dashboard-bild {
    display: block; /* Legt die Darstellungsart des Elements fest */
    width: 260px; /* Bestimmt die Breite */
    height: 220px; /* Bestimmt die Höhe */
    flex-shrink: 0;
    object-fit: cover; /* Anpassung von Bildern an den Container */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
}

main > section {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 24px; /* Innenabstand */
    margin-bottom: 24px;
}

/* Willkommens-Banner */
main > section:first-child {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%); /* Hintergrund */
    border-color: transparent;
    position: relative; /* Positionierungsart */
    overflow: hidden; /* Verhalten bei Überlauf */
}

main > section:first-child::before {
    content: '🍳';
    position: absolute; /* Positionierungsart */
    right: 28px; /* Abstand vom rechten Rand */
    top: 50%; /* Abstand vom oberen Rand */
    transform: translateY(-50%);
    font-size: 5rem; /* Schriftgröße */
    opacity: 0.18;
    line-height: 1; /* Zeilenhöhe */
    pointer-events: none;
}

main > section:first-child h1,
main > section:first-child p {
    color: #fff; /* Textfarbe */
    margin: 0; /* Außenabstand */
}

main > section:first-child h1 {
    text-shadow: 0 1px 4px rgba(0,0,0,0.22);
    margin-bottom: 6px;
}

main > section:first-child p {
    opacity: 0.88;
}

/* Schnellzugriff-Kacheln */
.schnellzugriff {
    display: grid; /* Legt die Darstellungsart des Elements fest */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Definiert die Spalten im Grid */
    gap: 15px; /* Abstand zwischen Flex-/Grid-Elementen */
}

.schnellzugriff > a {
    display: block; /* Legt die Darstellungsart des Elements fest */
    background-color: var(--color-card-warm); /* Hintergrundfarbe */
    border: 1.5px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    padding: 18px; /* Innenabstand */
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; /* Animationsübergang */
}

.schnellzugriff > a:hover {
    box-shadow: var(--shadow-hover); /* Schatteneffekt */
    transform: translateY(-3px);
    border-color: var(--color-primary);
    text-decoration: none;
}

.schnellzugriff > a h3 {
    margin: 0 0 5px 0; /* Außenabstand */
    color: var(--color-primary-dark); /* Textfarbe */
}

.schnellzugriff > a p {
    margin: 0; /* Außenabstand */
    color: var(--color-text-light); /* Textfarbe */
    font-size: 0.88rem; /* Schriftgröße */
}

.rezept-karte {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    align-items: flex-start; /* Vertikale Ausrichtung */
    gap: 20px; /* Abstand zwischen Flex-/Grid-Elementen */
}

.rezept-info {
    flex: 1; /* Flexbox-Verhalten */
    min-width: 0; /* verhindert Overflow durch lange Texte */
}

.rezept-info h3 {
    color: var(--color-primary-dark); /* Textfarbe */
    margin: 0 0 4px; /* Außenabstand */
}

.rezept-info p {
    margin: 4px 0; /* Außenabstand */
    color: var(--color-text-light); /* Textfarbe */
}

.rezept-info a {
    display: inline-block; /* Legt die Darstellungsart des Elements fest */
    margin-top: 8px;
}

@media (max-width: 640px) {
    .rezept-karte {
        flex-direction: column;
    }

    .dashboard-bild {
        width: 100%; /* Bestimmt die Breite */
    }
}

/* ============================================================
   REZEPT-GRID & KACHELN (rezepte.php, favoriten.php, rezeptefinden.php)
   ============================================================ */
#rezept-grid {
    display: grid; /* Legt die Darstellungsart des Elements fest */
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); /* Definiert die Spalten im Grid */
    gap: 20px; /* Abstand zwischen Flex-/Grid-Elementen */
    margin-top: 18px;
}

.rezept-kachel {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    padding: 0; /* Innenabstand */
    box-shadow: var(--shadow); /* Schatteneffekt */
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-direction: column;
    overflow: hidden; /* Verhalten bei Überlauf */
    transition: transform 0.15s ease, box-shadow 0.15s ease; /* Animationsübergang */
}

.rezept-kachel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover); /* Schatteneffekt */
}

.rezept-kachel img {
    width: 100%; /* Bestimmt die Breite */
    height: 170px; /* Bestimmt die Höhe */
    object-fit: cover; /* Anpassung von Bildern an den Container */
    border-radius: 0; /* Abgerundete Ecken */
    margin-bottom: 0;
    display: block; /* Legt die Darstellungsart des Elements fest */
}

.rezept-kachel h3 {
    margin: 14px 16px 5px; /* Außenabstand */
    color: var(--color-primary-dark); /* Textfarbe */
}

.rezept-kachel p {
    margin: 3px 16px; /* Außenabstand */
    color: var(--color-text-light); /* Textfarbe */
    font-size: 0.87rem; /* Schriftgröße */
    flex: 1; /* Flexbox-Verhalten */
}

.rezept-kachel .labels {
    margin: 8px 16px; /* Außenabstand */
}

.rezept-kachel a {
    display: block; /* Legt die Darstellungsart des Elements fest */
    margin: 10px 16px 16px; /* Außenabstand */
    text-decoration: none;
}

.rezept-kachel a button {
    width: 100%; /* Bestimmt die Breite */
    margin-top: 0;
}

/* Labels */
.labels {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-wrap: wrap;
    gap: 6px; /* Abstand zwischen Flex-/Grid-Elementen */
    margin: 8px 0; /* Außenabstand */
}

.label-tag {
    background-color: #FEF0E6; /* Hintergrundfarbe */
    color: var(--color-primary-dark); /* Textfarbe */
    border: 1px solid #F0C4A8; /* Rahmen des Elements */
    border-radius: 999px; /* Abgerundete Ecken */
    padding: 2px 10px; /* Innenabstand */
    font-size: 0.77rem; /* Schriftgröße */
    font-weight: 700; /* Schriftstärke */
    letter-spacing: 0.02em;
}

/* ============================================================
   SUCH- UND FILTERLEISTEN
   ============================================================ */
main > form {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 16px 20px; /* Innenabstand */
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-wrap: wrap;
    align-items: center; /* Vertikale Ausrichtung */
    gap: 12px; /* Abstand zwischen Flex-/Grid-Elementen */
}

/* ============================================================
   TABELLEN (einkaufsliste.php, zutaten.php, wochenplanspeichern.php)
   ============================================================ */
table {
    width: 100%; /* Bestimmt die Breite */
    border-collapse: collapse;
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    overflow: hidden; /* Verhalten bei Überlauf */
    box-shadow: var(--shadow); /* Schatteneffekt */
    margin: 18px 0; /* Außenabstand */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
}

table th,
table td {
    padding: 12px 16px; /* Innenabstand */
    text-align: left; /* Textausrichtung */
    border-bottom: 1px solid var(--color-border);
}

table th {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); /* Hintergrund */
    color: #fff; /* Textfarbe */
    font-family: var(--font-heading); /* Schriftart */
    font-size: 0.94rem; /* Schriftgröße */
    letter-spacing: 0.03em;
    font-weight: 600; /* Schriftstärke */
}

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

table tr:hover {
    background-color: #FEF8F0; /* Hintergrundfarbe */
}

table form {
    margin: 0; /* Außenabstand */
    display: inline; /* Legt die Darstellungsart des Elements fest */
}

/* ============================================================
   ZUTATEN-SEITE (zutaten.php) – zweispaltiges Layout
   ============================================================ */
#zutaten-layout {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-wrap: wrap;
    gap: 24px; /* Abstand zwischen Flex-/Grid-Elementen */
}

#meine-zutaten,
#zutaten-hinzufuegen {
    flex: 1; /* Flexbox-Verhalten */
    min-width: 320px;
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 24px; /* Innenabstand */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
}

#zutaten-hinzufuegen form {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    align-items: center; /* Vertikale Ausrichtung */
    gap: 10px; /* Abstand zwischen Flex-/Grid-Elementen */
    padding: 8px 0; /* Innenabstand */
    border-bottom: 1px solid var(--color-border);
}

#zutaten-hinzufuegen form:last-child {
    border-bottom: none;
}

#zutaten-hinzufuegen form span {
    flex: 1; /* Flexbox-Verhalten */
}

#zutaten-hinzufuegen form input[type="number"] {
    width: 90px; /* Bestimmt die Breite */
}

/* ============================================================
   REZEPTKOCHEN (rezeptkochen.php)
   ============================================================ */
#rezept-kopf {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 28px; /* Innenabstand */
    margin-bottom: 24px;
    text-align: center; /* Textausrichtung */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
    border-top: 4px solid var(--color-primary);
}

#rezept-kopf img {
    max-width: 100%;
    max-height: 360px;
    object-fit: cover; /* Anpassung von Bildern an den Container */
    border-radius: var(--radius); /* Abgerundete Ecken */
    margin-bottom: 16px;
    box-shadow: var(--shadow); /* Schatteneffekt */
    display: block; /* Legt die Darstellungsart des Elements fest */
    margin-left: auto;
    margin-right: auto;
}

#rezept-kopf form {
    display: inline-block; /* Legt die Darstellungsart des Elements fest */
    margin: 5px; /* Außenabstand */
}

#rezept-inhalt {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    flex-wrap: wrap;
    gap: 24px; /* Abstand zwischen Flex-/Grid-Elementen */
}

#zutaten-liste,
#zubereitungs-schritte {
    flex: 1; /* Flexbox-Verhalten */
    min-width: 300px;
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 24px; /* Innenabstand */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
}

#zutaten-liste h2,
#zubereitungs-schritte h2 {
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
    margin-top: 0;
}

#zutaten-liste ul {
    padding-left: 22px;
}

#zutaten-liste ul li {
    padding: 5px 0; /* Innenabstand */
    border-bottom: 1px dotted var(--color-border);
}

#zutaten-liste ul li:last-child {
    border-bottom: none;
}

#schritte-text {
    white-space: pre-line;
    line-height: 1.85; /* Zeilenhöhe */
}

/* ============================================================
   WOCHENPLANER (wochenplanansehen.php, wochenplanerstellen.php,
   wochenplanspeichern.php)
   ============================================================ */
.tag-leiste {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 18px 22px; /* Innenabstand */
    margin-bottom: 20px;
    border: 1px solid var(--color-border); /* Rahmen des Elements */
    border-left: 4px solid var(--color-primary);
}

.tag-leiste h2 {
    margin-top: 0;
}

.gerichte-reihe {
    display: flex; /* Legt die Darstellungsart des Elements fest */
    gap: 15px; /* Abstand zwischen Flex-/Grid-Elementen */
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg);
}

.gericht-kachel {
    flex: 0 0 220px; /* Flexbox-Verhalten */
    background-color: var(--color-card-warm); /* Hintergrundfarbe */
    border: 1.5px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    padding: 14px; /* Innenabstand */
    transition: border-color 0.15s ease, box-shadow 0.15s ease; /* Animationsübergang */
}

.gericht-kachel:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow); /* Schatteneffekt */
}

.gericht-kachel h3 {
    margin: 0 0 6px 0; /* Außenabstand */
    font-size: 1rem; /* Schriftgröße */
}

.gericht-kachel ul {
    padding-left: 18px;
    margin: 8px 0; /* Außenabstand */
    font-size: 0.85rem; /* Schriftgröße */
    color: var(--color-text-light); /* Textfarbe */
}

.gericht-kachel a button {
    width: 100%; /* Bestimmt die Breite */
}

/* Wochenplan erstellen – Zusammenfassung */
#zusammenfassung {
    background-color: #FEF8F0; /* Hintergrundfarbe */
    border: 1.5px solid var(--color-border); /* Rahmen des Elements */
    border-radius: var(--radius); /* Abgerundete Ecken */
    padding: 18px 22px; /* Innenabstand */
    margin-top: 18px;
}

#wochenplan-form {
    background-color: var(--color-card); /* Hintergrundfarbe */
    border-radius: var(--radius); /* Abgerundete Ecken */
    box-shadow: var(--shadow); /* Schatteneffekt */
    padding: 24px; /* Innenabstand */
    border: 1px solid var(--color-border); /* Rahmen des Elements */
}

/* ============================================================
   MELDUNGEN (Erfolg / Fehler)
   ============================================================ */
p[style*="color:green"] {
    background-color: #EDFBE6; /* Hintergrundfarbe */
    color: var(--color-secondary) !important; /* Textfarbe */
    font-weight: 700; /* Schriftstärke */
    border: 1px solid #AFDBA7; /* Rahmen des Elements */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    padding: 10px 16px; /* Innenabstand */
}

p[style*="color:red"] {
    background-color: #FDE8E8; /* Hintergrundfarbe */
    color: var(--color-danger) !important; /* Textfarbe */
    font-weight: 700; /* Schriftstärke */
    border: 1px solid #F5BEBE; /* Rahmen des Elements */
    border-radius: var(--radius-sm); /* Abgerundete Ecken */
    padding: 10px 16px; /* Innenabstand */
}