/* Kontakt Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 3px solid var(--primary-color);
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.contact-intro {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Contact Methods Grid */
.contact-methods {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-card {
    background: var(--white) !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 1rem !important;
    padding: 2.5rem !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    min-height: 240px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.contact-card:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(248, 180, 0, 0.15) !important;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #E6A200);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h3 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.contact-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.contact-cost {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.contact-hours h4,
.processing-time h4,
.email-rules h4,
.fax-alternative h4 {
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.contact-hours p,
.processing-time p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #475569;
}

.wait-time {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.wait-minutes {
    font-weight: 700;
    color: #d97706;
}

.wait-warning {
    margin-top: 0.5rem;
}

.wait-warning small {
    color: #92400e;
    font-size: 0.75rem;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.status-indicator.offline {
    background: #fee2e2;
    color: #dc2626;
}

.status-indicator.limited {
    background: #fef3c7;
    color: #d97706;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.fax-status {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.status-info {
    font-size: 0.875rem;
    color: #dc2626;
    margin: 0.5rem 0;
}

.partner-fax {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.25rem 0;
}

.fax-alternative small {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Address and Processing Info */
.address {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.address p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.875rem;
}

.mail-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 1rem;
}

.mail-note small {
    color: #c2410c;
    font-size: 0.75rem;
}

/* Email Support */
.email-address {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.email-warning {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.email-warning p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: #92400e;
}

.email-rules ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.email-rules li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #475569;
    position: relative;
    padding-left: 1rem;
}

.email-rules li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Chat Support Section */
.chat-support {
    background: #fafafa;
    padding: 4rem 0;
}

.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: var(--primary-color);
    color: var(--black);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.chat-window {
    height: 300px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
}

.chat-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    background: var(--white);
    padding: 1rem;
    border-radius: 1rem;
    border-top-left-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content p {
    margin: 0 0 0.5rem 0;
    color: var(--black);
    line-height: 1.5;
}

.message-time {
    font-size: 0.75rem;
    color: #64748b;
}

.chat-input-container {
    display: flex;
    padding: 1.5rem;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

#chatInput:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    background: var(--primary-color);
    color: var(--black);
    border: none;
    padding: 0.75rem 1.5rem;
    margin-left: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    background: #E6A200;
    transform: translateY(-1px);
}

.chat-send-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.chat-disclaimer {
    padding: 1rem 1.5rem;
    background: #fef3c7;
    border-top: 1px solid #fbbf24;
}

.chat-disclaimer small {
    color: #92400e;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(248, 180, 0, 0.1);
}

.faq-item h4 {
    color: var(--black);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.faq-item p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Loading States */
.chat-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Error States */
.chat-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    text-align: center;
}

.chat-timeout {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0 2rem 0;
    }
    
    .contact-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .contact-subtitle {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .contact-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-methods,
    .chat-support,
    .faq-section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .contact-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .chat-container {
        margin: 2rem 0 0 0;
        border-radius: 0.75rem;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .chat-header h3 {
        font-size: 1.125rem;
    }
    
    .chat-window {
        height: 250px;
        padding: 1rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Footer Status Notes */
.status-note {
    font-size: 0.75rem !important;
    color: #d97706 !important;
    font-style: italic;
    margin: 0.25rem 0 !important;
}

.fax-note {
    font-size: 0.75rem !important;
    color: #dc2626 !important;
    margin: 0.5rem 0 0 0 !important;
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2rem 0;
    }
    
    .contact-title {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .contact-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .contact-intro {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .contact-methods,
    .chat-support,
    .faq-section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .contact-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-number {
        font-size: 1.125rem;
        word-break: break-word;
    }
    
    .wait-time,
    .fax-status,
    .email-warning,
    .address,
    .mail-note {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .chat-container {
        margin: 1rem 0 0 0;
        border-radius: 0.5rem;
    }
    
    .chat-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .chat-header h3 {
        font-size: 1rem;
        margin: 0;
    }
    
    .chat-window {
        height: 200px;
        padding: 0.75rem;
    }
    
    .chat-message {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .message-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .message-content {
        padding: 0.75rem;
        border-radius: 0.75rem;
    }
    
    .message-content p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .chat-input-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    #chatInput {
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .chat-send-btn {
        margin-left: 0;
        padding: 0.75rem;
        font-size: 0.875rem;
        border-radius: 0.5rem;
        width: 100%;
    }
    
    .faq-grid {
        margin-top: 1.5rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-item h4 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .faq-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.2;
    }
    
    /* Touch targets for better mobile UX */
    .chat-send-btn,
    #chatInput {
        min-height: 44px;
    }
    
    /* Prevent horizontal scroll */
    .contact-card,
    .chat-container,
    .faq-item {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}