/* styles.css */
/* Grundlegende Einstellungen */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Carlito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
nav {
    background-color: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)),
                 center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Subjects Section */
.subjects {
    padding: 5rem 2rem;
    text-align: center;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.subject-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing {
    padding: 5rem 2rem;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.price {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card li {
    margin: 0.5rem 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9));
    color: var(--white);
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    nav {
        padding: 1rem;
        gap: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .subject-card, .testimonial-card, .pricing-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Kontaktseite Styles */
.contact-container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    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);
}

.message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive Anpassungen für Kontaktseite */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 80px;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Über mich Seite Styles */
.about-container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-header .subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-image {
    position: sticky;
    top: 100px;
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.about-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.qualifications,
.approach-list {
    list-style: none;
    margin: 1rem 0 2rem;
}

.qualifications li,
.approach-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.qualifications li::before,
.approach-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.success-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.success-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.success-card cite {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Anpassungen für Über mich Seite */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header .subtitle {
        font-size: 1.2rem;
    }
}

/* Angebotsseite Styles */
.offer-container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 2rem;
}

.offer-header {
    text-align: center;
    margin-bottom: 4rem;
}

.offer-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-header .subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Subjects Section */
.subjects-section {
    margin-bottom: 4rem;
}

.subjects-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.subject-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.subject-card p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.subject-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subject-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.subject-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 4rem;
}

.pricing-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pricing-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.pricing-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
}

.features-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Responsive Anpassungen für Angebotsseite */
@media (max-width: 768px) {
    .offer-header h1 {
        font-size: 2rem;
    }

    .offer-header .subtitle {
        font-size: 1.2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .subjects-grid,
    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 1;
}
