/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 80px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
            circle at 20% 30%,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 50%
        );
    animation: pulse 8s ease-in-out infinite;
}

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

/* Geometric Patterns */
.pattern {
    position: absolute;
    opacity: 0.03;
}

.pattern-1 {
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 3px solid white;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.pattern-2 {
    bottom: 15%;
    left: 5%;
    width: 150px;
    height: 150px;
    border: 3px solid white;
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

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

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

/* Überschrift */
.hero-title {
    font-size: 5em;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
    animation: fadeInDown 1s ease-out;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
}

@keyframes shimmer {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.4);
    }
}

/* Beschreibungstext */
.hero-description {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 50px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Buttons Container */
.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 22px 50px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    font-weight: 700;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* Statistiken */
.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 35px 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    min-width: 220px;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1),
        rgba(139, 92, 246, 0.1)
    );
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.stat-number {
    font-size: 3.5em;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 2;
}

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

.scroll-indicator span {
    display: block;
    font-size: 0.85em;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.scroll-arrow::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 28px;
        opacity: 0;
    }
}

/* 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);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4em;
    }

    .hero-description {
        font-size: 1.3em;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-item {
        padding: 30px 40px;
        min-width: 200px;
    }
}

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

    .hero-title {
        font-size: 2.8em;
        margin-bottom: 30px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 1.15em;
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 50px;
    }

    .btn {
        padding: 18px 40px;
        font-size: 1.1em;
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-item {
        padding: 25px 35px;
        min-width: 160px;
    }

    .stat-icon {
        font-size: 2.5em;
    }

    .stat-number {
        font-size: 3em;
    }

    .stat-label {
        font-size: 0.95em;
    }

    .pattern-1,
    .pattern-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2em;
    }

    .hero-description {
        font-size: 1em;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        padding: 16px 30px;
    }
}

/* ========================================== XXXXXXX =============================== */

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 0.8s ease-out;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.card-large {
    grid-column: span 2;
}

.card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image-wrapper {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.9) 0%,
        rgba(118, 75, 162, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card:nth-child(2) .card-overlay {
    background: linear-gradient(
        135deg,
        rgba(240, 147, 251, 0.9) 0%,
        rgba(245, 87, 108, 0.9) 100%
    );
}

.card:nth-child(3) .card-overlay {
    background: linear-gradient(
        135deg,
        rgba(79, 172, 254, 0.9) 0%,
        rgba(0, 242, 254, 0.9) 100%
    );
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.card-content {
    padding: 40px;
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    font-size: 2.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.card-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.card-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #eef1ff;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.3rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.card-footer {
    display: flex;
    gap: 15px;
}

.card-btn {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.card:nth-child(2) .card-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card:nth-child(2) .card-btn:hover {
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.card:nth-child(3) .card-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card:nth-child(3) .card-btn:hover {
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

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

@media (max-width: 1024px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card-large {
        grid-column: span 1;
    }

    .card-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .card-image-wrapper {
        height: 250px;
    }

    .card-content {
        padding: 25px;
    }

    .card-title {
        font-size: 1.8rem;
    }

    .card-footer {
        flex-direction: column;
    }
}

/* ============================================   DIENSTLEISTUNGEN - MODERN STYLES ============================================ */

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

body {
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
        "Roboto", sans-serif;
    background: #ffffff;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   SECTION HEADERS (SHARED)
============================================ */
.section-header,
.karriere-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1),
        rgba(118, 75, 162, 0.1)
    );
    color: #667eea;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.section-header h2,
.karriere-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0f0c29;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInDown 0.8s ease-out 0.4s both;
}

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

/* ============================================
   DIENSTLEISTUNGEN SECTION
============================================ */
.dienstleistungen-section {
    padding: 120px 20px;
    background: #ffffff;
    position: relative;
}

.services-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.2);
}

.timeline-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #f093fb;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(240, 147, 251, 0.2);
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

/* Timeline Connector Dot */
.service-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid #667eea;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover::before {
    width: 40px;
    height: 40px;
    border-width: 5px;
    box-shadow: 0 0 0 15px rgba(102, 126, 234, 0.2);
}

.service-card[data-service="2"]::before {
    border-color: #10b981;
}
.service-card[data-service="3"]::before {
    border-color: #ef4444;
}
.service-card[data-service="4"]::before {
    border-color: #f59e0b;
}
.service-card[data-service="5"]::before {
    border-color: #8b5cf6;
}
.service-card[data-service="6"]::before {
    border-color: #ec4899;
}

/* Alternating Layout */
.service-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card:nth-child(even) .service-content {
    order: 1;
}

.service-card[data-service="1"] {
    animation-delay: 0.1s;
}
.service-card[data-service="2"] {
    animation-delay: 0.2s;
}
.service-card[data-service="3"] {
    animation-delay: 0.3s;
}
.service-card[data-service="4"] {
    animation-delay: 0.4s;
}
.service-card[data-service="5"] {
    animation-delay: 0.5s;
}
.service-card[data-service="6"] {
    animation-delay: 0.6s;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.2);
}

.service-number {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.service-card:nth-child(even) .service-number {
    left: auto;
    right: 30px;
}

.service-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.service-badge.badge-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-badge.badge-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.service-badge.badge-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-badge.badge-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-badge.badge-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-content {
    padding: 40px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-icon.icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-icon.icon-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.service-icon.icon-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-icon.icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-icon.icon-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f0c29;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-content > p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #2d3748;
    font-size: 1rem;
}

.service-features li i {
    color: #10b981;
    font-size: 1.2rem;
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-button:hover::before {
    width: 400px;
    height: 400px;
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.5);
}

.service-button span,
.service-button i {
    position: relative;
    z-index: 1;
}

.service-button i {
    transition: transform 0.3s ease;
}

.service-button:hover i {
    transform: translateX(5px);
}

.service-button.btn-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.service-button.btn-green:hover {
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.5);
}

.service-button.btn-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.service-button.btn-red:hover {
    box-shadow: 0 15px 45px rgba(239, 68, 68, 0.5);
}

.service-button.btn-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.service-button.btn-orange:hover {
    box-shadow: 0 15px 45px rgba(245, 158, 11, 0.5);
}

.service-button.btn-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.service-button.btn-purple:hover {
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.5);
}

.service-button.btn-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.service-button.btn-pink:hover {
    box-shadow: 0 15px 45px rgba(236, 72, 153, 0.5);
}

/* ============================================
   DEUTSCHKURSE SECTION
============================================ */
.deutschkurse-section {
    padding: 100px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.deutschkurse-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(102, 126, 234, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.deutschkurse-section::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(118, 75, 162, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 20px) rotate(3deg);
    }
}

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

.deutschkurse-content {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.dk-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.dk-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1),
        rgba(118, 75, 162, 0.1)
    );
    color: #667eea;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.deutschkurse-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #0f0c29;
    margin-bottom: 20px;
    line-height: 1.2;
}

.deutschkurse-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 30px;
}

.dk-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.dk-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.05),
        rgba(118, 75, 162, 0.05)
    );
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.dk-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.dk-feature-item i {
    font-size: 1.2rem;
}

.dk-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.dk-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dk-button:hover::before {
    width: 400px;
    height: 400px;
}

.dk-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.6);
}

.dk-button span,
.dk-button i {
    position: relative;
    z-index: 1;
}

.deutschkurse-image {
    position: relative;
}

.deutschkurse-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.deutschkurse-image:hover img {
    transform: scale(1.05);
}

.dk-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.dk-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatRandom 4s ease-in-out infinite;
}

.dk-floating-icon i {
    font-size: 1.5rem;
    color: #667eea;
}

.dk-floating-icon:nth-child(1) {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.dk-floating-icon:nth-child(2) {
    top: 60%;
    left: -8%;
    animation-delay: 1s;
}

.dk-floating-icon:nth-child(3) {
    top: 20%;
    right: -5%;
    animation-delay: 2s;
}

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

/* ============================================
   KARRIERE SECTION
============================================ */
.karriere-section {
    padding: 120px 20px;
    background: #f8f9fa;
}

.karriere-container {
    max-width: 1400px;
    margin: 0 auto;
}

.karriere-featured {
    margin-bottom: 50px;
}

.karriere-featured:last-of-type {
    margin-bottom: 0;
}

.karriere-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.karriere-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.15);
}

.karriere-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Alternating Layout for Karriere Cards */
.karriere-featured:nth-child(even) .karriere-card.featured {
    grid-template-columns: 1fr 1fr;
}

.karriere-featured:nth-child(even) .karriere-image {
    order: 2;
}

.karriere-featured:nth-child(even) .karriere-content {
    order: 1;
}

.karriere-image {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.karriere-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.karriere-card:hover .karriere-image img {
    transform: scale(1.1);
}

.karriere-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.karriere-badge.badge-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.karriere-badge.badge-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
}

.karriere-badge.badge-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.karriere-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.karriere-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f0c29;
    margin-bottom: 20px;
    line-height: 1.3;
}

.karriere-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 25px;
}

.karriere-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tag i {
    color: #10b981;
}

.karriere-footer {
    display: flex;
    gap: 15px;
    padding-top: 25px;
    border-top: 2px solid #f1f5f9;
}

.karriere-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.karriere-button.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.karriere-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.6);
}

.karriere-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.karriere-button.secondary:hover {
    background: #667eea;
    color: white;
}

.karriere-button span,
.karriere-button i {
    position: relative;
    z-index: 1;
}

.karriere-more {
    text-align: center;
    margin-top: 60px;
}

.more-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: white;
    color: #667eea;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.more-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.more-button:hover::before {
    opacity: 1;
}

.more-button:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.more-button span,
.more-button i {
    position: relative;
    z-index: 1;
}

.more-button i {
    transition: transform 0.3s ease;
}

.more-button:hover i {
    transform: translateY(5px);
}

/* ============================================
   SERVICE MODAL
============================================ */
.service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.service-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal {
    background: white;
    border-radius: 30px;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    margin: auto;
}

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

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

.service-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.service-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.service-modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 60px;
    color: white;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 5;
}

.service-modal-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-modal-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.service-modal-body {
    padding: 60px;
}

.service-modal-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f0c29;
    margin: 40px 0 20px 0;
}

.service-modal-body h3:first-child {
    margin-top: 0;
}

.service-modal-body p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-modal-body ul {
    list-style: none;
    margin: 20px 0;
}

.service-modal-body li {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-modal-body li:hover {
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.05),
        rgba(118, 75, 162, 0.05)
    );
    transform: translateX(5px);
}

.service-modal-body strong {
    color: #667eea;
    font-weight: 700;
}

/* Scrollbar */
.service-modal::-webkit-scrollbar {
    width: 10px;
}

.service-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.service-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.service-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* ============================================
   MODAL RESPONSIVE - LAPTOPS & DESKTOPS
============================================ */

/* Large Laptops (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 992px) {
    .service-modal {
        max-width: 950px;
    }

    .service-modal-header {
        padding: 55px 50px;
    }

    .service-modal-icon {
        width: 90px;
        height: 90px;
        font-size: 2.8rem;
    }

    .service-modal-body {
        padding: 50px;
    }

    .service-modal-body h3 {
        font-size: 1.7rem;
    }

    .service-modal-body p {
        font-size: 1.08rem;
    }
}

/* Standard Laptops (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .service-modal-overlay {
        padding: 15px;
    }

    .service-modal {
        max-width: 850px;
        max-height: 88vh;
        border-radius: 25px;
    }

    .service-modal-close {
        width: 48px;
        height: 48px;
        top: 22px;
        right: 22px;
        font-size: 1.4rem;
    }

    .service-modal-header {
        padding: 50px 45px;
        border-radius: 25px 25px 0 0;
    }

    .service-modal-icon {
        width: 85px;
        height: 85px;
        font-size: 2.6rem;
        margin-bottom: 22px;
        border-radius: 20px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    }

    .service-modal-body {
        padding: 45px;
    }

    .service-modal-body h3 {
        font-size: 1.65rem;
        margin: 35px 0 18px 0;
    }

    .service-modal-body p {
        font-size: 1.06rem;
        line-height: 1.75;
        margin-bottom: 18px;
    }

    .service-modal-body ul {
        margin: 18px 0;
    }

    .service-modal-body li {
        padding: 14px;
        margin-bottom: 9px;
        font-size: 1.05rem;
    }
}

/* ============================================
   MODAL RESPONSIVE - TABLETS
============================================ */

/* Large Tablets (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .service-modal-overlay {
        padding: 12px;
    }

    .service-modal {
        max-width: 720px;
        max-height: 86vh;
        border-radius: 22px;
    }

    .service-modal-close {
        width: 46px;
        height: 46px;
        top: 20px;
        right: 20px;
        font-size: 1.35rem;
    }

    .service-modal-header {
        padding: 45px 40px;
        border-radius: 22px 22px 0 0;
    }

    .service-modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.8rem, 4vw, 2.3rem);
        line-height: 1.25;
    }

    .service-modal-body {
        padding: 40px;
    }

    .service-modal-body h3 {
        font-size: 1.6rem;
        margin: 32px 0 16px 0;
    }

    .service-modal-body p {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 16px;
    }

    .service-modal-body ul {
        margin: 16px 0;
    }

    .service-modal-body li {
        padding: 13px;
        margin-bottom: 8px;
        font-size: 1.02rem;
        gap: 13px;
    }
}

/* Standard Tablets (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .service-modal-overlay {
        padding: 10px;
    }

    .service-modal {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px;
    }

    .service-modal-close {
        width: 44px;
        height: 44px;
        top: 18px;
        right: 18px;
        font-size: 1.3rem;
    }

    .service-modal-header {
        padding: 40px 35px;
        border-radius: 20px 20px 0 0;
    }

    .service-modal-icon {
        width: 75px;
        height: 75px;
        font-size: 2.3rem;
        margin-bottom: 18px;
        border-radius: 16px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.7rem, 4.5vw, 2.2rem);
        line-height: 1.25;
    }

    .service-modal-body {
        padding: 35px 30px;
    }

    .service-modal-body h3 {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
    }

    .service-modal-body h3:first-child {
        margin-top: 0;
    }

    .service-modal-body p {
        font-size: 1.03rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .service-modal-body ul {
        margin: 15px 0;
    }

    .service-modal-body li {
        padding: 12px;
        margin-bottom: 8px;
        font-size: 1rem;
        gap: 12px;
        border-radius: 9px;
    }

    .service-modal-body strong {
        font-size: 1.02rem;
    }
}

/* ============================================
   MODAL RESPONSIVE - MOBILE PHONES
============================================ */

/* Large Phones (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .service-modal-overlay {
        padding: 8px;
    }

    .service-modal {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 18px;
    }

    .service-modal-close {
        width: 42px;
        height: 42px;
        top: 16px;
        right: 16px;
        font-size: 1.25rem;
    }

    .service-modal-header {
        padding: 35px 28px;
        border-radius: 18px 18px 0 0;
    }

    .service-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2.1rem;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        line-height: 1.3;
    }

    .service-modal-body {
        padding: 30px 25px;
    }

    .service-modal-body h3 {
        font-size: 1.4rem;
        margin: 28px 0 14px 0;
    }

    .service-modal-body h3:first-child {
        margin-top: 0;
    }

    .service-modal-body p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .service-modal-body ul {
        margin: 14px 0;
    }

    .service-modal-body li {
        padding: 11px;
        margin-bottom: 7px;
        font-size: 0.97rem;
        gap: 11px;
        border-radius: 8px;
    }

    .service-modal-body strong {
        font-size: 1rem;
    }

    .service-modal::-webkit-scrollbar {
        width: 8px;
    }
}

/* Standard Phones (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .service-modal-overlay {
        padding: 5px;
    }

    .service-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .service-modal-close {
        width: 40px;
        height: 40px;
        top: 14px;
        right: 14px;
        font-size: 1.2rem;
        border-width: 1.5px;
    }

    .service-modal-header {
        padding: 32px 24px;
        border-radius: 16px 16px 0 0;
    }

    .service-modal-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        margin-bottom: 14px;
        border-radius: 13px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.5rem, 5.5vw, 1.9rem);
        line-height: 1.3;
    }

    .service-modal-body {
        padding: 28px 22px;
    }

    .service-modal-body h3 {
        font-size: 1.35rem;
        margin: 26px 0 13px 0;
        line-height: 1.3;
    }

    .service-modal-body h3:first-child {
        margin-top: 0;
    }

    .service-modal-body p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 13px;
    }

    .service-modal-body ul {
        margin: 13px 0;
    }

    .service-modal-body li {
        padding: 10px;
        margin-bottom: 7px;
        font-size: 0.95rem;
        gap: 10px;
        border-radius: 8px;
    }

    .service-modal-body strong {
        font-size: 0.98rem;
    }

    .service-modal::-webkit-scrollbar {
        width: 6px;
    }
}

/* Small Phones (320px - 374px) */
@media (max-width: 374px) {
    .service-modal-overlay {
        padding: 3px;
    }

    .service-modal {
        max-width: 100%;
        max-height: 96vh;
        border-radius: 14px;
    }

    .service-modal-close {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
        font-size: 1.15rem;
        border-width: 1.5px;
    }

    .service-modal-header {
        padding: 28px 20px;
        border-radius: 14px 14px 0 0;
    }

    .service-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
        line-height: 1.3;
    }

    .service-modal-body {
        padding: 24px 18px;
    }

    .service-modal-body h3 {
        font-size: 1.25rem;
        margin: 24px 0 12px 0;
        line-height: 1.35;
    }

    .service-modal-body h3:first-child {
        margin-top: 0;
    }

    .service-modal-body p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .service-modal-body ul {
        margin: 12px 0;
    }

    .service-modal-body li {
        padding: 9px;
        margin-bottom: 6px;
        font-size: 0.92rem;
        gap: 9px;
        border-radius: 7px;
        flex-direction: column;
        align-items: start;
    }

    .service-modal-body strong {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 4px;
    }

    .service-modal::-webkit-scrollbar {
        width: 5px;
    }
}

/* Extra Small Phones (< 320px) */
@media (max-width: 319px) {
    .service-modal-overlay {
        padding: 2px;
    }

    .service-modal {
        border-radius: 12px;
        max-height: 97vh;
    }

    .service-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .service-modal-header {
        padding: 24px 16px;
        border-radius: 12px 12px 0 0;
    }

    .service-modal-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

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

    .service-modal-body {
        padding: 20px 15px;
    }

    .service-modal-body h3 {
        font-size: 1.15rem;
        margin: 20px 0 10px 0;
    }

    .service-modal-body p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .service-modal-body li {
        padding: 8px;
        font-size: 0.88rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .services-timeline,
    .deutschkurse-container,
    .karriere-container {
        max-width: 1400px;
    }
}

/* Large Devices (1200px - 1399px) */
@media (max-width: 1399px) {
    .service-card {
        gap: 40px;
    }

    .deutschkurse-content {
        gap: 50px;
        padding: 50px;
    }

    .karriere-content {
        padding: 45px;
    }
}

/* Medium-Large Devices (992px - 1199px) */
@media (max-width: 1199px) {
    .section-header h2,
    .karriere-header h2 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .service-card {
        gap: 35px;
    }

    .service-content {
        padding: 35px;
    }

    .deutschkurse-content {
        gap: 45px;
        padding: 45px;
    }

    .deutschkurse-text h2 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .karriere-content h3 {
        font-size: 2rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .dienstleistungen-section,
    .deutschkurse-section,
    .karriere-section {
        padding: 80px 25px;
    }

    .section-header,
    .karriere-header {
        margin-bottom: 60px;
    }

    .services-container {
        gap: 60px;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .service-card::before {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-card:hover::before {
        width: 35px;
        height: 35px;
    }

    .service-card:nth-child(even) .service-image,
    .service-card:nth-child(even) .service-content {
        order: unset;
    }

    .service-number {
        left: 25px !important;
        right: auto !important;
        top: 25px;
    }

    .service-image {
        height: 320px;
    }

    .service-content {
        padding: 35px 30px;
    }

    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-line::before,
    .timeline-line::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .deutschkurse-content {
        grid-template-columns: 1fr;
        padding: 45px 35px;
        gap: 40px;
    }

    .deutschkurse-image img {
        height: 400px;
    }

    .karriere-card.featured {
        grid-template-columns: 1fr;
    }

    .karriere-featured:nth-child(even) .karriere-image,
    .karriere-featured:nth-child(even) .karriere-content {
        order: unset;
    }

    .karriere-image {
        min-height: 320px;
    }

    .karriere-content {
        padding: 40px 35px;
    }

    .karriere-footer {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-modal-header {
        padding: 45px 35px;
    }

    .service-modal-body {
        padding: 40px 35px;
    }
}

/* Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    .dienstleistungen-section,
    .deutschkurse-section,
    .karriere-section {
        padding: 60px 20px;
    }

    .section-header,
    .karriere-header {
        margin-bottom: 50px;
    }

    .section-badge {
        font-size: 0.85rem;
        padding: 10px 22px;
        gap: 8px;
    }

    .section-header h2,
    .karriere-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .section-subtitle {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }

    .services-container {
        gap: 50px;
    }

    .service-card {
        border-radius: 20px;
    }

    .service-card::before {
        width: 24px;
        height: 24px;
        border-width: 3px;
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.1);
        top: -12px;
    }

    .service-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        left: 20px !important;
        top: 20px;
    }

    .service-image {
        height: 280px;
    }

    .service-content {
        padding: 30px 25px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        border-radius: 15px;
    }

    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .service-content > p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .service-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .timeline-line {
        width: 3px;
    }

    .deutschkurse-content {
        padding: 40px 30px;
        gap: 35px;
        border-radius: 25px;
    }

    .dk-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .dk-badge {
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .deutschkurse-text h2 {
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin-bottom: 15px;
    }

    .deutschkurse-text p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .dk-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .dk-feature-item {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .dk-button {
        padding: 16px 40px;
        font-size: 1.05rem;
    }

    .deutschkurse-image img {
        height: 350px;
        border-radius: 18px;
    }

    .dk-floating-icon {
        display: none;
    }

    .karriere-featured {
        margin-bottom: 40px;
    }

    .karriere-card {
        border-radius: 25px;
    }

    .karriere-image {
        min-height: 280px;
    }

    .karriere-badge {
        top: 20px;
        right: 20px;
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .karriere-content {
        padding: 35px 30px;
    }

    .karriere-content h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .karriere-content p {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    .karriere-tags {
        gap: 10px;
        margin-bottom: 25px;
    }

    .tag {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .karriere-footer {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }

    .karriere-button {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
    }

    .karriere-more {
        margin-top: 50px;
    }

    .more-button {
        padding: 18px 40px;
        font-size: 1.05rem;
    }

    .service-modal-icon {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .service-modal-close {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        top: 20px;
        right: 20px;
    }

    .service-modal-header {
        padding: 40px 30px;
    }

    .service-modal-header h2 {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }

    .service-modal-body {
        padding: 35px 30px;
    }

    .service-modal-body h3 {
        font-size: 1.5rem;
        margin: 35px 0 18px 0;
    }

    .service-modal-body p {
        font-size: 1.05rem;
    }

    .service-modal-body li {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Mobile Devices (320px - 575px) */
@media (max-width: 575px) {
    .dienstleistungen-section,
    .deutschkurse-section,
    .karriere-section {
        padding: 50px 15px;
    }

    .section-header,
    .karriere-header {
        margin-bottom: 40px;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 8px 18px;
        gap: 6px;
    }

    .section-header h2,
    .karriere-header h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.05rem);
        line-height: 1.6;
    }

    .services-container {
        gap: 45px;
    }

    .service-card {
        border-radius: 18px;
    }

    .service-card::before {
        width: 20px;
        height: 20px;
        border-width: 3px;
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.08);
        top: -10px;
    }

    .service-card:hover::before {
        width: 26px;
        height: 26px;
    }

    .service-number {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        left: 15px !important;
        top: 15px;
        border-radius: 12px;
    }

    .service-image {
        height: 240px;
    }

    .service-badge {
        bottom: 15px;
        left: 15px;
        padding: 8px 20px;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .service-content {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.25;
    }

    .service-content > p {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .service-features {
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 0.9rem;
        padding: 8px 0;
        gap: 10px;
    }

    .service-features li i {
        font-size: 1.1rem;
    }

    .service-button {
        padding: 13px 28px;
        font-size: 0.95rem;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .timeline-line {
        width: 2px;
        left: 50%;
    }

    .timeline-line::before,
    .timeline-line::after {
        width: 16px;
        height: 16px;
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.15);
    }

    .deutschkurse-content {
        padding: 30px 20px;
        gap: 30px;
        border-radius: 20px;
    }

    .dk-icon-wrapper {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 18px;
        border-radius: 15px;
    }

    .dk-badge {
        font-size: 0.8rem;
        padding: 7px 18px;
        gap: 8px;
        margin-bottom: 15px;
    }

    .deutschkurse-text h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 12px;
    }

    .deutschkurse-text p {
        font-size: 1rem;
        margin-bottom: 22px;
        line-height: 1.7;
    }

    .dk-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 25px;
    }

    .dk-feature-item {
        padding: 9px 16px;
        font-size: 0.9rem;
        gap: 8px;
        border-radius: 12px;
    }

    .dk-feature-item i {
        font-size: 1.1rem;
    }

    .dk-button {
        padding: 15px 35px;
        font-size: 1rem;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .deutschkurse-image img {
        height: 280px;
        border-radius: 15px;
    }

    .karriere-featured {
        margin-bottom: 35px;
    }

    .karriere-card {
        border-radius: 20px;
    }

    .karriere-image {
        min-height: 240px;
    }

    .karriere-badge {
        top: 15px;
        right: 15px;
        padding: 8px 18px;
        font-size: 0.8rem;
        gap: 6px;
        border-radius: 20px;
    }

    .karriere-badge i {
        font-size: 0.9rem;
    }

    .karriere-content {
        padding: 28px 22px;
    }

    .karriere-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .karriere-content p {
        font-size: 1rem;
        margin-bottom: 18px;
        line-height: 1.7;
    }

    .karriere-tags {
        gap: 8px;
        margin-bottom: 22px;
    }

    .tag {
        font-size: 0.8rem;
        padding: 7px 14px;
        gap: 6px;
    }

    .tag i {
        font-size: 0.9rem;
    }

    .karriere-footer {
        flex-direction: column;
        gap: 10px;
        padding-top: 18px;
    }

    .karriere-button {
        padding: 13px 26px;
        font-size: 0.9rem;
        gap: 8px;
        width: 100%;
        justify-content: center;
        border-radius: 40px;
    }

    .karriere-more {
        margin-top: 45px;
    }

    .more-button {
        padding: 16px 35px;
        font-size: 1rem;
        gap: 12px;
        width: 100%;
        max-width: 340px;
        border-radius: 40px;
    }

    .service-modal {
        border-radius: 18px;
        max-height: 92vh;
    }

    .service-modal-icon {
        width: 75px;
        height: 75px;
        font-size: 2.2rem;
        margin-bottom: 18px;
        border-radius: 18px;
    }

    .service-modal-close {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        top: 18px;
        right: 18px;
    }

    .service-modal-header {
        padding: 35px 22px;
        border-radius: 18px 18px 0 0;
    }

    .service-modal-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        line-height: 1.25;
    }

    .service-modal-body {
        padding: 30px 22px;
    }

    .service-modal-body h3 {
        font-size: 1.35rem;
        margin: 30px 0 15px 0;
    }

    .service-modal-body h3:first-child {
        margin-top: 0;
    }

    .service-modal-body p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .service-modal-body ul {
        margin: 18px 0;
    }

    .service-modal-body li {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 0.95rem;
        gap: 12px;
        border-radius: 8px;
    }

    .service-modal-body strong {
        font-size: 1rem;
    }
}

/* Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
    .section-header h2,
    .karriere-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .service-card {
        border-radius: 15px;
    }

    .service-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 20px 16px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

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

    .service-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .deutschkurse-content {
        padding: 25px 16px;
    }

    .deutschkurse-text h2 {
        font-size: 1.7rem;
    }

    .dk-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .deutschkurse-image img {
        height: 260px;
    }

    .karriere-content {
        padding: 24px 18px;
    }

    .karriere-content h3 {
        font-size: 1.35rem;
    }

    .karriere-button {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .more-button {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .service-modal-header {
        padding: 30px 18px;
    }

    .service-modal-body {
        padding: 26px 18px;
    }
}

@media (max-width: 768px) {
    .section-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .service-card {
        border-radius: 20px;
    }

    .service-card::before {
        width: 20px;
        height: 20px;
        border-width: 3px;
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.1);
    }

    .service-image {
        height: 250px;
    }

    .service-content {
        padding: 30px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

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

    .timeline-line {
        width: 3px;
        left: 20px;
    }

    .deutschkurse-content {
        padding: 40px 30px;
    }

    .dk-features {
        grid-template-columns: 1fr;
    }

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

    .dk-floating-icon {
        display: none;
    }

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

    .karriere-footer {
        flex-direction: column;
    }

    .karriere-image {
        min-height: 300px;
    }

    .service-modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .service-modal-close {
        width: 45px;
        height: 45px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .dienstleistungen-section,
    .deutschkurse-section,
    .karriere-section {
        padding: 60px 15px;
    }

    .services-container {
        gap: 50px;
    }

    .service-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 20px;
        left: 20px !important;
    }

    .service-card::before {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

    .service-content {
        padding: 25px;
    }

    .service-button,
    .dk-button {
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .timeline-line {
        width: 2px;
        left: 15px;
    }

    .deutschkurse-content {
        padding: 30px 20px;
    }

    .deutschkurse-image img {
        height: 300px;
    }

    .karriere-content {
        padding: 30px 25px;
    }

    .karriere-button {
        width: 100%;
        justify-content: center;
    }

    .karriere-image {
        min-height: 250px;
    }

    .service-modal {
        border-radius: 20px;
    }

    .service-modal-header {
        padding: 40px 25px;
    }

    .service-modal-body {
        padding: 30px 25px;
    }

    .service-modal-body h3 {
        font-size: 1.4rem;
    }

    .more-button {
        padding: 18px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 350px;
    }
}
