/* ============================================
   PATH2 - EDUCATIONAL/PEDAGOGICAL SPACES PAGE
   Specific styles for educational work with children & youth
   ============================================ */

/* Carousel Sphere Section */
.carousel-sphere-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.05), rgba(45, 95, 93, 0.05));
    overflow: hidden;
}

.sphere-carousel {
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.sphere-container {
    display: flex;
    gap: 3rem;
    animation: scroll-infinite 50s linear infinite;
    width: max-content;
    will-change: transform;
}

.sphere-container.js-enabled {
    animation: none;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sphere-image {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .sphere-container {
        gap: 2rem;
        animation: scroll-infinite 24s linear infinite;
    }

    .sphere-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .sphere-container {
        animation: scroll-infinite 18s linear infinite;
    }

    .sphere-image {
        width: 200px;
        height: 200px;
    }

    .sphere-container {
        gap: 1.5rem;
    }
}

/* Bildungsarbeit Section */
.bildungsarbeit-section {
    padding: 12rem 4rem 4rem 4rem !important;
    background-color: var(--light-color);
}

.bildungsarbeit-section .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.bildungsarbeit-section .section-text {
    font-size: 1.3rem;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.direct-mail {
    display: inline-block;
    margin-top: 1.5rem;
    cursor: pointer;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: var(--border-radius);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.direct-mail:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    margin-left: 0.4rem;
    cursor: pointer;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: var(--border-radius);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.copy-email-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.copy-email-btn .card-icon {
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--white);
}

.copy-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: inherit;
}

/* Schwerpunkte Section */
.schwerpunkte-section {
    padding: 5rem 0;
    background-color: white;
}

.schwerpunkte-section .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    text-align: center;
}

.schwerpunkt-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.schwerpunkt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.schwerpunkt-card h3 {
    font-size: 2.2rem;
    color: #8b4513;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.schwerpunkt-card h3 i {
    margin-right: 1rem;
    color: #2d5f5d;
}

.schwerpunkt-card ul {
    list-style: none;
    padding: 0;
}

.schwerpunkt-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    line-height: 1.6;
}

.schwerpunkt-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2d5f5d;
    font-weight: 700;
}

.schwerpunkt-card li strong {
    color: #8b4513;
}

/* Formate Section */
.formate-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.formate-section .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
}

.section-text.centered {
    text-align: center;
    font-size: 1.6rem;
    margin: 3rem 0;
    font-style: italic;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid for Formate */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: #2d5f5d;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 2.2rem;
    color: #8b4513;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #9b674e, #c08b65);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
    margin-top: 3rem;
}

.cta-box p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.6;
}

.cta-box strong {
    font-weight: 700;
}

/* Kooperationen Section */
.kooperationen-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.3), rgba(255, 240, 245, 0.3));
}

.kooperationen-section .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.koop-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.koop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.koop-card h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.koop-card h3 i {
    color: #2d5f5d;
}

.koop-card p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.koop-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.koop-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.koop-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d5f5d;
    font-weight: 700;
}

/* Intro Section - Path2 Specific */
.intro-section {
    padding: 5rem 0;
    background: white;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive for Path2 */
@media (max-width: 768px) {
    .schwerpunkt-card {
        padding: 1.8rem;
    }
    
    .schwerpunkt-card h3 {
        font-size: 1.9rem;
    }
    
    .schwerpunkt-card li {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box p {
        font-size: 1.3rem;
    }
    
    .koop-card {
        padding: 1.8rem;
    }
    
    .koop-card h3 {
        font-size: 2.2rem;
    }
    
    .intro-content .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .bildungsarbeit-section .section-title,
    .schwerpunkte-section .section-title,
    .formate-section .section-title,
    .kooperationen-section .section-title {
        font-size: 2.8rem;
    }
    
    .schwerpunkt-card {
        padding: 1.5rem;
    }
    
    .schwerpunkt-card h3 {
        font-size: 1.7rem;
    }
    
    .schwerpunkt-card li {
        font-size: 1rem;
    }
    
    .card h3 {
        font-size: 2rem;
    }
    
    .cta-box {
        padding: 1.5rem;
    }
    
    .cta-box p {
        font-size: 1.2rem;
    }
    
    .intro-content .section-title {
        font-size: 2.5rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background-color: #f9f6f2;
}

.contact-section .section-title {
    font-family: 'Allura', cursive;
    font-size: 4.5rem;
    color: #4A3C32;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3rem;
    align-items: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info {
    padding-left: 2rem;
}

.contact-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #5D4E37;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    font-size: 2rem;
    color: #8B7355;
    min-width: 2rem;
    margin-top: 0.3rem;
}

.contact-details h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 1.6rem;
    color: #4A3C32;
    margin: 0 0 0.3rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #5D4E37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #8B7355;
    text-decoration: underline;
}

.contact-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #5D4E37;
    margin: 0;
}

/* Map Wrapper */
.map-wrapper {
    margin-top: 3rem;
    width: 100%;
}

.map-title {
    font-family: 'Allura', cursive;
    font-size: 3rem;
    color: #4A3C32;
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
    padding: 8px;
}

.map-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.map-container iframe {
    border-radius: 15px;
    display: block;
}

/* Contact Section Mobile */
@media (max-width: 968px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-section .section-title {
        font-size: 3.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-image {
        max-height: 400px;
    }
    
    .contact-info {
        padding-left: 0;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .map-wrapper {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .map-title {
        font-size: 2.5rem;
    }
    
    .map-container {
        padding: 5px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-section .section-title {
        font-size: 3rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.4rem;
    }
    
    .contact-details a {
        font-size: 1rem;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ============================================
   QUALIFIKATIONEN SECTION
   ============================================ */

.qualifikationen-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.08), rgba(45, 95, 93, 0.08));
}

.qualifikationen-section .section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.qualifikationen-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-item {
    background: white;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid #c19a6b;
}

.certification-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top-color: #2d5f5d;
}

.cert-logo {
    margin-bottom: 1.5rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.certification-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.certification-item p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .qualifikationen-section {
        padding: 3rem 0;
    }
    
    .qualifikationen-section .section-title {
        font-size: 2.5rem;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .certification-item {
        padding: 1.5rem 2rem;
    }
    
    .cert-logo {
        min-height: 80px;
    }
    
    .cert-logo img {
        max-height: 80px;
    }
}

/* Footer */
.footer {
    background-image: url('../assets/images/kakao.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-logo {
    height: 180px;
    width: auto;
    margin: 0 auto 0.2rem;
    display: block;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-slow);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer p {
    margin: 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active,
.footer a:focus {
    color: #fff;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

.footer-credits {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    margin-top: 1.5rem;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-style: italic;
}

/* Workbook Section */
.workbook-section {
    padding: 4.5rem 0;
    background: radial-gradient(circle at top left, rgba(193, 154, 107, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(45, 95, 93, 0.18), transparent 55%);
}

.workbook-section .container {
    max-width: 980px;
}

.workbook-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.workbook-intro h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 3.6rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.workbook-intro h2 span {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.workbook-question {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 780px;
    margin: 0 auto;
}

.workbook-content {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(193, 154, 107, 0.25);
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 16px 35px rgba(45, 95, 93, 0.12);
    display: grid;
    gap: 1.5rem;
}

.workbook-content p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-dark);
}

.workbook-quote {
    margin: 2.5rem auto;
    padding: 1.75rem 2rem;
    border-left: 5px solid var(--secondary-color);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    box-shadow: 0 12px 25px rgba(45, 95, 93, 0.1);
    max-width: 820px;
    text-align: center;
}

.workbook-quote p {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}

.workbook-quote span {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-color);
}

.workbook-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.workbook-cta .btn {
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.workbook-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(45, 95, 93, 0.25);
}

.workbook-cta .btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.workbook-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(45, 95, 93, 0.25);
}

.benefits-section .booking-options {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-section .booking-options > div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 1.75rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefits-section .booking-options p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 0;
}