/* ==========================================================================
   GU Kundenstimmen — Styles
   ========================================================================== */

:root {
    --gu-ks-accent: #ff4466;
    --gu-ks-accent-light: #ff5775;
    --gu-ks-accent-dark: #e63d5c;
    --gu-ks-dark: #2f2e2e;
    --gu-ks-dark-lighter: #3b3a3a;
    --gu-ks-gray: #757374;
    --gu-ks-gray-light: #d8d8d8;
    --gu-ks-cream: #f9f7f5;
    --gu-ks-text: #2f2e2e;
    --gu-ks-text-light: #757374;
    --gu-ks-font-main: 'Trebuchet MS', 'Palatino Sans Arabic', sans-serif;
}

/* --- Wrapper --- */
.gu-ks-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: var(--gu-ks-font-main);
}

/* --- Hero-Zitat --- */
.gu-ks-hero {
    text-align: center;
    padding: 60px 30px;
    margin-bottom: 40px;
    background: var(--gu-ks-cream);
    border-radius: 16px;
}

.gu-ks-hero-quote {
    margin: 0 0 30px 0;
    padding: 0;
    border: none;
}

.gu-ks-hero-quote p {
    font-family: var(--gu-ks-font-main);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    color: var(--gu-ks-text);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gu-ks-hero-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.gu-ks-hero-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gu-ks-accent);
}

.gu-ks-hero-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.gu-ks-hero-info strong {
    font-size: 0.95rem;
    color: var(--gu-ks-text);
}

.gu-ks-hero-info span {
    font-size: 0.82rem;
    color: var(--gu-ks-text-light);
}

/* --- Header mit Gesamtschnitt --- */
.gu-ks-header {
    text-align: center;
    margin-bottom: 40px;
}

.gu-ks-avg-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--gu-ks-dark);
    color: #fff;
    padding: 30px 50px;
    border-radius: 16px;
    gap: 6px;
}

.gu-ks-avg-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gu-ks-accent);
    line-height: 1;
}

.gu-ks-avg-clovers {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.gu-ks-avg-clovers .gu-ks-clover img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.gu-ks-avg-clovers .gu-ks-clover.empty img {
    opacity: 0.2;
    filter: grayscale(1);
}

.gu-ks-avg-count {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* --- Filter-Buttons --- */
.gu-ks-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gu-ks-filter {
    padding: 10px 22px;
    border: 2px solid var(--gu-ks-accent);
    border-radius: 30px;
    background: transparent;
    color: var(--gu-ks-accent);
    font-family: var(--gu-ks-font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gu-ks-filter:hover,
.gu-ks-filter.active {
    background: var(--gu-ks-accent);
    color: #fff;
}

/* --- Testimonial-Karten --- */
.gu-ks-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gu-ks-card {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-items: flex-start;
}

.gu-ks-card.gu-ks-hidden {
    display: none;
}

/* --- Linke Seite: Foto + Person --- */
.gu-ks-card-left {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.gu-ks-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gu-ks-accent);
    flex-shrink: 0;
}

.gu-ks-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gu-ks-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gu-ks-cream);
}

.gu-ks-photo-placeholder span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gu-ks-accent);
}

.gu-ks-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gu-ks-name {
    font-family: var(--gu-ks-font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gu-ks-text);
}

.gu-ks-beruf {
    font-size: 0.82rem;
    color: var(--gu-ks-text-light);
}

.gu-ks-website {
    font-size: 0.8rem;
    color: var(--gu-ks-accent);
    text-decoration: none;
}

.gu-ks-website:hover {
    text-decoration: underline;
}

/* --- Rechte Seite: Bewertung + Text --- */
.gu-ks-card-right {
    flex: 1;
    min-width: 0;
}

.gu-ks-kategorie {
    display: inline-block;
    font-family: var(--gu-ks-font-main);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gu-ks-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.gu-ks-clovers {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}

.gu-ks-clover img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: block;
}

.gu-ks-clover.empty img {
    opacity: 0.2;
    filter: grayscale(1);
}

.gu-ks-headline {
    font-family: var(--gu-ks-font-main);
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    color: var(--gu-ks-text);
    margin: 0 0 8px 0;
}

.gu-ks-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gu-ks-text);
}

.gu-ks-text p {
    margin: 0 0 8px 0;
}

.gu-ks-text p:last-child {
    margin-bottom: 0;
}

/* --- Floating Button --- */
.gu-ks-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gu-ks-accent);
    color: #fff;
    font-family: var(--gu-ks-font-main);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 68, 102, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    z-index: 9999;
}

.gu-ks-floating-btn:hover {
    background: var(--gu-ks-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 102, 0.45);
    color: #fff;
    text-decoration: none;
}

.gu-ks-floating-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* --- Formular --- */
.gu-ks-form-wrapper {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 50px 40px;
    background: var(--gu-ks-cream);
    border: 1px solid var(--gu-ks-gray-light);
    border-radius: 16px;
    color: var(--gu-ks-text);
}

.gu-ks-form-intro {
    text-align: center;
    margin-bottom: 35px;
}

.gu-ks-form-intro h2 {
    font-family: var(--gu-ks-font-main);
    color: var(--gu-ks-text);
    font-size: 1.6rem;
    margin: 0 0 10px 0;
}

.gu-ks-form-intro p {
    color: var(--gu-ks-text-light);
    font-size: 0.95rem;
    margin: 0;
}

.gu-ks-form-field {
    margin-bottom: 22px;
}

.gu-ks-form-field label {
    display: block;
    font-family: var(--gu-ks-font-main);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
    font-style: italic;
    color: var(--gu-ks-accent);
    margin-bottom: 8px;
}

.gu-ks-form-field .required {
    color: var(--gu-ks-accent-light);
}

.gu-ks-form-field input[type="text"],
.gu-ks-form-field input[type="url"],
.gu-ks-form-field input[type="email"],
.gu-ks-form-field select,
.gu-ks-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--gu-ks-gray-light);
    border-radius: 8px;
    color: var(--gu-ks-text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gu-ks-form-field input:focus,
.gu-ks-form-field select:focus,
.gu-ks-form-field textarea:focus {
    outline: none;
    border-color: var(--gu-ks-accent);
}

.gu-ks-form-field select option {
    background: #ffffff;
}

.gu-ks-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.gu-ks-char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--gu-ks-text-light);
    margin-top: 4px;
}

.gu-ks-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --- Kleeblatt-Auswahl im Formular --- */
.gu-ks-clover-select {
    display: flex;
    gap: 8px;
}

.gu-ks-clover-option {
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    user-select: none;
    opacity: 0.25;
    filter: grayscale(0.8);
}

.gu-ks-clover-option img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
}

.gu-ks-clover-option:hover,
.gu-ks-clover-option.active {
    opacity: 1;
    filter: none;
}

.gu-ks-clover-option:hover {
    transform: scale(1.15);
}

/* --- Upload-Bereich --- */
.gu-ks-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 30px;
    border: 2px dashed var(--gu-ks-gray-light);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
    color: var(--gu-ks-text-light);
    font-size: 0.9rem;
}

.gu-ks-upload-area:hover {
    border-color: var(--gu-ks-accent);
    color: var(--gu-ks-text);
}

.gu-ks-upload-icon {
    font-size: 1.5rem;
}

.gu-ks-upload-hint {
    font-size: 0.78rem;
    color: var(--gu-ks-gray);
}

.gu-ks-upload-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.gu-ks-upload-preview img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gu-ks-accent);
}

#gu-ks-remove-foto {
    background: transparent;
    border: 1px solid var(--gu-ks-gray-light);
    color: var(--gu-ks-text-light);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

/* --- Honeypot --- */
.gu-ks-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* --- Submit --- */
.gu-ks-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--gu-ks-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--gu-ks-font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 10px;
}

.gu-ks-submit:hover {
    background: var(--gu-ks-accent-dark);
    transform: translateY(-2px);
}

.gu-ks-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gu-ks-form-notice {
    font-size: 0.78rem;
    color: var(--gu-ks-text-light);
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

/* --- Erfolgsmeldung --- */
.gu-ks-form-success {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 30px;
    background: #ffffff;
    border: 1px solid var(--gu-ks-gray-light);
    border-radius: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.gu-ks-success-icon {
    flex-shrink: 0;
}

.gu-ks-success-icon img {
    width: 40px;
    height: 40px;
}

.gu-ks-form-success h3 {
    color: var(--gu-ks-text);
    font-size: 1rem;
    margin: 0 0 2px 0;
}

.gu-ks-form-success p {
    color: var(--gu-ks-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Fehlermeldung --- */
.gu-ks-form-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid var(--gu-ks-accent-light);
    color: var(--gu-ks-accent-light);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Logo-Banner
   ========================================================================== */

.gu-logo-banner {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    padding: 30px 0;
    background: var(--gu-ks-accent);
    overflow: hidden;
    font-family: var(--gu-ks-font-main);
}

.gu-logo-banner-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
}

.gu-logo-banner-track {
    display: flex;
    width: max-content;
    animation: gu-logo-scroll var(--gu-logo-speed, 30s) linear infinite;
    pointer-events: none;
}

.gu-logo-banner-slide {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.gu-logo-banner-slide img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.8;
}

@keyframes gu-logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .gu-ks-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gu-ks-card-left {
        width: auto;
    }

    .gu-ks-card-right {
        text-align: left;
    }

    .gu-ks-form-row {
        grid-template-columns: 1fr;
    }

    .gu-ks-form-wrapper {
        padding: 30px 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .gu-ks-filters {
        gap: 6px;
    }

    .gu-ks-filter {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .gu-ks-avg-box {
        padding: 24px 36px;
    }

    .gu-ks-hero {
        padding: 40px 20px;
    }

    .gu-ks-hero-quote p {
        font-size: 1.25rem;
    }

    .gu-ks-floating-btn {
        bottom: 16px;
        right: 16px;
        font-size: 0.82rem;
        padding: 12px 18px;
    }
}
