/**
 * Umfrage-Seiten Styles
 * Für: index.html, umfrage-danke.html, bereits-teilgenommen.html
 * 
 * DESIGN-PRINZIPIEN:
 * - Daniela im Fokus
 * - NUR 1 blaue Box pro Seite (Haupt-CTA)
 * - Große Share-Buttons
 * - Hohe Kontraste
 * - Klare Hierarchie
 */

/* ============================================
   CSU-FARBEN
   ============================================ */
:root {
    --csu-blue: #003C7D;
    --csu-blue-light: #1A82C6;
    --csu-accent: #A4C639;
}

/* ============================================
   TIMELINE-STIL (wie ueber-mich.html)
   ============================================ */

.umfrage-timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
    padding: 2rem 0;
}

.umfrage-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1A82C6, rgba(26, 130, 198, 0.3));
}

.umfrage-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 120px;
}

.umfrage-timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(26, 130, 198, 0.2);
    border: 3px solid #1A82C6;
    transition: all 0.3s ease;
}

.umfrage-timeline-item:hover .umfrage-timeline-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 130, 198, 0.3);
}

.umfrage-timeline-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.umfrage-timeline-content {
    background: #fff;
    padding: 1.8rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    flex: 1;
    border-left: 4px solid #1A82C6;
    transition: all 0.3s ease;
}

.umfrage-timeline-item:hover .umfrage-timeline-content {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-left-width: 6px;
}

.umfrage-timeline-content h3 {
    color: #003C7D;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.umfrage-timeline-content p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   BEREITS-TEILGENOMMEN SEITE
   ============================================ */

/* Body-Styles nur für bereits-teilgenommen.html */
body.bereits-teilgenommen-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.bereits-container {
    max-width: 800px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem 2.5rem;
    text-align: center;
}

.bereits-container h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #003C7D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bereits-container .subheadline {
    font-size: 1.1rem;
    color: #1A82C6;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bereits-container .message {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bereits-container .message strong {
    color: #003C7D;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Daniela's Message */
.daniela-message {
    background: white;
    border-left: 4px solid #1A82C6;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    text-align: left;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.daniela-message:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-left-width: 6px;
}

/* Wenn daniela-message in blauem Container ist */
.danke-hero .daniela-message,
.danke-hero .daniela-message *,
.danke-hero .daniela-message h1,
.danke-hero .daniela-message h2,
.danke-hero .daniela-message h3,
.danke-hero .daniela-message p,
.danke-hero .daniela-message strong {
    color: white !important;
}

.daniela-message .danke-portrait {
    position: relative;
    flex-shrink: 0;
}

.daniela-portrait {
    width: 200px; /* Größer */
    height: 200px;
    border-radius: 50%;
    border: 4px solid #1A82C6;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(26, 130, 198, 0.3);
}

.daniela-text {
    width: 100%;
    text-align: left;
}

.daniela-text p {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    text-align: left;
}

.daniela-text strong {
    color: #003C7D;
    font-size: 1.1rem;
}

.daniela-text .signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #003C7D;
    margin-top: 1.5rem;
    text-align: left;
    line-height: 1.2;
}

/* Share Buttons - GROß & FARBIG! */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.share-btn {
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
}

.share-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #155DB5 100%);
    color: white;
}

.share-btn.facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-btn.email {
    background: linear-gradient(135deg, #EA4335 0%, #D93025 100%);
    color: white;
}

.share-btn.email:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.4);
}

.share-btn.copy {
    background: linear-gradient(135deg, #A4C639 0%, #8FB02F 100%);
    color: white;
}

.share-btn.copy:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(164, 198, 57, 0.4);
}

/* Back Button */
.back-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1A82C6 0%, #003C7D 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 130, 198, 0.4);
}

/* Copy Toast */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10B981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   UMFRAGE-DANKE SEITE
   ============================================ */

/* Daniela Portrait im Hero - GRÖßER! */
.danke-portrait {
    position: relative;
    flex-shrink: 0;
}

.portrait-round {
    width: 220px; /* Größer */
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.portrait-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: #10B981;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003C7D;
    font-family: 'Oswald', sans-serif;
    display: block;
}

.stat-label {
    color: #4a4a4a;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Motivations-Box - OHNE blauen Hintergrund */
.motivation-box {
    background: #f8f9fa;
    border-left: 4px solid #1A82C6;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 3rem auto;
    text-align: left;
}

.motivation-box h3 {
    color: #003C7D;
    margin-bottom: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
}

.motivation-box ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: none;
}

.motivation-box li {
    margin-bottom: 1rem;
    color: #333;
    padding-left: 1.5rem;
    position: relative;
}

.motivation-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1A82C6;
    font-weight: bold;
}

/* Share Buttons Big */
.share-buttons-big {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 2rem auto;
}

.share-button-big {
    padding: 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 70px;
}

.share-button-big .icon {
    font-size: 1.8rem;
}

.share-whatsapp-big {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
}

.share-whatsapp-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.share-facebook-big {
    background: linear-gradient(135deg, #1877F2 0%, #155DB5 100%);
    color: white;
}

.share-facebook-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
}

.share-email-big {
    background: linear-gradient(135deg, #EA4335 0%, #D93025 100%);
    color: white;
}

.share-email-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(234, 67, 53, 0.4);
}

.share-copy-big {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.share-copy-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(108, 117, 125, 0.4);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    body.bereits-teilgenommen-page {
        padding: 1rem;
    }
    
    .bereits-container {
        padding: 2rem 1.5rem;
    }
    
    .bereits-container h1 {
        font-size: 1.5rem;
    }
    
    .bereits-container .subheadline {
        font-size: 1rem;
    }
    
    .daniela-message {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .daniela-portrait {
        width: 170px; /* Größer */
        height: 170px;
    }
    
    .portrait-round {
        width: 190px; /* Größer */
        height: 190px;
    }
    
    .share-buttons,
    .share-buttons-big {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .motivation-box {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
}

/* ============================================
   BLAUE SECTIONS - Weiße Schrift
   ============================================ */

/* Social Proof Section - Blauer Hintergrund */
.social-proof {
    background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-light) 100%);
    padding: 3rem 0;
    margin: 2rem 0;
}

/* Share CTA Section - Blauer Hintergrund */
.share-cta {
    background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-light) 100%);
    padding: 3rem 0;
    margin: 2rem 0;
}

/* NUR Überschriften in blauen Sections sind weiß */
.social-proof h1,
.social-proof h2,
.social-proof h3 {
    color: white !important;
}

.share-cta h1,
.share-cta h2,
.share-cta h3 {
    color: white !important;
}

/* Normale Texte bleiben blau/grau */
.social-proof p,
.social-proof span,
.social-proof div {
    color: #4a4a4a !important;
}

.share-cta p,
.share-cta span,
.share-cta div {
    color: #666 !important;
}

/* Share-Button-Texte sind weiß */
.share-cta .share-button-big,
.share-cta .share-btn,
.share-cta button {
    color: white !important;
}

.share-cta .share-button-big span,
.share-cta .share-btn span,
.share-cta button span {
    color: white !important;
}

/* ============================================
   GOLDENE SCHRIFT FÜR HANDGESCHRIEBENES
   ============================================ */

/* Goldene Schrift für Handschrift-Elemente */
.handwritten-note,
.handwritten-signature,
.danke-hero .handwritten-note,
.danke-hero .handwritten-signature {
    color: #FFD700 !important; /* Gold */
    font-family: 'Great Vibes', cursive !important;
}

/* Aber NICHT für "Ihre Daniela Hofmeister" */
.daniela-text .signature {
    color: #003C7D !important; /* Blau statt Gold */
    font-family: 'Great Vibes', cursive !important;
    text-align: left !important;
}

.danke-hero .danke-title {
    color: white !important;
}

.danke-hero .danke-subtitle {
    color: white !important;
}

/* ============================================
   BEREITS-TEILGENOMMEN-STANDALONE.HTML
   ============================================ */

/* Fix für body - display: block statt flex wegen Navigation + Footer */
body.bereits-teilgenommen-page {
    display: block !important;
    padding-top: 80px !important;
    align-items: unset !important;
    justify-content: unset !important;
    background: white !important;
}

/* Container anpassen */
.bereits-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
}

/* Blauer Container nur für die Überschrift */
.bereits-hero {
    background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-light) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

/* Spezifische Texte in bereits-teilgenommen-standalone.html sind weiß */
body.bereits-teilgenommen-page .bereits-hero h1 {
    color: white !important;
}

body.bereits-teilgenommen-page .bereits-hero .subheadline {
    color: white !important;
}

/* Nur die blauen Sections haben weiße Überschriften */
body.bereits-teilgenommen-page .social-proof h1,
body.bereits-teilgenommen-page .social-proof h2,
body.bereits-teilgenommen-page .social-proof h3 {
    color: white !important;
}

body.bereits-teilgenommen-page .share-cta h1,
body.bereits-teilgenommen-page .share-cta h2,
body.bereits-teilgenommen-page .share-cta h3 {
    color: white !important;
}

/* Share-Button-Texte in blauen Sections sind weiß */
body.bereits-teilgenommen-page .share-cta .share-button-big,
body.bereits-teilgenommen-page .share-cta .share-btn,
body.bereits-teilgenommen-page .share-cta button {
    color: white !important;
}

body.bereits-teilgenommen-page .share-cta .share-button-big span,
body.bereits-teilgenommen-page .share-cta .share-btn span,
body.bereits-teilgenommen-page .share-cta button span {
    color: white !important;
}

/* Goldene Schrift für Handschrift-Elemente */
body.bereits-teilgenommen-page .handwritten-note,
body.bereits-teilgenommen-page .handwritten-signature {
    color: #FFD700 !important; /* Gold */
    font-family: 'Great Vibes', cursive !important;
}

/* Aber NICHT für "Ihre Daniela Hofmeister" */
body.bereits-teilgenommen-page .daniela-text .signature {
    color: #003C7D !important; /* Blau statt Gold */
    font-family: 'Great Vibes', cursive !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .bereits-container {
        padding: 1.5rem 1rem;
    }
}
