/* Deaktiviere smooth-scroll für das initiale Laden */
html {
    scroll-behavior: auto;
}

/* Modern Design System */
:root {
    --primary: #CA1385;
    --primary-light: #CA1385;
    --primary-dark: #a01068;
    --secondary: #004799;
    --secondary-light: #0055b8;
    --secondary-dark: #003a7a;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f2f9ff;
    --bg-cream: #f2f9ff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Modern Navigation Styles */
header {
    background: var(--bg-white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.cta-button i {
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav-header img {
    height: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-nav-close:hover {
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-links a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 900px) {
    .nav-links, 
    .nav-actions .cta-button {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        height: 70px;
    }
    
    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    nav {
        height: 60px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-nav {
        padding: 1.5rem;
    }
    
    .mobile-nav-links a {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-badge {
    position: absolute;
    top: -40px;
    right: -95px;
    width: 130px;
    height: 130px;
    animation: floatAndRotate 4s ease-in-out infinite;
    z-index: 2;
}

.badge-inner {
    width: 100%;
    height: 100%;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    position: relative;  /* Added for proper positioning */
}

.floating-badge .number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.floating-badge .text {
    font-size: 1rem;
    line-height: 1.2;
    color: white;
}

@keyframes floatAndRotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .floating-badge {
        width: 100px;
        height: 100px;
        top: -10px;
        left: 15px;  /* Position from left instead of right */
        right: auto;  /* Remove right positioning */
    }

    .badge-inner {
        padding: 10px;  /* Reduced padding for mobile */
        width: 100%;  /* Ensure full width */
        height: 100%;  /* Ensure full height */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .floating-price-badge .price {
        font-size: 2rem;  /* Slightly smaller font size */
        line-height: 1;
        margin-bottom: 2px;
    }

    .floating-price-badge .text {
        font-size: 0.8rem;  /* Smaller text size */
        line-height: 1;
        text-align: center;
        width: 100%;  /* Ensure text wraps properly */
    }
}

.badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.primary {
    background: var(--primary);
    color: var(--bg-white);
}

.button.secondary {
    background: var(--secondary);
    color: var(--bg-white);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.hero-features .feature:hover {
    transform: translateX(10px);
}

.check-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-circle i {
    color: white;
    font-size: 1.2rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.feature-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--bg-light);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-light);
}

.pricing-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.period {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.pricing-features i {
    color: var(--primary);
    font-size: 1rem;
}

.pricing-card .button {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-gray);
}

.pricing-note p {
    margin-bottom: 1.5rem;
}

.pricing-card:hover:not(.featured) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: translateY(0);
    }
    
    .pricing-card {
        padding: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 28, 121, 0.1);
}

/* Footer */
footer {
    background: #004699;
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .hero-features {
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.pricing-card,
.contact-form {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Success Stories */
.success-stories {
    padding: 80px 0;
    background: var(--bg-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.story-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 2rem;
}

.story-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.story-author {
    color: var(--text-gray);
    font-weight: 500;
}

/* Subjects Section */
.subjects {
    background: var(--bg-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.subjects::before {
    display: none;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.subject-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.subject-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.subject-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.subjects-more {
    margin-top: 4rem;
    text-align: center;
}

.subjects-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.tag {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Certifications */
.certifications {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.cert-item {
    text-align: center;
}

.cert-item img {
    height: 80px;
    margin-bottom: 1rem;
}

.cert-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Locations */
.locations {
    padding: 80px 0;
    background: var(--bg-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.location-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f2f9ff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Animation Updates */
.process-card,
.story-card,
.subject-card,
.cert-item,
.location-card,
.faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Hero Locations */
.hero-locations {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.city {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.city.active {
    background: var(--primary);
    color: var(--bg-white);
}

.city:hover:not(.active) {
    background: var(--bg-light);
    color: var(--primary);
}

.city-highlight {
    color: var(--primary);
}

/* Stats Section Styles */
.stats {
    padding: 80px 0;
    background: var(--bg-white);
}

.stats .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stats .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-text {
        font-size: 1rem;
    }
}

.stat-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-icon i {
    background: var(--primary);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon i {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

.stat-content {
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.stat-progress {
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: var(--progress);
    transition: width 1.5s ease-in-out;
}

/* Updated Subject Cards */
.subject-card {
    display: flex;
    flex-direction: column;
}

.subject-card ul {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.subject-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.subject-card i {
    color: var(--primary);
    font-size: 0.9rem;
}

.button.outline {
    background: var(--secondary);
    color: var(--bg-white);
    border: 2px solid var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.button.outline:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Updated Tags */
.tag.special {
    background: var(--primary);
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
}

.tag.special:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Shape */
.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--bg-cream) 50%);
    z-index: -1;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Updated Responsive Design */
@media (max-width: 768px) {
    .hero-locations {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-badge {
        width: 80px;
        height: 80px;
        padding: 1rem;
    }
    
    .hero-badge .number {
        font-size: 1.5rem;
    }
    
    .hero-badge .text {
        font-size: 0.7rem;
    }
}

/* Tab System */
.subjects-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-button {
    background: transparent;
    border: none;
    cursor: pointer;
    flex: 0 1 140px;
    transition: all 0.3s ease;
}

.tab-icon-wrapper {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-icon {
    font-size: 24px;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.subject-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hover-Info-Styles */
.hover-info {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.hover-info::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--text-dark);
}

/* Farbige Icons und Hover-Effekte */
.tab-icon-wrapper.math-icon .tab-icon {
    color: #2196F3;
}

.tab-icon-wrapper.german-icon .tab-icon {
    color: #FF5722;
}

.tab-icon-wrapper.english-icon .tab-icon {
    color: #4CAF50;
}

.tab-icon-wrapper.physics-icon .tab-icon {
    color: #9C27B0;
}

.tab-icon-wrapper.chemistry-icon .tab-icon {
    color: #F44336;
}

.tab-icon-wrapper.biology-icon .tab-icon {
    color: #8BC34A;
}

/* Hover-Effekte */
.tab-button:hover .tab-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tab-button:hover .tab-icon-wrapper.math-icon {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196F3;
}

.tab-button:hover .tab-icon-wrapper.math-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.math-icon .subject-name {
    color: #2196F3;
}

.tab-button:hover .tab-icon-wrapper.german-icon {
    background: rgba(255, 87, 34, 0.1);
    border-color: #FF5722;
}

.tab-button:hover .tab-icon-wrapper.german-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.german-icon .subject-name {
    color: #FF5722;
}

.tab-button:hover .tab-icon-wrapper.english-icon {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.tab-button:hover .tab-icon-wrapper.english-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.english-icon .subject-name {
    color: #4CAF50;
}

.tab-button:hover .tab-icon-wrapper.physics-icon {
    background: rgba(156, 39, 176, 0.1);
    border-color: #9C27B0;
}

.tab-button:hover .tab-icon-wrapper.physics-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.physics-icon .subject-name {
    color: #9C27B0;
}

.tab-button:hover .tab-icon-wrapper.chemistry-icon {
    background: rgba(244, 67, 54, 0.1);
    border-color: #F44336;
}

.tab-button:hover .tab-icon-wrapper.chemistry-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.chemistry-icon .subject-name {
    color: #F44336;
}

.tab-button:hover .tab-icon-wrapper.biology-icon {
    background: rgba(139, 195, 74, 0.1);
    border-color: #8BC34A;
}

.tab-button:hover .tab-icon-wrapper.biology-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.biology-icon .subject-name {
    color: #8BC34A;
}

/* Aktiver Tab-Status */
.tab-button.active .tab-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tab-button.active .tab-icon-wrapper.math-icon {
    background: rgba(33, 150, 243, 0.15);
    border-color: #2196F3;
}

.tab-button.active .tab-icon-wrapper.math-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.math-icon .subject-name {
    color: #2196F3;
}

.tab-button.active .tab-icon-wrapper.german-icon {
    background: rgba(255, 87, 34, 0.15);
    border-color: #FF5722;
}

.tab-button.active .tab-icon-wrapper.german-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.german-icon .subject-name {
    color: #FF5722;
}

.tab-button.active .tab-icon-wrapper.english-icon {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
}

.tab-button.active .tab-icon-wrapper.english-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.english-icon .subject-name {
    color: #4CAF50;
}

.tab-button.active .tab-icon-wrapper.physics-icon {
    background: rgba(156, 39, 176, 0.15);
    border-color: #9C27B0;
}

.tab-button.active .tab-icon-wrapper.physics-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.physics-icon .subject-name {
    color: #9C27B0;
}

.tab-button.active .tab-icon-wrapper.chemistry-icon {
    background: rgba(244, 67, 54, 0.15);
    border-color: #F44336;
}

.tab-button.active .tab-icon-wrapper.chemistry-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.chemistry-icon .subject-name {
    color: #F44336;
}

.tab-button.active .tab-icon-wrapper.biology-icon {
    background: rgba(139, 195, 74, 0.15);
    border-color: #8BC34A;
}

.tab-button.active .tab-icon-wrapper.biology-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.biology-icon .subject-name {
    color: #8BC34A;
}

.tab-button.active .tab-icon {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.tab-button.active .subject-name {
    color: white;
}

@media (max-width: 768px) {
    .tab-buttons {
        gap: 15px;
    }
    
    .tab-button {
        flex: 0 1 calc(50% - 15px);
    }
    
    .tab-icon-wrapper {
        padding: 16px 12px;
    }
    
    .tab-icon {
        font-size: 24px;
        height: 48px;
        width: 48px;
    }
    
    .subject-name {
        font-size: 14px;
    }
    
    .hover-info {
        display: none;
    }
}

/* Subject Detail Styling */
.subject-detail {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.subject-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.subject-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subject-header:hover .subject-image {
    transform: scale(1.05);
}

.subject-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--bg-white);
}

.subject-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subject-content {
    padding: 2rem;
}

.subject-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-header h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.feature-group ul {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.feature-group li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.feature-group li:last-child {
    margin-bottom: 0;
}

.feature-group i {
    color: var(--primary);
}

.subject-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-info {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.info-item i {
    color: var(--primary);
}

.subject-cta .button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.subject-cta .button i {
    transition: transform 0.3s ease;
}

.subject-cta .button:hover i {
    transform: translateX(5px);
}

/* Enhanced Navigation */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav-header img {
    height: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-nav-close:hover {
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-links a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

.mobile-nav-contact {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-contact .button {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-contact ul,
.footer-locations ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-locations li {
    margin-bottom: 1.5rem;
}

.footer-locations strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .phone-link {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Bildung und Teilhabe Section */
.bildung-teilhabe {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.bildung-content {
    position: relative;  /* Added for absolute positioning of the badge */
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.floating-price-badge {
    position: absolute;
    top: -20px;
    right: -20px;  /* Changed from -60px to -20px to move it closer */
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);  /* Changed to blue gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 71, 153, 0.3);  /* Updated shadow color to match blue */
    animation: floatAndRotate 6s ease-in-out infinite;
    z-index: 2;
}

.floating-price-badge .badge-content {
    text-align: center;
    color: white;  /* Ensuring text is white */
    transform: rotate(-10deg);
}

.floating-price-badge .price {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: white;  /* Ensuring price is white */
}

.floating-price-badge .text {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;  /* Ensuring text is white */
}

@keyframes floatAndRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .floating-price-badge {
        width: 100px;
        height: 100px;
        top: -10px;
        left: 15px;  /* Position from left instead of right */
        right: auto;  /* Remove right positioning */
    }

    .badge-inner {
        padding: 10px;  /* Reduced padding for mobile */
        width: 100%;  /* Ensure full width */
        height: 100%;  /* Ensure full height */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .floating-price-badge .price {
        font-size: 2rem;  /* Slightly smaller font size */
        line-height: 1;
        margin-bottom: 2px;
    }

    .floating-price-badge .text {
        font-size: 0.8rem;  /* Smaller text size */
        line-height: 1;
        text-align: center;
        width: 100%;  /* Ensure text wraps properly */
    }
}

.bildung-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.bildung-text {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.program-name {
    color: var(--primary);
    font-weight: 600;
}

.bildung-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

/* Fördercheck Section */
.foerdercheck {
    padding: 80px 0;
    background: var(--bg-light);
}

.foerdercheck-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.foerdercheck h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.foerdercheck-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bildung-content h2,
    .foerdercheck h2 {
        font-size: 2rem;
    }

    .bildung-features {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 1.5rem;
    }

    .intro-text,
    .highlight-text,
    .foerdercheck-description {
        font-size: 1rem;
    }
}

/* Lehrkraft Section */
.lehrkraft {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.lehrkraft-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.lehrkraft-info {
    padding-right: 40px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(227, 28, 121, 0.15);
}

.lehrkraft-info h2 {
    font-size: 44px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.benefits-list {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 24px;
    color: var(--primary);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.cta-group {
    margin-top: 40px;
}

.button.primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(227, 28, 121, 0.25);
}

.application-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
}

.lehrkraft-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.teacher-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-wrapper:hover .teacher-image {
    transform: scale(1.05);
}

.experience-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 71, 153, 0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.experience-tag .number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.experience-tag .text {
    font-size: 13px;
    color: white;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .experience-tag {
        width: 80px;
        height: 80px;
    }

    .experience-tag .number {
        font-size: 28px;
    }

    .experience-tag .text {
        font-size: 11px;
    }
}

.lehrkraft-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .lehrkraft-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lehrkraft-info {
        padding-right: 0;
        text-align: center;
    }

    .benefit-item {
        max-width: 500px;
        margin: 0 auto;
    }

    .teacher-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .lehrkraft {
        padding: 60px 0;
    }

    .lehrkraft-info h2 {
        font-size: 32px;
    }

    .lead-text {
        font-size: 16px;
    }

    .teacher-image {
        height: 400px;
    }

    .lehrkraft-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 16px;
    }

    .experience-tag {
        padding: 12px 20px;
    }

    .experience-tag .number {
        font-size: 24px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.lehrkraft-text {
    padding-right: 2rem;
}

.lehrkraft-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
    line-height: 1.6;
}

.lehrkraft-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(227, 28, 121, 0.2);
}

.lehrkraft-text-content .section-intro {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.quick-info .info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quick-info .info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.quick-info .info-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.lehrkraft-image-wrapper {
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 28, 121, 0.2), rgba(0, 71, 153, 0.2));
    z-index: 1;
    border-radius: var(--radius-lg);
}

.teacher-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container:hover .teacher-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(227, 28, 121, 0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .lehrkraft-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .quick-info {
        justify-content: center;
        max-width: 600px;
        margin: 2rem auto 0;
    }

    .lehrkraft-text-content h2 {
        font-size: 3rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .experience-badge .number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .lehrkraft-text-content h2 {
        font-size: 2.5rem;
    }

    .quick-info {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .teacher-image {
        height: 300px;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        top: -15px;
        right: -15px;
    }

    .experience-badge .number {
        font-size: 1.8rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
}

/* Tab Content Styles */
.tab-content {
    display: none;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.tab-content.active {
    display: block !important;
    opacity: 1;
}

.tab-contents {
    margin-top: 2rem;
}

.tab-button {
    position: relative;
    cursor: pointer;
}

.tab-button.active .tab-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.tab-button.active .tab-icon-wrapper i {
    color: white;
}

.tab-button.active .subject-name {
    color: white;
}

/* Active Tab Button Styles */
.tab-button.active .tab-icon-wrapper {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.tab-button.active .hover-info {
    opacity: 1;
    visibility: visible;
}

/* Hero Badge Animation */
.hero-badge.floating {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.hero-badge .text {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .check-circle {
        width: 32px;
        height: 32px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-badge.floating {
        padding: 1rem;
        top: 1rem;
        right: 1rem;
    }
    
    .hero-badge .number {
        font-size: 2rem;
    }
    
    .hero-badge .text {
        font-size: 0.8rem;
    }
}

/* Online Tutoring Section */
.online-tutoring {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.online-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.online-feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.online-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.online-feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.online-feature-card .feature-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.online-feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.online-feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.online-demo {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.demo-text {
    padding: 3rem;
}

.demo-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.demo-text p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.demo-features {
    list-style: none;
    margin-bottom: 2rem;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.demo-features i {
    color: var(--secondary);
}

.demo-image {
    position: relative;
    height: 100%;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 71, 153, 0.2);
}

.tech-badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tech-badge span {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.advantage-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-light);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.advantage-icon i {
    font-size: 2.2rem;
    color: var(--bg-white);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.advantage-list {
    list-style: none;
    text-align: left;
    margin: 0 auto;
    max-width: 280px;
}

.advantage-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.advantage-list i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.experience-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--bg-white);
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.experience-number {
    text-align: center;
    padding-right: 3rem;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.experience-number .number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.experience-number .text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.experience-text {
    flex: 1;
}

.experience-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.experience-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.button.outline {
    background: var(--secondary);
    color: var(--bg-white);
    border: 2px solid var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.button.outline:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
    }

    .demo-image {
        height: 300px;
    }

    .tech-badge {
        width: 80px;
        height: 80px;
    }

    .tech-badge i {
        font-size: 1.5rem;
    }

    .experience-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .experience-number {
        padding-right: 0;
        padding-bottom: 2rem;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }
}

/* Farbige Fach-Icons */
.tab-icon-wrapper.math-icon .tab-icon {
    color: #2196F3; /* Blau für Mathematik */
}

.tab-icon-wrapper.german-icon .tab-icon {
    color: #FF5722; /* Orange-Rot für Deutsch */
}

.tab-icon-wrapper.english-icon .tab-icon {
    color: #4CAF50; /* Grün für Englisch */
}

.tab-icon-wrapper.physics-icon .tab-icon {
    color: #9C27B0; /* Violett für Physik */
}

.tab-icon-wrapper.chemistry-icon .tab-icon {
    color: #F44336; /* Rot für Chemie */
}

.tab-icon-wrapper.biology-icon .tab-icon {
    color: #8BC34A; /* Hellgrün für Biologie */
}

/* Hover-Effekte für die Icons */
.tab-button:hover .tab-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Aktiver Tab-Status */
.tab-button.active .tab-icon {
    transform: scale(1.1);
}

/* Hover-Effekte für die Tabs */
.tab-button:hover .tab-icon-wrapper {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-button:hover .tab-icon-wrapper.math-icon {
    border-color: #2196F3;
}

.tab-button:hover .tab-icon-wrapper.german-icon {
    border-color: #FF5722;
}

.tab-button:hover .tab-icon-wrapper.english-icon {
    border-color: #4CAF50;
}

.tab-button:hover .tab-icon-wrapper.physics-icon {
    border-color: #9C27B0;
}

.tab-button:hover .tab-icon-wrapper.chemistry-icon {
    border-color: #F44336;
}

.tab-button:hover .tab-icon-wrapper.biology-icon {
    border-color: #8BC34A;
}

/* Aktiver Tab-Status */
.tab-button.active .tab-icon-wrapper {
    background: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-button.active .tab-icon-wrapper.math-icon {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.tab-button.active .tab-icon-wrapper.german-icon {
    border-color: #FF5722;
    background: rgba(255, 87, 34, 0.1);
}

.tab-button.active .tab-icon-wrapper.english-icon {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.tab-button.active .tab-icon-wrapper.physics-icon {
    border-color: #9C27B0;
    background: rgba(156, 39, 176, 0.1);
}

.tab-button.active .tab-icon-wrapper.chemistry-icon {
    border-color: #F44336;
    background: rgba(244, 67, 54, 0.1);
}

.tab-button.active .tab-icon-wrapper.biology-icon {
    border-color: #8BC34A;
    background: rgba(139, 195, 74, 0.1);
}

/* Icon-Größen und Farben */
.tab-icon {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Institute Info Section */
.institute-info {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.institute-info::before {
    display: none;
}

.institute-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(227, 28, 121, 0.1);
}

.institute-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(227, 28, 121, 0.1);
}

.institute-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--bg-white);
}

.institute-logo {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.institute-logo i {
    font-size: 2.8rem;
    color: var(--bg-white);
}

.institute-card:hover .institute-logo {
    transform: rotate(360deg);
    background: rgba(255, 255, 255, 0.25);
}

.institute-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.institute-subtitle {
    opacity: 0.9;
    font-size: 1.2rem;
}

.institute-content {
    padding: 2.5rem;
}

.contact-person {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--bg-light);
}

.person-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.person-info i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.institute-card:hover .person-info i {
    transform: scale(1.1);
}

.info-text h4 {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.institute-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-item i {
    font-size: 1.8rem;
    color: var(--primary);
}

.detail-text h4 {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.detail-text p, 
.detail-text a {
    color: var(--text-dark);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-text a:hover {
    color: var(--primary);
}

.institute-actions {
    margin-top: 2.5rem;
    text-align: center;
}

.institute-actions .button {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(227, 28, 121, 0.3);
}

.institute-actions .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 28, 121, 0.4);
}

.institute-actions .button:hover i {
    transform: translateY(-2px);
}

.institute-actions .button i {
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .institute-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .institute-title h3 {
        font-size: 1.8rem;
    }

    .institute-subtitle {
        font-size: 1.1rem;
    }

    .institute-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .person-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .detail-item {
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }

    .detail-item:hover {
        transform: translateY(-5px);
    }
}

.hero-logo {
    display: none;
}

@media (max-width: 768px) {
    .hero-logo {
        display: none;
    }
}

/* Lehrkraft Hero Section Styling */
.lehrkraft-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.lehrkraft-text {
    padding-right: 2rem;
}

.lehrkraft-text h2 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lehrkraft-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
    line-height: 1.6;
}

.lehrkraft-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.lehrkraft-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 28, 121, 0.2), rgba(0, 71, 153, 0.2));
    z-index: 1;
    border-radius: var(--radius-lg);
}

.teacher-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.lehrkraft-image:hover {
    transform: translateY(-5px);
}

.lehrkraft-image:hover .teacher-image {
    transform: scale(1.05);
}

/* Responsive Design für Lehrkraft Section */
@media (max-width: 1024px) {
    .lehrkraft-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lehrkraft-text {
        padding-right: 0;
        text-align: center;
    }

    .teacher-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .lehrkraft-text h2 {
        font-size: 2.5rem;
    }

    .teacher-image {
        height: 300px;
    }

    .lehrkraft-description {
        font-size: 1.1rem;
    }
}

/* Success Concept Section */
.success-concept {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.success-concept .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-concept h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.success-concept .section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 500;
}

.success-concept .concept-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Ensure consistent card heights */
.success-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.success-card .card-icon i {
    color: white;
}

/* Ensure consistent spacing */
.success-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    flex-grow: 0;
}

.success-card p {
    color: var(--text);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments for 6 cards */
@media (min-width: 1200px) {
    .success-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
}

.success-card .card-icon i {
    font-size: 1.5rem;
    color: white;
}

.success-card:hover .card-icon {
    transform: rotate(360deg);
}

/* Google Reviews Section */
.google-reviews {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.reviews-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews-title h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    max-width: 600px;
    line-height: 1.2;
    margin: 0 auto;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    padding-right: 1.5rem;
    border-right: 2px solid var(--bg-light);
}

.rating-details {
    text-align: left;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stars i {
    color: #FBC02D;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.reviews-carousel {
    position: relative;
    padding: 1rem;
    margin: -1rem;
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    height: 100%;
    perspective: 1000px;
}

.review-card-inner {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.review-card:hover .review-card-inner {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.reviewer-details h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-meta .stars {
    margin-bottom: 0;
}

.review-meta .stars i {
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.google-badge {
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.google-badge img {
    height: 20px;
    width: auto;
}

.review-content {
    position: relative;
}

.review-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.review-text::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.reviews-footer {
    text-align: center;
    margin-top: 4rem;
}

.google-review-link {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.google-review-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.google-review-link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-review-link img {
    height: 24px;
    width: auto;
}

.google-review-link i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.google-review-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .google-reviews {
        padding: 60px 0;
    }

    .reviews-title h2 {
        font-size: 2rem;
    }

    .rating-summary {
        flex-direction: column;
        padding: 1.5rem;
    }

    .rating-number {
        padding-right: 0;
        padding-bottom: 1rem;
        border-right: none;
        border-bottom: 2px solid var(--bg-light);
    }

    .rating-details {
        text-align: center;
    }

    .reviews-track {
        grid-template-columns: 1fr;
    }

    .review-card-inner {
        padding: 1.5rem;
    }
}

/* Add smooth scroll animation for reviews */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
    opacity: 0;
}

/* Neue Sprachen Icons */
.french-icon {
    background: linear-gradient(135deg, #2196f3, #03a9f4);
}

.spanish-icon {
    background: linear-gradient(135deg, #ff9800, #f44336);
}

.latin-icon {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
}

.russian-icon {
    background: linear-gradient(135deg, #f44336, #e91e63);
}

.more-icon {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

/* Weitere Fächer Button Styles */
.tab-button.more-subjects {
    border: 2px dashed #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.tab-button.more-subjects:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.tab-button.more-subjects .tab-icon {
    color: #4CAF50;
    font-size: 1.5em;
}

.tab-button.more-subjects .subject-name {
    color: #4CAF50;
    font-weight: 600;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .tab-button.more-subjects {
        width: 100%;
        margin: 10px 0;
    }
}

/* Farbige Icons und Hover-Effekte */
.tab-icon-wrapper.french-icon .tab-icon {
    color: #1976D2;  /* Französisch-Blau */
}

.tab-icon-wrapper.spanish-icon .tab-icon {
    color: #E65100;  /* Spanisch-Orange */
}

.tab-icon-wrapper.latin-icon .tab-icon {
    color: #6A1B9A;  /* Latein-Violett */
}

.tab-icon-wrapper.russian-icon .tab-icon {
    color: #C62828;  /* Russisch-Rot */
}

/* Hover-Effekte für neue Sprachen */
.tab-button:hover .tab-icon-wrapper.french-icon {
    background: rgba(25, 118, 210, 0.1);
    border-color: #1976D2;
}

.tab-button:hover .tab-icon-wrapper.french-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.french-icon .subject-name {
    color: #1976D2;
}

.tab-button:hover .tab-icon-wrapper.spanish-icon {
    background: rgba(230, 81, 0, 0.1);
    border-color: #E65100;
}

.tab-button:hover .tab-icon-wrapper.spanish-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.spanish-icon .subject-name {
    color: #E65100;
}

.tab-button:hover .tab-icon-wrapper.latin-icon {
    background: rgba(106, 27, 154, 0.1);
    border-color: #6A1B9A;
}

.tab-button:hover .tab-icon-wrapper.latin-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.latin-icon .subject-name {
    color: #6A1B9A;
}

.tab-button:hover .tab-icon-wrapper.russian-icon {
    background: rgba(198, 40, 40, 0.1);
    border-color: #C62828;
}

.tab-button:hover .tab-icon-wrapper.russian-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.russian-icon .subject-name {
    color: #C62828;
}

/* Aktiver Tab-Status für neue Sprachen */
.tab-button.active .tab-icon-wrapper.french-icon {
    background: rgba(25, 118, 210, 0.15);
    border-color: #1976D2;
}

.tab-button.active .tab-icon-wrapper.french-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.french-icon .subject-name {
    color: #1976D2;
}

.tab-button.active .tab-icon-wrapper.spanish-icon {
    background: rgba(230, 81, 0, 0.15);
    border-color: #E65100;
}

.tab-button.active .tab-icon-wrapper.spanish-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.spanish-icon .subject-name {
    color: #E65100;
}

.tab-button.active .tab-icon-wrapper.latin-icon {
    background: rgba(106, 27, 154, 0.15);
    border-color: #6A1B9A;
}

.tab-button.active .tab-icon-wrapper.latin-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.latin-icon .subject-name {
    color: #6A1B9A;
}

.tab-button.active .tab-icon-wrapper.russian-icon {
    background: rgba(198, 40, 40, 0.15);
    border-color: #C62828;
}

.tab-button.active .tab-icon-wrapper.russian-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.russian-icon .subject-name {
    color: #C62828;
}

/* Initial state for new language tabs */
.tab-icon-wrapper.french-icon,
.tab-icon-wrapper.spanish-icon,
.tab-icon-wrapper.latin-icon,
.tab-icon-wrapper.russian-icon {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
}

.tab-icon-wrapper.french-icon .tab-icon,
.tab-icon-wrapper.spanish-icon .tab-icon,
.tab-icon-wrapper.latin-icon .tab-icon,
.tab-icon-wrapper.russian-icon .tab-icon {
    color: var(--text-gray);
}

.tab-icon-wrapper.french-icon .subject-name,
.tab-icon-wrapper.spanish-icon .subject-name,
.tab-icon-wrapper.latin-icon .subject-name,
.tab-icon-wrapper.russian-icon .subject-name {
    color: var(--text-dark);
}

/* Hover effects */
.tab-button:hover .tab-icon-wrapper.french-icon {
    background: rgba(25, 118, 210, 0.1);
    border-color: #1976D2;
}

.tab-button:hover .tab-icon-wrapper.french-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.french-icon .subject-name {
    color: #1976D2;
}

.tab-button:hover .tab-icon-wrapper.spanish-icon {
    background: rgba(230, 81, 0, 0.1);
    border-color: #E65100;
}

.tab-button:hover .tab-icon-wrapper.spanish-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.spanish-icon .subject-name {
    color: #E65100;
}

.tab-button:hover .tab-icon-wrapper.latin-icon {
    background: rgba(106, 27, 154, 0.1);
    border-color: #6A1B9A;
}

.tab-button:hover .tab-icon-wrapper.latin-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.latin-icon .subject-name {
    color: #6A1B9A;
}

.tab-button:hover .tab-icon-wrapper.russian-icon {
    background: rgba(198, 40, 40, 0.1);
    border-color: #C62828;
}

.tab-button:hover .tab-icon-wrapper.russian-icon .tab-icon,
.tab-button:hover .tab-icon-wrapper.russian-icon .subject-name {
    color: #C62828;
}

/* Active state */
.tab-button.active .tab-icon-wrapper.french-icon,
.tab-button.active .tab-icon-wrapper.spanish-icon,
.tab-button.active .tab-icon-wrapper.latin-icon,
.tab-button.active .tab-icon-wrapper.russian-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-button.active .tab-icon-wrapper.french-icon {
    background: rgba(25, 118, 210, 0.15);
    border-color: #1976D2;
}

.tab-button.active .tab-icon-wrapper.french-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.french-icon .subject-name {
    color: #1976D2;
}

.tab-button.active .tab-icon-wrapper.spanish-icon {
    background: rgba(230, 81, 0, 0.15);
    border-color: #E65100;
}

.tab-button.active .tab-icon-wrapper.spanish-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.spanish-icon .subject-name {
    color: #E65100;
}

.tab-button.active .tab-icon-wrapper.latin-icon {
    background: rgba(106, 27, 154, 0.15);
    border-color: #6A1B9A;
}

.tab-button.active .tab-icon-wrapper.latin-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.latin-icon .subject-name {
    color: #6A1B9A;
}

.tab-button.active .tab-icon-wrapper.russian-icon {
    background: rgba(198, 40, 40, 0.15);
    border-color: #C62828;
}

.tab-button.active .tab-icon-wrapper.russian-icon .tab-icon,
.tab-button.active .tab-icon-wrapper.russian-icon .subject-name {
    color: #C62828;
}

/* Initial state for "Weitere Fächer" button */
.tab-icon-wrapper.more-subjects {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    padding: 20px 16px;
}

.tab-icon-wrapper.more-subjects .tab-icon,
.tab-icon-wrapper.more-subjects .subject-name {
    color: var(--text-gray);
}

/* Hover effects for "Weitere Fächer" button */
.tab-button:hover .tab-icon-wrapper.more-subjects {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.tab-button:hover .tab-icon-wrapper.more-subjects .tab-icon,
.tab-button:hover .tab-icon-wrapper.more-subjects .subject-name {
    color: #4CAF50;
}

/* Active state for "Weitere Fächer" button */
.tab-button.active .tab-icon-wrapper.more-subjects {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-button.active .tab-icon-wrapper.more-subjects .tab-icon,
.tab-button.active .tab-icon-wrapper.more-subjects .subject-name {
    color: #4CAF50;
}

/* Section Divider */
.section-divider {
    width: 50%;
    max-width: 700px;
    height: 1.5px;
    background: #dbdbdb;
    margin: 60px auto;
    opacity: 1;
    border-radius: 2px;
}

.why-us h2,
.why-us .advantage-card h3 {
    color: var(--primary);
}

/* Ensure text and icons are aligned in a single row */
.row-aligned {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Set specific dimensions as important */
.specific-dimensions {
    width: 206px !important;
    height: 110px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tab-buttons .tab-button {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

/* Restore original size for science-icon */
.tab-icon-wrapper.science-icon {
    width: 164px;
    height: auto;
    /* Remove any specific dimensions */
}