/* ---------------------------
   Grundlegendes Layout
--------------------------- */
body {
    background-color: #000; /* schwarzer Hintergrund */
    color: #fff;            /* Standard-Textfarbe weiß */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

h2 {
    color: red;            /* Überschrift rot */
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px; /* für PC/Tablet */
    margin: 0 auto 40px auto;
    background-color: #000; /* schwarzer Hintergrund */
    padding: 20px;
    box-sizing: border-box;
}

label {
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 5px;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #111;
    color: #fff;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* ---------------------------
   Sternebewertung
--------------------------- */
.stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.stars input[type="radio"]:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: gold;
}

/* ---------------------------
   Emoji-Leiste
--------------------------- */
.emoji-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
}

.emoji-bar span {
    font-size: 24px;
    cursor: pointer;
}

/* ---------------------------
   Honeypot (versteckt)
--------------------------- */
.honeypot {
    display: none;
}

/* ---------------------------
   Absende-Button
--------------------------- */
input[type="submit"] {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: #000;
    color: red;
    border: 2px solid red;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

input[type="submit"]:hover {
    background-color: red;
    color: #000;
}

/* ---------------------------
   Gästebucheinträge
--------------------------- */
.entry {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.entry strong {
    color: red;
}

.entry p {
    white-space: pre-line; /* Zeilenumbrüche korrekt anzeigen */
}

/* ---------------------------
   Meldungen
--------------------------- */
.meldung {
    text-align: center;
    font-weight: bold;
    color: gold;
    margin-bottom: 20px;
}

/* ---------------------------
   Responsive Anpassungen
--------------------------- */
@media (max-width: 768px) {
    form {
        width: 95%;
        padding: 15px;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 14px;
    }
    .stars label {
        font-size: 24px;
    }
    input[type="submit"] {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .stars label {
        font-size: 20px;
    }
    .emoji-bar span {
        font-size: 20px;
    }
    input[type="submit"] {
        font-size: 14px;
        padding: 8px 16px;
    }
}
