/* Grundlayout */
body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
}

/* Intro-Box */
.intro-card {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.intro-card h1 {
    color: #333;
    margin-top: 0;
}

.intro-card h3 {
    color: #333;
    margin-bottom: 5px;
}

.intro-card p, .intro-card li {
    color: #555;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 20px;
}

.btn:hover {
    background: #0056b3;
}

/* Feed-Karten */
.card {
    background: #fff;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.card strong {
    font-size: 16px;
}

.card b {
    color: #333;
}

.card p {
    color: #555;
    line-height: 1.4;
    margin: 5px 0;
}

/* Voting-Link */
.card a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    margin-left: 10px;
}

.card a:hover {
    color: #0056b3;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .container {
        width: 95%;
        margin: 15px auto;
    }
    .intro-card, .card {
        padding: 15px;
    }
}

           /* Formularfelder */
form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

/* Hover & Fokus */
form select:hover, form textarea:hover,
form select:focus, form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
    outline: none;
}

/* Labels */
form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Absenden-Button */
form button.btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

form button.btn:hover {
    background: #0056b3;
}

/* Erfolgsmeldung */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.success-message a {
    color: #155724;
    font-weight: bold;
    text-decoration: none;
}
.success-message a:hover {
    text-decoration: underline;
}

/* Vote Animation */
.vote-animate {
    animation: votePop 0.3s ease;
}

@keyframes votePop {
    0% {
        transform: scale(1);
        color: #333;
    }
    50% {
        transform: scale(1.4);
        color: #28a745;
    }
    100% {
        transform: scale(1);
        color: #333;
    }
}

/* Optional: Vote-Zahl etwas hervorheben */
.vote-count {
    font-weight: bold;
    transition: transform 0.2s;
}