/* --- Farben und Schriftarten definieren --- */
:root {
    --accent-color: #3bdb9b; /* Das leuchtende Türkis/Grün */
    --background-light: #dffff2; /* Sehr helles Türkis für den Verlauf */
    --text-dark: #333; /* Dunkler Text für gute Lesbarkeit */
    --font-script: 'Caveat', cursive; /* Handschriftliche Schrift */
    --font-text: 'Roboto', sans-serif; /* Fließtext-Schrift */
}

/* --- Allgemeine Einstellungen --- */
body {
    font-family: var(--font-text);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;

    /* SUBTIL GEFÄRBTER HINTERGRUND (Option 1: Farbverlauf) */
    background: #ffffff;
}

main {
    max-width: 800px; /* Begrenzt die Breite für bessere Lesbarkeit */
    margin: 40px auto;
    padding: 0 20px;
}

/* --- Überschriften (Handschriftlicher Stil) --- */
h1, h2 {
    font-family: var(--font-script);
    color: var(--accent-color);
    text-align: center;
    font-weight: 700;
    margin-top: 2em;
    font-size: 2.5em; /* H1 ist größer */
}
h2 {
    font-size: 1.8em;
    text-align: left; /* Unter-Überschriften linksbündig */
    border-bottom: 2px solid var(--accent-color); /* Eine Linie für Akzent */
    padding-bottom: 5px;
}
.title h1 {
    font-size: 3.5em;
    margin-top: 200px;
    margin-bottom: 80px;
}
@media (max-width: 800px) {
    .title h1 {
        font-size: 2em;
    }
}

.wave {
    animation: waving 2s ease-in-out infinite;
}
@keyframes waving {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* --- Text --- */
.text-center {
    text-align: center;
}
/* --- Hervorhebungen und Links --- */
.button {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button a,
.button button {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 10px 30px;
    border-radius: 23px;
    transition: 0.1s ease;
    margin: 0px 5px;
}
.button a:hover,
.button button:hover {
    text-decoration: none;
    background: var(--background-light);
    scale: 1.2;
}
a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    text-decoration: underline;
}
strong {
    color: var(--accent-color);
}

/* --- Blockzitat (Fun Fact) mit Akzent-Hintergrund --- */
blockquote {
    background-color: var(--background-light); /* Hellere Akzentfarbe */
    border-left: 5px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
}

/* --- Listen --- */
ul {
    list-style-type: '💚 '; /* Nutze ein Emoji als Listenpunkt! */
    padding-left: 20px;
}
ul li {
    margin-bottom: 10px;
}

/* --- Navigation / Header --- */
header {
    width: 100%;
    height: 70px;
    background: var(--accent-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    backdrop-filter: blur(6px);
}

/* Logo links */
header .logo a {
    font-family: var(--font-script);
    font-size: 1.8em;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

header .logo a:hover {
    text-decoration: none;
}

/* Navigation mittig */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* UL im Menü */
.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav ul li {
    margin: 0px;
}

.nav ul li a {
    color: white;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: 0.2s ease;
}

.nav ul li a:hover,
.nav ul li .active {
    border-bottom: 5px solid var(--background-light);
    text-decoration: none;
}


@media (max-width: 800px) {

    .nav {
        position: absolute;
        top: 70px;
        left: auto;
        transform: none;
        right: -100%;
        width: 60%;
        background: var(--accent-color);
        padding: 20px;
        transition: 0.3s ease;
        border-radius: 0 0 0 15px;
    }

    .nav.open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-toggle {
        display: block;
        margin-right: 100px;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 800px) {
    footer p,
    footer a {
        font-size: 8px;
        padding-left: 10px;
        padding-right: 10px;
        };
    }
}