* {
    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;
}

/* ===============================
   HERO SECTION
================================== */
.hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px 40px;
}

.pattern {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.pattern-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.pattern-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    );
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease;
}

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

.highlight {
    background: linear-gradient(120deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeIn 1s ease 0.3s both;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeIn 1s ease 0.6s both;
}

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

.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: white;
    color: #667eea;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 10;
    animation: fadeIn 1s ease 1.2s both;
}

.scroll-indicator span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 25px;
    height: 25px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(10px);
    }
}

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

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

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

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

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    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.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

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

.career-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px 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;
}

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

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

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

.career-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.career-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;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.overlay-icon {
    font-size: 80px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

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

.career-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 18px;
    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;
}

.badge-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-cyan {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.card-content {
    padding: 35px;
}

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

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

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

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

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

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

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

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

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

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

.card-btn {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 1rem;
    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);
}

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

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

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

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

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

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

/* ===============================
   AUSBILDUNG SECTION
================================== */
.ausbildung-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f4f8 100%);
    padding: 80px 20px;
}

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

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

.ausbildung-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease-out;
}

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

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

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

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

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

.image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.ausbildung-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.badge-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-orange {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
    color: white;
}

.badge-purple {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
}

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

.content-wrapper {
    flex-grow: 1;
}

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

.title-icon {
    font-size: 2.5rem;
    animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

.ausbildung-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.tag {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    color: #667eea;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.ausbildung-footer {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.ausbildung-btn {
    padding: 15px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ausbildung-btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    flex: 1;
}

.ausbildung-btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.ausbildung-btn.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

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

.ausbildung-btn.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

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

.ausbildung-grid .ausbildung-card {
    display: flex;
    flex-direction: column;
}

.ausbildung-grid .ausbildung-image-wrapper {
    height: 280px;
}

.more-offers-container {
    text-align: center;
    margin-top: 50px;
}

.more-offers-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 2px solid #667eea;
}

.more-offers-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.more-offers-btn:hover .arrow-icon {
    transform: translateX(8px);
}

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

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

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

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

    .ausbildung-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 350px;
    }

    .karriere-section,
    .ausbildung-section {
        padding: 60px 20px;
    }

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

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

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

    .card-content {
        padding: 25px;
    }

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

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

    .ausbildung-content {
        padding: 30px;
    }

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

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

    .more-offers-btn {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

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

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

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

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

    .ausbildung-title {
        font-size: 1.5rem;
    }

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