/* SchalkesOpa Kontakt - Glassmorphism Theme */
/* Datei: /assets/css/kontakt.css */

/* CSS Variables */
:root {
    --primary: #ff006e;
    --secondary: #00ff88;
    --accent: #3b82f6;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass: rgba(255, 255, 255, 0.05);
    --success: #00ff88;
    --error: #ff006e;
    --warning: #ff9800;
}

/* Kontakt Container */
.kontakt-container {
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.kontakt-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 0, 110, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 136, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    animation: backgroundMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, -20px); }
    66% { transform: translate(20px, -10px); }
}

/* Kontakt Header */
.kontakt-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 1s ease-out;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(255, 0, 110, 0.3);
    position: relative;
    animation: envelopeFloat 4s ease-in-out infinite;
}

@keyframes envelopeFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-10px) rotate(5deg);
    }
}

.header-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.header-icon i {
    font-size: 4rem;
    color: var(--light);
}

.kontakt-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px rgba(255, 0, 110, 0.5));
}

.header-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    opacity: 0.85;
    line-height: 1.6;
}

/* Kontakt Content */
.kontakt-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.kontakt-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: var(--primary);
}

.form-header p {
    color: var(--light);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--light);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

/* Form Validation States */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: var(--success);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-feedback {
    display: block;
    font-size: 0.85rem;
    margin-top: 5px;
    height: 20px;
    color: var(--error);
    animation: fadeIn 0.3s ease;
}

/* Select Styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

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

/* Character Counter */
.char-counter {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 0.85rem;
    color: var(--light);
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--light);
    opacity: 0.9;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--gradient);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--secondary);
    text-decoration: none;
    margin: 0 3px;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-group.error .checkbox-custom {
    border-color: var(--error);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
    margin-top: 30px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 0, 110, 0.1));
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--error);
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Card */
.info-card,
.social-card,
.faq-card {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.info-card.visible,
.social-card.visible,
.faq-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card h3,
.social-card h3,
.faq-card h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i,
.social-card h3 i,
.faq-card h3 i {
    color: var(--primary);
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(255, 0, 110, 0.3);
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--light);
}

.contact-details h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary);
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-link.facebook::before {
    background: #1877f2;
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.2);
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-link.instagram::before {
    background: #e1306c;
}

.social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-link.youtube::before {
    background: #ff0000;
}

.social-link:hover {
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

/* FAQ Card */
.faq-card p {
    color: var(--light);
    opacity: 0.8;
    margin-bottom: 20px;
}

.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gradient);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 110, 0.3);
}

.faq-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 0, 110, 0.5);
}

/* Floating Elements */
.kontakt-container::after {
    content: '@';
    position: absolute;
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.03;
    bottom: 10%;
    right: 5%;
    animation: floatSymbol 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatSymbol {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .kontakt-container {
        padding: 40px 15px;
    }
    
    .kontakt-header h1 {
        font-size: 2.5rem;
    }
    
    .header-icon {
        width: 100px;
        height: 100px;
    }
    
    .header-icon i {
        font-size: 3rem;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kontakt-header h1 {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .form-section {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .kontakt-container::after {
        font-size: 8rem;
    }
}