/* Faserplast Bewertungsseite Stylesheet */

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

body {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #000;
}

.header {
    background: #000;
    padding: 20px 0;
    text-align: center;
}

.header img {
    max-width: 200px;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.rating-section {
    text-align: center;
    margin-bottom: 40px;
}

.rating-section h1 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.star {
    font-size: 60px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star:hover,
.star.active {
    color: #FFD700;
    transform: scale(1.1);
}

.response-section {
    display: none;
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

.response-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.response-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.response-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000;
}

.response-text strong {
    font-weight: 700;
}

/* Formular Styling */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    color: #000;
}

.form-group label .required {
    color: #FF0000;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #979797;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #000;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.btn-submit {
    background: #030303;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    width: 100%;
}

.btn-submit:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.google-review-btn {
    display: inline-block;
    background: #4285F4;
    color: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.google-review-btn:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.google-review-btn::before {
    content: '⭐ ';
}

/* Error & Success Messages */
.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 667px) {
    .container {
        padding: 20px 15px;
    }

    .rating-section h1 {
        font-size: 22px;
    }

    .star {
        font-size: 45px;
    }

    .response-title {
        font-size: 20px;
    }

    .response-text {
        font-size: 14px;
    }
}
