/* Kundenservice Page Styles */

/* Main Container */
.kundenservice-main {
    min-height: 100vh;
    background: var(--secondary-color);
    width: 100%;
}

/* Hero Section */
.kundenservice-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), 
                url('../src/imgs/bg/18.JPEG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 20px 80px 20px;
    color: var(--secondary-color);
    text-align: center;
}

.hero-content {
    /* max-width: 1000px; */
    margin: 0 auto;
}

/* .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    place-self: center;
    margin: auto;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    user-select: none;
}

.highlight-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 165, 0, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.2);
}

.highlight-badge i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-badge span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease !important;
    text-align: -webkit-center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    /* border-color: var(--primary-color); */
    box-shadow: 0 12px 30px rgba(255, 165, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(231, 121, 25, 0.3);
    justify-self: center;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Detail Sections */
.service-detail-section {
    padding: 80px 20px;
}

.inbound-section {
    background: var(--tertiary-color);
}

.ticket-section {
    background: var(--secondary-color);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Ticket Section Text - Dark Text */
.ticket-section .service-detail-text h2 {
    color: var(--tertiary-color);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Ticket Section Text - Dark Text */
.ticket-section .service-detail-text p {
    color: rgba(0, 0, 0, 0.8);
}

.highlight-text {
    padding: 1.5rem;
    background: rgba(255, 165, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-text strong {
    color: var(--primary-color);
}

/* Visual Cards */
.visual-card {
    background: var(--secondary-color);
    backdrop-filter: none;
    border: 2px solid rgba(255, 165, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visual-icon {
    font-size: 4rem;
    color: var(--primary-color);
    /* margin-bottom: 2rem; */
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Visual Keypoints (Alternative to Stats) */
.visual-keypoints {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.keypoint-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 165, 0, 0.25);
    border-radius: 10px;
    transition: all 0.3s ease;
    user-select: none;
}

.keypoint-item:hover {
    background: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(231, 121, 25, 0.4);
    border-color: var(--primary-color);
}

.keypoint-item:hover span {
    color: var(--primary-color) !important;
}

.keypoint-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.keypoint-item span {
    color: var(--tertriary-color);
    font-size: 1rem;
    line-height: 1.5;
}

/* Ticket Section Keypoint Items - Dark Text for Readability */
.ticket-section .keypoint-item span {
    color: var(--tertiary-color);
}

/* Ticket Section Stat Label - Dark Text */
.ticket-section .stat-label {
    color: rgba(0, 0, 0, 0.7);
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--tertiary-color);
    transform: translateX(10px);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Ticket Section Feature Items - Like Keypoint Items */
.ticket-section .feature-item {
    align-items: flex-start;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ticket-section .feature-item:hover {
    background: rgba(255, 165, 0, 0.7);
    transform: translateX(5px);
}

.ticket-section .feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.ticket-section .feature-item span {
    color: var(--tertiary-color);
    font-size: 1rem;
    line-height: 1.5;
}

/* Technical Highlights */
.tech-highlights {
    max-width: 1400px;
    margin: 4rem auto 0;
}

.tech-highlights h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
}

/* Ticket Section Tech Highlights - Dark Text */
.ticket-section .tech-highlights h3 {
    color: var(--tertiary-color);
}

.text-center {
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tech-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tech-card {
    /* background: rgba(255, 255, 255, 0.03); */
    background-color: var(--secondary-color) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease !important;
        text-align: -webkit-center;
        border-top: 4px solid var(--primary-color) !important;
}

.tech-card:hover {
    transform: translateY(-8px);
    /* border-color: var(--primary-color); */
    box-shadow: 0 12px 30px rgba(255, 165, 0, 0.15);
}

.tech-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(231, 121, 25, 0.3);
}

.tech-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.tech-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--tertiary-color);
}

/* Ticket Section Tech Cards - White Background Style */
.ticket-section .tech-card {
    background: var(--secondary-color);
    backdrop-filter: none;
    /* border: 2px solid rgba(255, 165, 0, 0.15); */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ticket-section .tech-card:hover {
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.25);
}

.ticket-section .tech-card h4 {
    color: var(--tertiary-color);
}

.ticket-section .tech-card p {
    color: var(--tertiary-color);
}

.ticket-section .tech-icon {
    background: var(--primary-color);
}

.tech-card p {
    font-size: 1rem;
    line-height: 1.6;
    /* color: var(--secondary-color); */
}

/* Result Statement */
.result-statement {
    max-width: 1200px;
    margin: 4rem auto 0;
}

.statement-content {
    /* display: flex; */
    /* align-items: flex-start; */
    /* gap: 2rem; */
    /* background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 140, 66, 0.05)); */
    background: var(--secondary-color) !important;
    backdrop-filter: blur(15px);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

/* Ticket Section Result Statement - White Background Style */
.ticket-section .statement-content {
    background: var(--tertiary-color) !important;
    backdrop-filter: none;
    /* border: 2px solid rgba(255, 165, 0, 0.3); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.statement-content i {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.statement-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--tertiary-color);
}

/* Ticket Section Result Statement Text - Dark Text */
.ticket-section .statement-content h3 {
    color: var(--secondary-color);
}

.statement-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

/* Ticket Section Result Statement Text - Dark Text */
.ticket-section .statement-content p {
    color: var(--secondary-color);
}

.statement-highlight {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: var(--primary-color) !important;
    margin-bottom: 0 !important;
}

/* CTA Section */
.cta-section {
    background: var(--tertiary-color);
    padding: 20px 20px 60px 20px;
    color: white;
}



.cta-section h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* Contact Form Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-info {
    text-align: center;
    max-width: 500px;
    place-self: anchor-center;
}

.expert-avatar {
    margin-bottom: 2rem;
}

.expert-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expert-details h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expert-role {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-item strong {
    color: var(--secondary-color);
}

.contact-item span {
    color: #ccc;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.iti__search-input, .iti__no-results {
    background: var(--tertiary-color) !important;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(231, 121, 25, 0.2);
}

.form-input::placeholder {
    color: #aaa;
}

select.form-input {
    cursor: pointer;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.error-message-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.privacy-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: inline-block;
}

.privacy-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary:disabled {
    background-color: rgba(255, 102, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    background-color: rgba(255, 102, 0, 0.3);
    transform: none;
}

.phone-input {
    width: 100% !important;
}

.iti {
    width: 100% !important;
}

.iti__flag-container {
    background: rgba(255, 255, 255, 0.1) !important;
}

.iti__selected-flag {
    background: rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.iti__arrow {
    border-top-color: var(--secondary-color) !important;
}

.iti__country-list {
    background: var(--tertiary-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--secondary-color) !important;
}

.iti__country {
    color: var(--secondary-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.iti__country:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

select.form-input option {
    background: var(--tertiary-color);
    color: var(--secondary-color);
}

/* Animation Classes */
.fade-in, .fade-in-left, .fade-in-right, .fade-in-up, .fade-in-bottom {
    opacity: 0;
    transition: all 0.8s ease;
}

.fade-in {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-bottom {
    transform: translateY(50px);
}

.fade-in.animate-in, 
.fade-in-left.animate-in, 
.fade-in-right.animate-in,
.fade-in-up.animate-in,
.fade-in-bottom.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .service-detail-content,
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-content.reverse .service-detail-visual {
        order: 2;
    }

    .service-detail-content.reverse .service-detail-text {
        order: 1;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-highlights {
        gap: 1rem;
    }

    .highlight-badge {
        padding: 0.75rem 1.25rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-text h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .service-detail-text p {
        font-size: 1rem;
    }

    .tech-grid,
    .tech-grid.compact {
        grid-template-columns: 1fr;
    }

    .statement-content {
        flex-direction: column;
        padding: 2rem;
    }

    .statement-content i {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Reduce spacing in keypoint items for mobile */
    .keypoint-item {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .keypoint-item i {
        font-size: 1rem;
        margin-top: 0.1rem;
    }

    .keypoint-item span {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .expert-info {
        order: 1;
    }

    .contact-form-wrapper {
        order: 2;
        padding: 2rem 1.5rem;
    }

    .expert-avatar img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .kundenservice-hero {
        padding: 120px 15px 60px 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .benefits-section,
    .service-detail-section {
        padding: 60px 15px;
    }

    .benefit-card {
        padding: 2rem;
    }

    .tech-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 80px 15px;
    }
}
