/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ae1c4f;
    --secondary-color: #2c5aa0;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f9f9f9;
    --background-white: #ffffff;
    --background-cream: #faf8f5;
    --border-color: #e5e5e5;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #ae1c4f 0%, #2c5aa0 100%);
    --gradient-secondary: linear-gradient(135deg, #faf8f5 0%, #ffffff 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
.header {
    background: var(--background-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-text span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #ecccc6;
    color: var(--text-dark);
    padding: 140px 0 0px;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: stretch;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(174, 28, 79, 0.03) 0%, rgba(44, 90, 160, 0.03) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 100px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1em;
}

.w-m-d {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 0.7em;
}

.frauen-gesundheit {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85em;
    white-space: nowrap;
}

.hero-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
    width: 100%;
}

.hero-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Hero Visual */
.hero-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    overflow: hidden;
}

.hero-woman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 8px 8px 0 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hero-woman-image:hover {
    transform: scale(1.02);
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: inline-block;
    padding: 16px 40px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Quote Section */
.quote-section {
    background: var(--background-white);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* Bekannt aus Leiste */
.bekannt-aus {
    margin-bottom: 60px;
}

.bekannt-aus-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.bekannt-aus-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.logo-placeholder {
    width: 180px;
    height: 100px;
    background: #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.logo-placeholder::after {
    content: 'Logo';
    opacity: 0.5;
}

.partner-logo {
    width: 320px;
    height: 180px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #f5f5f5;
    padding: 25px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    position: relative;
}

.hero-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    left: -40px;
    top: -15px;
    font-family: 'Playfair Display', serif;
}

.hero-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    right: -40px;
    bottom: -25px;
    font-family: 'Playfair Display', serif;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #ecccc6;
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(174, 28, 79, 0.02) 0%, rgba(44, 90, 160, 0.02) 100%);
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.section-header p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--background-white);
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.6;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.topic-card {
    background: transparent;
    padding: 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin: 0;
}

.topic-card.abschlusspruefung {
    /* Keine spezielle border-left-color mehr nötig */
}

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

.topic-header {
    background: var(--background-white);
    padding: 2rem 3rem 2.5rem 3rem;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.topic-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 1rem;
    color: var(--text-dark);
}

.topic-content {
    background: var(--primary-color);
    padding: 2rem 3rem 2rem 3rem;
    margin: 0;
    line-height: 1.6;
    border-radius: 0 0 15px 15px;
}

.topic-card.abschlusspruefung .topic-content {
    background: #c4eafc;
}

.topic-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
}

.topic-card.abschlusspruefung .topic-content h3 {
    color: var(--text-dark) !important;
}

.topic-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-dark);
}

.topic-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: white;
    margin: 0;
    line-height: 1.6;
}

.topic-card.abschlusspruefung p {
    color: var(--text-dark);
    margin: 0;
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.feature h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

/* Science Visual */
.science-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-helix {
    position: relative;
    width: 200px;
    height: 300px;
}

.helix-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: rotate 4s linear infinite;
}

.helix-strand:nth-child(1) {
    left: 50%;
    transform-origin: center;
}

.helix-strand:nth-child(2) {
    right: 50%;
    transform-origin: center;
    animation-delay: 2s;
}

.molecules {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.molecule {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.molecule:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.molecule:nth-child(2) {
    top: 50%;
    right: 30%;
    animation-delay: 0.7s;
}

.molecule:nth-child(3) {
    bottom: 30%;
    left: 40%;
    animation-delay: 1.4s;
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
}

.cta-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color: white;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
}

.contact-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

/* Form Styles */
.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--background-white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 100%;
}

.footer-logo-image {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section h3 {
    font-size: 1.3rem;
}

.footer-section p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 100px 0 0px;
        min-height: 100vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 3rem;
        padding: 0 20px;
    }

    .hero-content {
        padding-bottom: 60px;
        align-items: flex-start;
    }

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

    .hero-logo {
        justify-content: flex-start;
    }

    .hero-logo-image {
        height: 60px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: left;
    }

    .hero-image {
        height: auto;
        min-height: 300px;
        align-items: flex-end;
        margin-top: 2rem;
    }

    .hero-woman-image {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        object-position: center;
        border-radius: 8px;
    }

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

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

    .hero-buttons {
        justify-content: flex-start;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Mobile Anpassungen für alle Topic-Card Überschriften */
    .topic-header h3 {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }

    /* Mobile Anpassungen für Abschlussprüfung-Karte */
    .topic-card.abschlusspruefung .topic-header {
        padding: 2rem 2rem 2.5rem 2rem;
    }

    .topic-card.abschlusspruefung .topic-header h3 {
        padding-left: 60px;
        font-size: 1rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .zertifikat-icon {
        height: 40px;
        left: 10px;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-image {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }

    .section {
        padding: 60px 0;
    }

    .quote-section {
        padding: 60px 0;
    }

    .bekannt-aus {
        margin-bottom: 40px;
    }

    .bekannt-aus-logos {
        gap: 20px;
        flex-wrap: wrap;
    }

    .logo-placeholder {
        width: 140px;
        height: 80px;
        font-size: 0.8rem;
    }

    .partner-logo {
        width: 140px;
        height: 80px;
        padding: 10px;
    }

    .hero-quote {
        font-size: 1.6rem;
        padding: 0 20px;
        max-width: 90%;
    }

    .hero-quote::before,
    .hero-quote::after {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .erklaerung-split {
        flex-direction: column;
        gap: 2rem;
    }

    .erklaerung-image {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .erklaerung-content {
        text-align: center;
    }

    /* Footer Mobile Anpassungen */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

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

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

    .hero-logo-image {
        height: 50px;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .card,
    .topic-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    /* Extra mobile Anpassungen für alle Topic-Card Überschriften */
    .topic-header h3 {
        font-size: 0.95rem !important;
        line-height: 1.2;
    }

    /* Extra mobile Anpassungen für Abschlussprüfung-Karte */
    .topic-card.abschlusspruefung .topic-header {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }

    .topic-card.abschlusspruefung .topic-header h3 {
        padding-left: 50px;
        font-size: 0.9rem !important;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: calc(100% - 50px);
    }

    .zertifikat-icon {
        height: 30px;
        left: 8px;
    }

    .quote-section {
        padding: 40px 0;
    }

    .bekannt-aus {
        margin-bottom: 30px;
    }

    .bekannt-aus-logos {
        gap: 15px;
        justify-content: space-between;
    }

    .logo-placeholder {
        width: 80px;
        height: 40px;
        font-size: 0.6rem;
    }

    .partner-logo {
        width: 80px;
        height: 40px;
        padding: 6px;
    }

    .hero-quote {
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .erklaerung-content h2 {
        font-size: 1.8rem;
    }

    .erklaerung-content h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem 0;
    }

    .erklaerung-text {
        font-size: 0.95rem;
    }

    /* Footer Extra Mobile Anpassungen */
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-logo h3 {
        font-size: 1rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.topic-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Impressum Styles */
.impressum-section {
    padding: 140px 0 100px;
    background: var(--background-cream);
    min-height: 100vh;
}

.impressum-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.impressum-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
}

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

.impressum-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.impressum-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.impressum-info p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.impressum-info p strong {
    font-weight: 700;
    color: var(--text-dark);
}

.impressum-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.legal-notice {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.legal-notice h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

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

.legal-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-section p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

/* Responsive Impressum */
@media (max-width: 768px) {
    .impressum-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .impressum-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .impressum-card {
        padding: 1.5rem;
    }
    
    .legal-notice {
        padding: 2rem;
    }
    
    .impressum-section {
        padding: 120px 0 80px;
    }
}

@media (max-width: 480px) {
    .impressum-content h1 {
        font-size: 2rem;
    }
    
    .impressum-card {
        padding: 1rem;
    }
    
    .legal-notice {
        padding: 1.5rem;
    }
    
    .legal-notice h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

/* Erklärung Section */
.erklaerung-split {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.erklaerung-image {
    flex: 0 0 500px;
    width: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.erklaerung-bild {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.erklaerung-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
}

.erklaerung-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.erklaerung-content h2 .bold {
    font-weight: 700;
}

.erklaerung-content h2 .regular {
    font-weight: 400;
}

.erklaerung-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
}

.erklaerung-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.erklaerung-content .erklaerung-text:last-child {
    margin-bottom: 0;
}

/* Modul Nummern */
.modul-nummer {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header h2 {
    font-size: 2rem;
}

.erklaerung-content h2 {
    font-size: 2rem;
}

.erklaerung-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.erklaerung-text {
    font-size: 1rem;
    text-align: left;
}

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

.legal-section h3 {
    font-size: 1.1rem;
}

.erklaerung-content h2 {
    font-size: 2rem;
}

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

.erklaerung-content {
    text-align: center;
}

.erklaerung-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.erklaerung-text {
    font-size: 1rem;
    text-align: left;
}

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

/* Desktop-spezifische Regeln für Erklärung Section */
@media (min-width: 769px) {
    .erklaerung-split {
        display: flex !important;
        flex-direction: row !important;
        gap: 4rem !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    .erklaerung-image {
        flex: 0 0 500px !important;
        width: 500px !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .erklaerung-content {
        flex: 1 !important;
        text-align: left !important;
        padding: 0 !important;
    }
}

/* Ampersand Styling */
.ampersand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Quote Container in Wissenschaft Section */
.quote-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.expert-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-color);
    margin: 0 0 2rem 0;
    line-height: 1.5;
    text-align: center;
    position: relative;
}

.expert-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    left: -30px;
    top: -10px;
    font-family: 'Playfair Display', serif;
}

.expert-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    right: -30px;
    bottom: -20px;
    font-family: 'Playfair Display', serif;
}

.quote-author {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.quote-author strong {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.quote-author span {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9rem;
}

.features h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Expert Image Placeholder */
.expert-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.expert-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 2rem;
    display: block;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Spezielle Färbung für Kursprogramm-Überschrift */
#programm .section-header h2 {
    color: var(--primary-color);
    font-size: 3.2rem;
}

/* Zertifikat Icon */
.zertifikat-icon {
    height: 50px;
    width: auto;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* Spezielle Positionierung für h3 mit Zertifikat-Icon */
.topic-card.abschlusspruefung .topic-header h3 {
    position: relative;
    padding-left: 70px;
    text-align: left;
}

/* Referenzen Section */
.referenzen-section {
    padding: 80px 0;
}

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

.referenz-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.referenz-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    flex-grow: 1;
}

.referenz-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
}

.referenz-author {
    text-align: left;
    font-size: 0.95rem;
}

.referenz-author strong {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.referenz-position {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.25rem;
}

.referenz-apotheke {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.referenz-ort {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design für Referenzen */
@media (max-width: 768px) {
    .referenzen-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .referenz-card {
        padding: 2rem;
    }
    
    .referenz-quote {
        font-size: 1rem;
        padding-left: 1.2rem;
    }
    
    .referenz-quote::before {
        font-size: 2.5rem;
        top: -8px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 1.5rem 0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

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

/* Cookie Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    backdrop-filter: blur(4px);
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cookie-modal-content {
    background: var(--background-white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.cookie-modal-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.cookie-modal-body {
    padding: 0 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Cookie Switch Styles */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .cookie-slider {
    background: var(--primary-color);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal-links {
    text-align: center;
    padding: 1rem 2rem 2rem;
    font-size: 0.9rem;
}

.cookie-modal-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-modal-links a:hover {
    text-decoration: underline;
}

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

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

/* Mobile Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Extra Mobile Cookie Banner Anpassungen */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-banner-content {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-icon {
        font-size: 2rem;
    }
    
    .cookie-modal-content {
        width: 98%;
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer,
    .cookie-modal-links {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
        margin-bottom: 1rem;
    }
} 