@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #0069d9; /* Original Website Background (Bootstrap Primary slightly darker) */
    --primary-light: #e6f0f9;
    --secondary-color: #e67e22; /* Energetic Orange */
    --secondary-hover: #d35400;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-color: #f8fbfb; /* Very light cool grey/blue */
    --card-bg: #ffffff;
    --font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 91, 159, 0.08);
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

.page-container {
    padding: 4rem 0;
}

/* Header */
.site-header {
    background: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
    color: #ffffff !important;
}

.sponsor-logo {
    max-height: 70px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .sponsor-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
    }
}

@media (hover: none) {
    .sponsor-logo {
        filter: grayscale(0%);
        opacity: 1;
    }
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.photo-mask {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    background: #fff;
    flex-shrink: 0;
}

.photo-mask img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-photo-shift img {
    object-position: center -18px !important;
}

/* Info Image on Homepage */
.info-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
    background: #eee;
}

.info-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: cover;
    object-position: center;
}

.btn-outline {
    background-color: rgba(255,255,255,0.1);
    border: 2px solid #fff;
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

.btn-outline:hover img.icon {
    filter: brightness(0) invert(26%) sepia(90%) saturate(2252%) hue-rotate(195deg) brightness(97%) contrast(105%) !important; /* Approximation for --primary-color #0069d9 */
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg, url('/images/kinder-konnen-an-rheuma-erkranken.png')) center 60% / cover no-repeat;
    opacity: 0.25;
    z-index: 0;
    mix-blend-mode: multiply;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.icon-large {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
    fill: var(--primary-color);
}

/* Bank Details Styling */
.bank-details-container {
    background: var(--bg-color);
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.bank-detail-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item strong {
    min-width: 160px;
    color: var(--text-color);
    font-weight: 700;
}

.bank-detail-item span {
    color: var(--text-muted);
    flex-grow: 1;
}

.monospace {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    .bank-detail-item strong {
        min-width: auto;
    }
    .copy-button {
        margin-left: 0;
        margin-top: 5px;
        align-self: flex-end;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
}

.card.primary-border {
    border-top-color: var(--primary-color);
}

.card.secondary-border {
    border-top-color: var(--secondary-color);
}

.card h2, .card h3 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Single Page Content */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.icon-title {
    width: 42px;
    height: 42px;
}

.page-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.content-box {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content-box h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.content-box h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.content-box p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.lead {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: var(--primary-color) !important;
    font-weight: 400;
    margin-bottom: 3rem !important;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    max-width: 900px;
}

.content-box ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

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

.content-box a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}
.content-box a:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.timeline-date {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-light);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: #fff;
    box-shadow: var(--box-shadow);
    transform: translateX(5px);
}

.timeline-route {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.timeline-route .arrow {
    color: var(--secondary-color);
    opacity: 0.6;
}

.timeline-description {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .timeline-route {
        font-size: 1.1rem;
    }
}

/* Instagram Card */
.instagram-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdf4f0 0%, #fff 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0 3rem;
    gap: 2rem;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.05);
}

.instagram-card-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.instagram-card-icon .icon {
    width: 35px;
    height: 35px;
}

.instagram-card-content {
    flex-grow: 1;
}

.instagram-card-content h3 {
    margin: 0 0 0.5rem 0 !important;
    border: none !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    color: var(--text-color) !important;
}

.instagram-card-content p {
    margin: 0 !important;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .instagram-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .instagram-card-icon {
        margin: 0 auto;
    }

    .btn {
        white-space: nowrap; /* Keep it one line as requested */
        width: auto;
        max-width: none;
        padding: 0.9rem 2.5rem;
    }

    .lead {
        font-size: 1.15rem !important;
        border-left: none !important;
        border-top: 3px solid var(--secondary-color);
        padding-left: 0 !important;
        padding-top: 1.2rem;
        margin-bottom: 2rem !important;
    }
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

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

.footer-nav a:hover {
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 1.5rem 0;
    }

    .site-header .container {
        padding: 0.4rem 0;
    }

    .logo img {
        height: 40px;
    }

    .page-header {
        margin-bottom: 1.5rem;
    }

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

    .page-title-group {
        gap: 0.8rem;
    }

    .icon-title {
        width: 24px;
        height: 24px;
    }

    .content-box {
        padding: 1.5rem;
    }

    .site-header .container {
        flex-wrap: wrap;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding-bottom: 1rem;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    .hero {
        padding: 5rem 0;
    }

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

    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-box {
        padding: 2rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}
