/* ================================ GERMAN OSTAD BRAND COLORS ====================================== */
:root {
    --primary-coral: #ff7a5c;
    --primary-navy: #2b2d42;
    --primary-blue: #4a90e2;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;

    /* Gradient Combinations */
    --gradient-coral: linear-gradient(135deg, #ff7a5c 0%, #ff9478 100%);
    --gradient-navy: linear-gradient(135deg, #2b2d42 0%, #3d4058 100%);
    --gradient-blue: linear-gradient(135deg, #4a90e2 0%, #5fa3f5 100%);
    --gradient-mixed: linear-gradient(
        135deg,
        #2b2d42 0%,
        #4a90e2 50%,
        #ff7a5c 100%
    );
}

/* ================================ Global Styles ====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ================================ Hero Section ====================================== */

.leistung-hero {
    position: relative;
    min-height: 60vh;
    background: var(--gradient-navy);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Animierte Hintergrund-Elemente */
.leistung-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 92, 0.15), transparent);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float 10s ease-in-out infinite;
}

.leistung-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.12), transparent);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

/* Partikel-Effekt */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 122, 92, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
    box-shadow: 0 0 10px rgba(255, 122, 92, 0.3);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}
.particle:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 15s;
    background: rgba(74, 144, 226, 0.4);
}
.particle:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 13s;
}
.particle:nth-child(4) {
    left: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
    background: rgba(74, 144, 226, 0.4);
}
.particle:nth-child(5) {
    left: 75%;
    animation-delay: 3s;
    animation-duration: 16s;
}
.particle:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 11s;
    background: rgba(74, 144, 226, 0.4);
}

.leistung-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* =================== Linke Seite - Text ================== */
.leistung-text {
    color: white;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.leistung-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 92, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 92, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 122, 92, 0.2);
}

.leistung-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ff7a5c, #4a90e2);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.leistung-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
}

/* Highlight-Features */
.highlight-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 122, 92, 0.2);
    border-color: var(--primary-coral);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 92, 0.3);
}

.highlight-icon {
    font-size: 1.3rem;
    color: var(--primary-coral);
}

.highlight-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--gradient-coral);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(255, 122, 92, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 122, 92, 0.6);
}

/* =================== Rechte Seite - Bild ================== */
.leistung-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Gradient Overlay auf Bild */
.image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 122, 92, 0.3),
        rgba(74, 144, 226, 0.15)
    );
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover::before {
    opacity: 0.4;
}

.leistung-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

/* Dekorative Elemente um das Bild */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.decorative-circle-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
    border: 3px solid rgba(255, 122, 92, 0.4);
    box-shadow: 0 0 30px rgba(255, 122, 92, 0.3);
}

.decorative-circle-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
    border: 3px solid rgba(74, 144, 226, 0.4);
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
    animation-direction: reverse;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================ Unsere Dienstleistungen  ====================================== */

.dienstleistungen-section {
    width: 100%;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: visible;
}

.dienstleistungen-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
}

.dienstleistungen-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 92, 0.08), transparent);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.dienstleistungen-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dienstleistungen-container h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out;
}

.dienstleistungen-container > p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@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);
    }
}

/* =================== Services Wrapper ================== */
.services-wrapper {
    position: relative;
}

svg.arrow-connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.arrow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawArrow 2s ease-in-out forwards;
}

.arrow-head {
    animation: fadeArrowHead 2s ease-in-out forwards;
}

@keyframes drawArrow {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes fadeArrowHead {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

/* =================== Service Items ================== */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
    z-index: 2;
}

.service-item:nth-child(1) {
    animation-delay: 0.3s;
}
.service-item:nth-child(2) {
    animation-delay: 0.4s;
}
.service-item:nth-child(3) {
    animation-delay: 0.5s;
}
.service-item:nth-child(4) {
    animation-delay: 0.6s;
}
.service-item:nth-child(5) {
    animation-delay: 0.7s;
}
.service-item:nth-child(6) {
    animation-delay: 0.8s;
}

/* Image Container */
.service-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.service-item:nth-child(even) .service-image {
    order: 2;
    animation: slideInRight 0.8s ease-out both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image:hover img {
    transform: scale(1.08) rotate(2deg);
}

.service-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mixed);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-image:hover::before {
    opacity: 0.2;
}

/* Placeholder Image */
.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Individual Placeholder Colors */
.placeholder-1 {
    background: var(--gradient-coral);
}
.placeholder-2 {
    background: var(--gradient-blue);
}
.placeholder-3 {
    background: linear-gradient(135deg, #ff7a5c 0%, #4a90e2 100%);
}
.placeholder-4 {
    background: var(--gradient-navy);
}
.placeholder-5 {
    background: linear-gradient(135deg, #4a90e2 0%, #ff7a5c 100%);
}
.placeholder-6 {
    background: linear-gradient(135deg, #2b2d42 0%, #ff7a5c 100%);
}

.placeholder::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.placeholder::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pulse 3s ease-in-out 0.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.placeholder-text {
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Content Container */
.service-content {
    animation: slideInRight 0.8s ease-out both;
    padding: 2rem;
}

.service-item:nth-child(even) .service-content {
    order: 1;
    animation: slideInLeft 0.8s ease-out both;
}

.service-content h3 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-content .badge {
    display: inline-block;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slideInUp 0.8s ease-out both;
    animation-delay: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Individual Badge Colors */
.badge-1,
.badge-4 {
    background: var(--gradient-coral);
}
.badge-2,
.badge-5 {
    background: var(--gradient-blue);
}
.badge-3 {
    background: linear-gradient(135deg, #ff7a5c, #4a90e2);
}
.badge-6 {
    background: var(--gradient-navy);
}

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

.service-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out both;
    animation-delay: 0.4s;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out both;
    animation-delay: 0.5s;
}

.service-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-coral);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-features li:hover::before {
    transform: scale(1.3);
}

.cta-button {
    display: inline-block;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    animation: slideInUp 0.8s ease-out both;
    animation-delay: 0.6s;
}

/* Individual Button Colors */
.cta-button-1,
.cta-button-4 {
    background: var(--gradient-coral);
    box-shadow: 0 10px 30px rgba(255, 122, 92, 0.3);
}

.cta-button-1:hover,
.cta-button-4:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 122, 92, 0.45);
}

.cta-button-2,
.cta-button-5 {
    background: var(--gradient-blue);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.cta-button-2:hover,
.cta-button-5:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(74, 144, 226, 0.45);
}

.cta-button-3 {
    background: linear-gradient(135deg, #ff7a5c, #4a90e2);
    box-shadow: 0 10px 30px rgba(255, 122, 92, 0.3);
}

.cta-button-3:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 122, 92, 0.45);
}

.cta-button-6 {
    background: var(--gradient-navy);
    box-shadow: 0 10px 30px rgba(43, 45, 66, 0.3);
}

.cta-button-6:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(43, 45, 66, 0.45);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* =================== Modal ================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 45, 66, 0.7);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.modal-content {
    background-color: var(--white);
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    margin-bottom: 0;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(
        135deg,
        var(--primary-navy) 0%,
        var(--primary-blue) 100%
    );
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: white;
    margin: 0;
}

.close-btn {
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Modal Sections */
.modal-section {
    padding: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-section:last-child {
    border-bottom: none;
}

.modal-intro {
    background: linear-gradient(
        135deg,
        rgba(255, 122, 92, 0.05) 0%,
        rgba(74, 144, 226, 0.05) 100%
    );
}

.modal-intro h2 {
    color: var(--primary-navy);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-section h3 {
    color: var(--primary-navy);
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h4 {
    color: var(--primary-navy);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-box {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 10px 30px rgba(255, 122, 92, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-box h4 {
    color: var(--primary-navy);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Checkmark List */
.checkmark-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.checkmark-list li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    border-bottom: 1px solid #f5f5f5;
}

.checkmark-list li:last-child {
    border-bottom: none;
}

.checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 30px;
    height: 30px;
    background: var(--gradient-coral);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-list li strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Benefits Section */
.modal-benefits {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.05) 0%,
        rgba(255, 122, 92, 0.05) 100%
    );
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    border-left: 4px solid var(--primary-coral);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* Stats Section */
.modal-stats {
    background: var(--gradient-navy);
    color: white;
}

.modal-stats h3 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-coral);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 122, 92, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Process Timeline */
.process-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(
        180deg,
        var(--primary-coral) 0%,
        var(--primary-blue) 100%
    );
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 122, 92, 0.3);
    z-index: 1;
    position: relative;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.modal-cta {
    background: linear-gradient(
        135deg,
        var(--primary-navy) 0%,
        var(--primary-blue) 100%
    );
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.modal-cta p {
    color: white;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.8;
}

.modal-cta strong {
    color: var(--primary-coral);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-coral);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* =================== Responsive Design ================== */
@media (max-width: 1024px) {
    .leistung-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 30px;
    }

    .leistung-text h1 {
        font-size: 2.3rem;
    }

    .leistung-image {
        order: -1;
    }

    .image-wrapper {
        transform: none;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

    .service-item:nth-child(even) {
        direction: rtl;
    }

    .service-item:nth-child(even) > * {
        direction: ltr;
    }

    .service-image {
        height: 350px;
    }

    .dienstleistungen-container h2 {
        font-size: 2.3rem;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .leistung-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .leistung-text h1 {
        font-size: 1.9rem;
    }

    .leistung-text p {
        font-size: 1.1rem;
    }

    .highlight-features {
        flex-direction: column;
    }

    .highlight-item {
        width: 100%;
        justify-content: center;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .leistung-image img {
        height: 350px;
    }

    .dienstleistungen-section {
        padding: 4rem 4%;
    }

    .dienstleistungen-container h2 {
        font-size: 1.9rem;
    }

    .service-image {
        height: 300px;
        border-radius: 15px;
    }

    .service-item {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .placeholder-icon {
        font-size: 3.5rem;
    }

    /* Modal Responsive */
    .modal-content {
        width: 95%;
        max-width: 600px;
    }

    .modal-section {
        padding: 2rem 1.5rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .timeline-item:not(:last-child)::after {
        left: 19px;
        top: 50px;
    }
}

@media (max-width: 480px) {
    .leistung-container {
        padding: 30px 20px;
    }

    .leistung-text h1 {
        font-size: 1.6rem;
    }

    .leistung-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    .dienstleistungen-section {
        padding: 3rem 3%;
    }

    .dienstleistungen-container h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .dienstleistungen-container > p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .service-image {
        height: 250px;
    }

    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .service-features li {
        font-size: 0.9rem;
        padding-left: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }

    .placeholder-text {
        font-size: 1rem;
    }
}
