/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farbpalette */
    --primary: #2A6EBB;     /* Warmes, vertrauensvolles Blau */
    --primary-dark: #1A4F8B;
    --primary-light: #4A8DDB;
    --secondary: #FF7E30;   /* Akzent-Orange */
    --secondary-light: #FF9E5C;
    --accent: #34C759;      /* Grün für positive Akzente */
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark: #333333;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

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

.highlight {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
}

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

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.badge i {
    color: var(--accent);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 10rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.8rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.qualifications {
    margin: 25px 0 35px;
}

.qualification {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.qualification i {
    color: var(--accent);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 8rem;
}

/* ===== BLOG SECTION ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
}

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

.blog-date {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.blog-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex: 1;
}

.blog-content h3 {
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: var(--dark);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    margin-top: 15px;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-note {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-note i {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 110, 187, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #CCCCCC;
}

.footer-col a:hover {
    color: var(--white);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero .container,
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .image-placeholder,
    .profile-placeholder {
        width: 300px;
        height: 300px;
        font-size: 7rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .image-placeholder,
    .profile-placeholder {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }
}

/* ===== BLOG PAGE SPECIFIC STYLES ===== */
.blog-categories {
    display: flex;
    gap: 15px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.blog-list {
    display: grid;
    gap: 30px;
}

.blog-list article {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: start;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-list article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-list .blog-date {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-list .blog-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.blog-list .blog-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.blog-excerpt {
    margin: 15px 0;
    color: var(--gray);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    font-weight: 600;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== IMPRESSUM PAGE SPECIFIC STYLES ===== */
.impressum-content {
    max-width: 900px;
    margin: 0 auto;
}

.impressum-content h1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.impressum-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.impressum-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.impressum-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.contact-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.contact-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.back-link {
    margin-top: 40px;
    text-align: center;
}

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--radius-sm);
}

/* ===== DATENSCHUTZ PAGE SPECIFIC STYLES ===== */
.datenschutz-content {
    max-width: 900px;
    margin: 0 auto;
}

.datenschutz-content h1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.datenschutz-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.datenschutz-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.datenschutz-section h3 {
    color: var(--dark);
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.datenschutz-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.datenschutz-section ul {
    margin: 15px 0 15px 20px;
}

.datenschutz-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-details {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-sm);
    margin-top: 30px;
}

/* ===== FEATURED ARTICLE SECTION ===== */
.featured-article {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    padding: 60px 0;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.featured-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-image {
    width: 350px;
    min-height: 300px;
}

/* Icon placeholder variant */
div.featured-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
}

/* Real image variant */
img.featured-image {
    object-fit: cover;
    display: block;
    height: 300px;
}

.featured-text {
    padding: 40px 40px 40px 0;
}

.featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-card h2 a {
    color: var(--dark);
}

.featured-card h2 a:hover {
    color: var(--primary);
}

.featured-excerpt {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE FOR FEATURED ARTICLE ===== */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .featured-image {
        min-height: 200px;
        width: 100%;
    }

    div.featured-image {
        font-size: 3rem;  /* Nur für Icon-Placeholders */
    }

    img.featured-image {
        height: 200px;
    }

    .featured-text {
        padding: 30px 20px;
    }

    .featured-card h2 {
        font-size: 1.5rem;
    }

    .featured-excerpt {
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE FOR BLOG PAGE ===== */
@media (max-width: 768px) {
    .blog-list article {
        grid-template-columns: 1fr;
    }

    .blog-list .blog-date {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }

    .blog-list .blog-date .day {
        font-size: 1.5rem;
    }
}