/* style.css */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fdfdfd;
}

header {
    /* Kein Rand unten mehr im Header */
    padding-bottom: 5px;
    margin-bottom: 0;
}

header h1 a {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    letter-spacing: 1px;
}

header p {
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
    font-style: italic;
}

/* Die Navigationsleiste bekommt jetzt oben und unten die feinen Linien */
nav {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    margin-bottom: 25px; /* Abstand zum nachfolgenden Bild */
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Hauptbereich braucht keinen oberen Rand mehr, da das Menü den Abschluss macht */
main {
    border-top: none;
    padding-top: 0;
}

h2, h3 {
    color: #222;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.recipe-card {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}