
:root {
    --primary-color: #e67e22;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-bg: #faf8f5;
    --card-bg: #ffffff;
}

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

figure {
  margin: 0;
  display: inline-block; /* Verhindert, dass das figure-Element die ganze Breite einnimmt */
}

figcaption {
  font-size: 0.85em;    /* Etwas kleinere Schriftgröße */
  color: #666;          /* Dezentere graue Farbe */
  margin-top: 5px;      /* Kleiner Abstand zum Bild */
  text-align: center;   /* Optional: Zentriert unter dem Bild */
}


body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

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

nav a:hover, nav a.active {
    color: var(--primary-color);
}

main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.hero {
    text-align: center;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.hero h2 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
}

.content-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}

h2.section-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

details {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 1rem;
}

summary {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--dark-color);
}

details[open] summary {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

ul.feature-list {
    list-style-type: square;
    padding-left: 1.5rem;
}

ul.feature-list li {
    margin-bottom: 0.5rem;
}

footer {
    background: var(--dark-color);
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: center; /* Verhindert ungewollte Abstände unter dem Bild */
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
