/* Beratungsgruppe.Pro - Main Stylesheet */
/* ================================================= */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* ================================================= */
/* GLOBAL RESET & BASE STYLES */
/* ================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ================================================= */
/* TYPOGRAPHY */
/* ================================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2E8B57;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    max-width: 700px;
}

a {
    color: #2E8B57;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #236B43;
}

/* ================================================= */
/* UTILITY CLASSES */
/* ================================================= */

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

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

.text-white {
    color: #ffffff !important;
}

.section-padding {
    padding: 80px 0;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ================================================= */
/* BUTTONS */
/* ================================================= */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: #2E8B57;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #236B43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: #2E8B57;
    border: 2px solid #2E8B57;
}

.btn-secondary:hover {
    background-color: #2E8B57;
    color: #ffffff;
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* ================================================= */
/* NAVIGATION */
/* ================================================= */

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E8B57;
}

.navbar-brand:hover {
    color: #236B43;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar-menu li a {
    color: #333333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    background-color: #2E8B57;
    color: #ffffff;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background-color: #2E8B57;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ================================================= */
/* HERO SECTION */
/* ================================================= */

.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.85) 0%, rgba(35, 107, 67, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================= */
/* CARDS */
/* ================================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: #2E8B57;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E8B57;
}

.card p {
    color: #666666;
    font-size: 0.95rem;
    max-width: 100%;
}

/* ================================================= */
/* STATS SECTION */
/* ================================================= */

.stats {
    background-color: #2E8B57;
    color: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffff;
    max-width: 100%;
}

/* ================================================= */
/* SECTION STYLES */
/* ================================================= */

.section {
    padding: 80px 0;
}

.section-light {
    background-color: #f8f9fa;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2E8B57;
}

.section-title p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================= */
/* CTA SECTION */
/* ================================================= */

.cta-section {
    background: linear-gradient(135deg, #2E8B57 0%, #236B43 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================= */
/* BLOG CARDS */
/* ================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.2);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E8B57;
}

.blog-card p {
    color: #666666;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* ================================================= */
/* BLOG ARTICLE */
/* ================================================= */

.article-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(46, 139, 87, 0.7), rgba(35, 107, 67, 0.8));
}

.article-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.article-hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.article-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2E8B57;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #2E8B57;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333333;
    max-width: 100%;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 30px;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* ================================================= */
/* CONTACT FORM */
/* ================================================= */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E8B57;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .form-error {
    display: block;
}

.contact-info {
    padding: 20px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: #2E8B57;
    min-width: 30px;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #2E8B57;
}

.contact-info-content p {
    color: #666666;
    margin: 0;
}

.map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ================================================= */
/* FAQ */
/* ================================================= */

.faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #2E8B57;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2E8B57;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 15px;
}

.faq-answer p {
    color: #666666;
    line-height: 1.7;
    max-width: 100%;
}

/* ================================================= */
/* FOOTER */
/* ================================================= */

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #2E8B57;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2E8B57;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
}

/* ================================================= */
/* COOKIE BANNER */
/* ================================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.cookie-text p {
    margin: 0;
    line-height: 1.6;
    color: #cccccc;
}

.cookie-text a {
    color: #2E8B57;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* ================================================= */
/* TEAM SECTION */
/* ================================================= */

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

.team-member {
    text-align: center;
    padding: 20px;
}

.team-member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
    font-size: 1.2rem;
    color: #2E8B57;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666666;
    max-width: 100%;
}

/* ================================================= */
/* COURSE CATEGORIES */
/* ================================================= */

.course-category {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.course-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2E8B57;
    border-bottom: 3px solid #2E8B57;
    padding-bottom: 10px;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.course-item {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.course-item:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
}

.course-item h4 {
    font-size: 1.1rem;
    color: #2E8B57;
    margin-bottom: 0.8rem;
}

.course-item p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
    max-width: 100%;
}

/* ================================================= */
/* CONTENT SECTIONS */
/* ================================================= */

.content-block {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-block h2 {
    font-size: 2rem;
    color: #2E8B57;
    margin-bottom: 1.5rem;
}

.content-block p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.content-block ul {
    margin-left: 30px;
    margin-bottom: 1.5rem;
}

.content-block li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}
