/* Grundlegende Resets und Body-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* Header Styling - Leicht vergrössert */
.site-header {
    display: flex;
    height: 140px; /* Etwas höher */
    flex-shrink: 0;
}

.header-left {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 25px; /* Etwas mehr Padding */
}

#logo {
    height: 60px; /* Grösseres Logo */
    width: auto;
    margin-right: 18px; /* Etwas mehr Abstand */
}

.header-text {
    font-size: 1.3em; /* Grössere Schrift */
    color: #333;
}

.header-right {
    flex: 3;
    background-color: #9a2a2a;
}

/* Hauptinhalt Styling */
.main-content {
    flex-grow: 1;
    position: relative;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 20px;
    color: white;
    /* Wichtig: Höhe explizit setzen, damit %-Positionen relativ dazu sind */
    /* Alternative zu flex-grow, wenn body display:flex hat */
     min-height: calc(100vh - 140px); /* Volle Höhe abzüglich Header */
}

/* Text-Styling - Positionen nach unten korrigiert & vergrössert */
h1 {
    position: absolute;
    top: 18%;  /* WEITER UNTEN */
    left: 8%;
    font-size: 6em; /* GRÖSSER */
    font-weight: bold;
    color: #9a2a2a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Angepasster Schatten */
}

h2 {
    position: absolute;
    top: 38%; /* WEITER UNTEN */
    left: 8%;
    font-size: 2.5em; /* GRÖSSER */
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Angepasster Schatten */
}

/* Tierbilder Styling - Positionen & Grösse angepasst */
.animal {
    position: absolute;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4));
}

.igel {
    width: 210px; /* Grösser */
    bottom: 10%; /* Position angepasst */
    left: 12%;   /* Position angepasst */
}

.fisch {
    width: 260px; /* Grösser */
    bottom: 45%; /* Position angepasst */
    right: 18%;  /* Position angepasst */
}

.libelle {
    width: 200px; /* Grösser */
    top: 15%;    /* Position angepasst */
    right: 22%;  /* Position angepasst */
}

/* Start Button Styling - Grösser, abgerundet, Position angepasst */
.start-button {
    position: absolute;
    bottom: 12%; /* Position angepasst */
    left: 50%;
    transform: translateX(-50%);
    background-color: #9a2a2a;
    color: #ffffff;
    padding: 18px 55px; /* GRÖSSERES Padding */
    border: none;
    border-radius: 0px; /* GRÖSSERER Radius, sollte sichtbar sein */
    font-size: 1.6em; /* GRÖSSERE Schrift */
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-button:hover {
    background-color: #7a1f1f;
}

/* Mobile Nachricht ( unverändert ) */
#mobile-message {
    display: none;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9em;
    z-index: 10;
}

/* Responsive Design ( unverändert, aber profitiert von grösseren Basiswerten ) */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        height: auto;
    }
    .header-left { justify-content: center; padding: 10px; flex-basis: auto; order: 1; }
    .header-right { min-height: 15px; flex-basis: auto; order: 0; }
    #logo { height: 45px; } /* Leicht angepasst */
    .header-text { font-size: 1.1em; } /* Leicht angepasst */

    h1 { font-size: 2.5em; top: 8%; left: 50%; transform: translateX(-50%); width: 90%; text-align: center; }
    h2 { font-size: 1.4em; top: 22%; left: 50%; transform: translateX(-50%); width: 90%; text-align: center; line-height: 1.4; }
    .animal { display: none; }
    .start-button { bottom: 28%; padding: 12px 35px; font-size: 1.2em; } /* Angepasst */
    #mobile-message { display: block; }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; top: 5%; }
    h2 { font-size: 1.1em; top: 18%; } /* Ggf. anpassen */
    .start-button { bottom: 32%; font-size: 1.1em; padding: 10px 30px;} /* Angepasst */
    #mobile-message { bottom: 8%; font-size: 0.85em; }
     .header-left { flex-direction: column; text-align: center; }
    #logo { margin-right: 0; margin-bottom: 5px; height: 40px; }
}