/* English Inc Kirby Theme Styles */

/* Import local fonts */
@import url('fonts.css');

/* CSS Variables */
:root {
    --primary-green: #17a553;
    --dark-green: #27AE60;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #333;
    --border-color: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 992px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Links for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.skip-link:focus {
    top: 6px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Skip Link Targets */
#site-navigation:focus,
#content:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky header + some padding */
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Responsive Images */
picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.site-logo-img {
    max-height: 60px;
    width: auto !important;
}

.block-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--dark-green);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo img {
    height: 70px;
    width: auto;
}

.site-title {
    font-family: 'Roboto Slab', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a[aria-current="page"],
.main-navigation a.active {
    color: var(--primary-green) !important;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a[aria-current="page"]::after,
.main-navigation a.active::after {
    width: 100% !important;
    background: var(--primary-green) !important;
}

/* Desktop Language Switcher */
.desktop-language-switcher {
    display: flex;
}

.desktop-language-switcher .language-switcher {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    font-size: 0.8rem;
    margin-left: 2rem;
}

/* Mobile Language Switcher (inside navigation) */
.main-navigation .language-switcher {
    display: none; /* Hidden by default, shown in mobile menu */
    gap: 0.25rem;
    align-items: center;
    font-size: 0.8rem;
    margin-left: 0;
}

.language-link {
    color: #666;
    font-weight: 400;
    transition: var(--transition);
    text-decoration: none;
}

.language-link:hover {
    color: var(--primary-green);
}

.language-current {
    color: var(--primary-green);
    font-weight: 600;
}

.language-separator {
    color: #ccc;
    margin: 0 0.25rem;
    font-size: 0.8rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 254, 233, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-actions .btn {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-green);
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    font-weight: 700;
}

.hero-actions .btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Optimierung für Bilder in two-column Layout */
.two-column picture,
.two-column img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.benefits-image picture,
.benefits-image img,
.course-image picture,
.course-image img {
    width: 100%;
    height: auto;
}

/* Benefits Section */
.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-description {
    margin-top: 2rem;
}

.benefits-description strong {
    color: var(--primary-green);
}

/* Ascend System */
.ascend-system {
    background: var(--light-gray);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

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

.ascend-level {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ascend-level:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.ascend-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--level-color, var(--primary-green));
}

.level-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.level-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.level-description {
    color: #666;
    line-height: 1.6;
}
.level-description ul {
    list-style: circle;
    padding-left: 1rem;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Open Courses Boxes */
.open-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.open-course-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-green);
}

.open-course-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.open-course-box .course-title {
    color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.open-course-box .course-time {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.open-course-box .course-dates {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.open-course-box .course-price {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Additional Course Information */
.course-additional-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-green);
}

.course-additional-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.course-additional-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-additional-info strong {
    color: var(--primary-green);
    font-weight: 600;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.course-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.course-level-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.course-level-badge {
    background: rgba(46, 204, 113, 0.9);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-card-content {
    padding: 1.5rem;
}

.course-card-title {
    margin-bottom: 1rem;
}

.course-card-title a {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
}

.course-card-title a:hover {
    color: var(--primary-green);
}

.course-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.course-duration,
.course-price {
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    color: #666;
}

.course-card-actions {
    text-align: center;
}

/* Course Filters */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.course-filter {
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.course-filter:hover,
.course-filter.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Archive Header */
.archive-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.archive-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: var(--light-gray);
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

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

.page-header-image {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-header-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Page Content */
.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content {
    line-height: 1.8;
    margin-bottom: 3rem;
}

.entry-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Custom Sections */
.custom-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

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

.section-content {
    margin-bottom: 2rem;
}

.section-image {
    text-align: center;
}

.section-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Gallery */
.page-gallery {
    margin-top: 3rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Course Details */
.course-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.course-hero-content {
    text-align: center;
}

.course-meta {
    margin-bottom: 1rem;
}

.course-thumbnail {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.course-details-section {
    padding: 4rem 0;
}

.course-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: sticky;
    top: 2rem;
}

.course-info-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.course-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.course-info-item:last-of-type {
    border-bottom: none;
}

.course-info-item strong {
    color: var(--dark-gray);
    min-width: 100px;
}

.course-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-topics {
    margin-top: 3rem;
}
.profile-section {
    padding: 4rem 0;
}
.timeline-section {
    padding: 4rem 0;
    background: var(--primary-green);
    color: var(--white);
}
.timeline-section h2, .timeline-section h3 {
    color: var(--white);
}
.philosophy-section {
    padding: 4rem 0;
}
.topics-list {
    list-style: none;
    margin-top: 1rem;
}

.topics-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.topics-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.course-requirements {
    margin-top: 3rem;
}

.requirements-content {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.related-courses-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.related-courses-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-actions {
    margin-top: 2rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
}

.testimonials-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 1rem; /* Platz für Schatten */
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    overflow: visible; /* Schatten sichtbar machen */
    scroll-behavior: smooth;
    margin: 0 -1rem; /* Kompensiert das Padding */
    padding: 1rem; /* Platz für Schatten oben/unten */
}

.testimonials-grid.carousel-mode {
    flex-wrap: nowrap;
    overflow: hidden; /* Nur im Carousel-Modus verstecken */
}

.testimonials-grid.carousel-mode .testimonial {
    flex: 0 0 calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
    margin: 0; /* Kein zusätzlicher Margin */
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.testimonial-text {
    flex-grow: 1;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-category {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}



.author-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.author-position {
    font-size: 0.9rem;
    color: #666;
}

.author-company {
    font-size: 0.9rem;
    color: var(--primary-green);
}

/* Testimonials Carousel Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--primary-green);
    opacity: 0.7;
}

.testimonials-arrow {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.testimonials-arrow:hover {
    background: var(--dark-green);
    transform: scale(1.1);
}

.testimonials-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Contact */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-item p {
    line-height: 1.6;
    color: #666;
}

.contact-form-wrapper h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
}

/* Forms */
.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border: 0;
}

.form-field {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-field input[readonly] {
    background: var(--light-gray);
    color: #666;
}

/* Form Hints and Error Messages */
.form-hint {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.error-message:empty {
    display: none;
}

/* Focus Management */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Enhanced focus for buttons */
.btn:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.3);
}

/* Focus for navigation items */
.main-navigation a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #000;
        --dark-green: #000;
        --text-color: #000;
        --border-color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.map-placeholder {
    background: var(--white);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    color: #666;
    margin-top: 2rem;
}

/* Footer */
.site-footer {
    background: var(--dark-gray);
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
    font-size: 0.85rem;
    color: #ccc;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-green);
}

.footer-legal span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Error Page */
.error-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
    padding: 4rem 0;
}

.error-content {
    text-align: left;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 0.8;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.error-headline {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-subheadline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: normal;
}

.error-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-code-text {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
    font-style: italic;
}

.error-actions {
    margin-top: 2rem;
}

.error-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-graphic {
    position: relative;
    width: 200px;
    height: 200px;
}

.error-circle {
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.error-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error-line {
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 10px 0;
    border-radius: 2px;
    opacity: 0.6;
}

.error-line:first-child {
    transform: rotate(45deg);
}

.error-line:last-child {
    transform: rotate(-45deg);
    margin-top: -14px;
}

/* Utility Classes */
.no-courses-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-courses-found h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.no-courses-found p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop Typography (ab 1024px) */
@media (min-width: 1024px) {
    body {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .main-navigation a {
        font-size: 1rem;
    }
    
    .language-switcher {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop language switcher on mobile */
    .desktop-language-switcher {
        display: none;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-navigation li {
        margin: 0.5rem 0;
    }
    
    /* Show language switcher in mobile menu */
    .main-navigation .language-switcher {
        display: flex !important;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-page {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 0;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-headline {
        font-size: 2rem;
    }
    
    .ascend-levels {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .open-courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-info-card {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonials-wrapper {
        padding: 0 0.5rem;
    }
    
    .testimonials-grid {
        margin: 0 -0.5rem;
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .testimonials-grid.carousel-mode .testimonial {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .testimonial {
        min-height: 240px;
    }
    
    .testimonials-nav {
        gap: 1rem;
    }
    
    .testimonials-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .course-card-content {
        padding: 1rem;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .course-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .course-filter {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

