:root {
    --primary-color: #a82a32; /* A professional deep red, similar to original accents */
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f4f4f4;
    --container-width: 1100px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.8; /* Increased for better readability */
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 1.05rem; /* Slightly larger */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
}

.btn:hover {
    background: #8b2229;
    color: #fff;
    transform: translateY(-2px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
}

.site-title h1 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin: 0;
}

.site-title p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.slogan {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Philosophie */
.philosophie {
    padding: 100px 0;
}

.philosophie-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
    position: relative;
    padding-left: 30px;
}

blockquote::before {
    content: '“';
    font-size: 5rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.2;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Angebote */
.angebote {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Über mich */
.ueber-mich {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.portrait {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

/* About Flex Layout */
.about-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-sidebar {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
}

.about-main {
    flex: 1;
}

.about-intro {
    margin-top: 30px;
}

.about-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.vita-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.vita-section:last-child {
    border-bottom: none;
}

.vita-section h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.clean-list {
    list-style: none;
}

.clean-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.clean-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Timeline Layout */
.projekte {
    padding: 100px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -45px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #eee;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-content .date {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Aktuelles Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.news-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.loading-text {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

/* Kontakt */
.kontakt {
    padding: 100px 0;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cta-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Footer */
.main-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

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

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #ccc;
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
    .philosophie-grid, .about-grid, .kontakt-grid, .about-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }
    
    .philosophie-image, .about-image, .about-sidebar {
        order: -1;
        position: static;
        flex: none;
        width: 100%;
    }
    
    .slogan {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
