/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/inter/inter-v19-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/inter/inter-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/inter/inter-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/inter/inter-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #5E17EB; /* Changed from #3498db to modern purple */
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --gray: #95a5a6;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500; /* Standard-Schriftstärke (wie es vorher war) */
}

.main-nav a:hover {
    color: var(--secondary-color); /* Farbe ändert sich beim Hovern */
}

/* NEU: Eigene Regeln für den aktiven Link */
.main-nav a.active {
    color: var(--secondary-color); /* Firmenfarbe */
    font-weight: 700;              /* Nur dieser Link ist fett */
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 70px;
}

.profile-image-container {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slide-content .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.slide-content .btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-nav button.active {
    background-color: var(--white);
}

/* Make the text shadow more subtle */
.slide-content h2,
.slide-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Header */
.page-header {
    background: url('/assets/images/headerbanner.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 70px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(93, 52, 128, 0.1); /* Overlay using primary color with opacity */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* --- Modern About Page Styles --- */
.about-page-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Intro Section */
.about-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.about-intro-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.about-intro-text .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.summary h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.summary p {
    line-height: 1.7;
    color: var(--text-color);
}

/* Main Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content, .sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-card, .sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover, .sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.content-card h3, .sidebar-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modern Timeline */
.modern-timeline {
    position: relative;
    /* Removed padding-left to align content */
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item-modern:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-date {
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 10px;
    font-style: italic;
}

.timeline-position {
    font-weight: 600;
    margin-bottom: 10px;
}

.location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style-type: none;
    padding-left: 5px;
    margin-top: 15px;
}

/* MODIFICATION START: Replaced ::before pseudo-element with flexbox for icon alignment */
.timeline-content ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start; /* Aligns icon with the start of the text block */
    gap: 10px; /* Creates space between the icon and the text */
}

.timeline-content ul li i {
    color: var(--secondary-color);
    margin-top: 5px; /* Small adjustment for better vertical alignment with text */
}
/* MODIFICATION END */

/* Skills Section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: var(--light-gray);
    color: var(--dark-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Languages List */
.languages-list {
    list-style: none;
    padding: 0;
}
.languages-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
}
.languages-list li:last-child {
    border-bottom: none;
}
.languages-list li span {
    color: var(--text-light);
}

/* Certifications List */
.certifications-list {
    list-style: none;
    padding: 0;
}
.certifications-list li {
    margin-bottom: 15px;
}
.certifications-list h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.certifications-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* Portfolio Page */
.portfolio-section {
    margin: 60px 0;
}

.portfolio-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.portfolio-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Services Page */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.service-card ul {
    margin-bottom: 25px;
    list-style-position: inside;
}

.service-card li {
    margin-bottom: 8px;
}

.service-card .btn {
    display: block;
    text-align: center;
}

.testimonials-section {
    margin: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.testimonial {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    left: -10px;
    top: -20px;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-color);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add this to your existing footer styles */
.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-icon {
    font-size: 1.5rem; /* Larger icon size */
    color: var(--secondary-color); /* Your purple brand color */
    margin-right: 12px;
    width: 30px; /* Fixed width for alignment */
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.contact-list a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.contact-list a:hover {
    color: var(--secondary-color);
}

.contact-list a:hover .contact-icon {
    transform: scale(1.1); /* Slight grow effect on hover */
    color: var(--accent-color); /* Your accent color for hover state */
}

/* Responsive Styles */
@media (max-width: 992px) {
    .profile-image-container {
        width: 500px;
        height: 500px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-slider {
        height: 70vh;
    }
    
    .profile-image-container {
        display: none;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .slide-content {
        padding: 15px;
    }

    .hero-slider {
        height: 60vh;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 16px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Spacing Utilities */
.spaced-section {
    margin: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Intro Section */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 30px 0;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-10px);
}

.quick-link-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.quick-link-content {
    padding: 25px;
}

.quick-link-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quick-link-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.blog-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.btn-text {
    background: none;
    color: var(--secondary-color);
    padding: 0;
    text-decoration: underline;
}

.btn-text:hover {
    background: none;
    color: var(--accent-color);
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid var(--light-gray);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    color: var(--text-color);
}

.page-link:hover, .page-link.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Blog Single Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta span {
    margin: 0 10px;
}

.post-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    line-height: 1.8;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content pre {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags a {
    margin-right: 5px;
    color: var(--secondary-color);
}

.post-tags a:hover {
    color: var(--accent-color);
}

.social-icon {
    margin-left: 10px;
    color: var(--text-color);
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-content {
    padding: 20px;
}

.related-category {
    display: block;
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .blog-filters {
        flex-direction: column;
    }
    
    .post-header h2 {
        font-size: 1.8rem;
    }
    .about-intro-text h2 {
        font-size: 2rem;
    }

    .content-card, .sidebar-card {
        padding: 20px;
    }
}

/* Admin Styles */
.admin-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-post-list {
    display: grid;
    gap: 20px;
}

.admin-post-card {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.btn-danger {
    background-color: var(--accent-color);
}

.btn-danger:hover {
    background-color: #c0392b;
}

.post-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* --- Legal Pages Styles (Imprint & Privacy) --- */
.imprint-content, .legal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    line-height: 1.6;
}

/* Gemeinsames Styling für Sektionen und Überschriften */
.imprint-section, .legal-content section {
    margin-bottom: 40px;
}

.imprint-content h2, .legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px; /* Abstand nach oben für bessere Lesbarkeit */
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.imprint-content h3, .legal-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 25px 0 10px;
    font-weight: 700;
}

.imprint-content p, .legal-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--light-gray);
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .imprint-content, .legal-content {
        padding: 25px 20px;
    }
    
    .imprint-content h2, .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* --- Modern Services Page Styles --- */

/* 1. Value Proposition Grid (Top Section) */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.what-we-do-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.what-we-do-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.what-we-do-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    background: #f8f6fe;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.what-we-do-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 2. Modern Pricing Tables */
.offer-section .intro-text {
    max-width: 700px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: var(--text-light);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 992px) {
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: flex-start;
    }
}

.offer-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Featured/Popular Card Logic */
.offer-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(94, 23, 235, 0.15);
}

.offer-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

@media (max-width: 991px) {
    .offer-card.popular {
        transform: scale(1);
    }
    .offer-card.popular:hover {
        transform: translateY(-5px);
    }
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(94, 23, 235, 0.3);
}

.offer-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.offer-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.offer-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.offer-price {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.offer-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.offer-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.offer-price .start-from {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
}

.offer-body {
    flex-grow: 1;
}

.list-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.bonus-title {
    color: var(--accent-color);
    margin-top: 25px;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.offer-features i {
    color: #27ae60;
    margin-top: 4px;
    flex-shrink: 0;
}

.offer-bonuses li i {
    color: var(--accent-color);
}

.offer-footer {
    margin-top: 30px;
}

.offer-footer .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
}

/* 3. Detailed Service Tiles (Additional Areas) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-tile {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-tile-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-tile-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.service-tile-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-tile h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-tile ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-tile li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-tile li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 4. Modern Testimonials Grid */
.modern-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card-modern {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.2;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- New Home Page Intro Section --- */
.home-intro-section {
    background-color: var(--light-gray);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    max-width: 900px;
}

.home-intro-headline {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.home-intro-subheadline {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 30px auto;
}

@media (max-width: 768px) {
    .home-intro-headline {
        font-size: 2.2rem;
    }
    .home-intro-section {
        padding: 40px 20px;
    }
}

/* --- New Home Page Services Carousel --- */
.home-services-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%; /* Each card takes 80% of the viewport on mobile */
    gap: 20px;
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 20px;
    /* For momentum scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
}

.home-services-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.home-service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border: 1px solid #e9e9e9;
    text-align: center;
}

.service-card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.home-service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.home-service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* On tablets and desktops, turn it back into a grid */
@media (min-width: 768px) {
    .home-services-carousel {
        grid-auto-flow: unset;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        padding: 0;
    }
    .home-service-card {
        min-height: 280px; /* Make cards same height */
    }
}

@media (min-width: 992px) {
    .home-services-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
    .home-service-card {
        min-height: 300px;
    }
}

/* --- Recent Project Tile (Bubble Layout) --- */
.recent-project-tile {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Set bubble padding as default */
    padding-top: 60px; 
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 30px;

    max-width: 950px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative; /* CRITICAL for bubble positioning */
}

.project-description {
    /* Set text-align as default */
    text-align: center;
}

.project-description h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.project-description p {
    color: var(--text-color);
    line-height: 1.7;
}

.project-description .btn {
    margin-top: 20px;
    /* Center the button */
    margin-left: auto;
    margin-right: auto;
}

/* Add margin between multiple project tiles */
.recent-project-tile + .recent-project-tile {
    margin-top: 60px;
}

.project-logo {
    /* --- Bubble Styles (Default) --- */
    position: absolute;
    top: -30px; /* Pulls the bubble up */
    /* REMOVED 'right: 20px;' - Position is now handled below */
    
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 10px; /* Padding inside the bubble */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-logo img {
    /* --- Bubble Image Styles (Default) --- */
    max-height: 50px;
    max-width: 100%;
    border-radius: 0; /* Image itself is not rounded */
    object-fit: contain;
}

/* --- Bubble Position (Default Right) --- */
.recent-project-tile .project-logo {
    right: 20px;
}

/* --- Bubble Position (Left Modifier) --- */
.recent-project-tile.bubble-left .project-logo {
    right: auto;
    left: 20px;
}


/* --- New About Summary Section (Split Layout) --- */
.about-summary-section {
    background-color: var(--white);
    padding: 20px 0;
}

.about-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-summary-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.about-main-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--light-gray);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.about-main-img:hover {
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px var(--secondary-color);
}

/* Text Content Styling */
.about-text-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text-content .highlight {
    color: var(--secondary-color);
}

.about-text-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Stats/Badges Grid */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-item {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s;
}

.stat-item:hover {
    background: #f0ebfa; /* Light purple tint */
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.stat-item span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* --- Modern Portfolio Page Styles --- */

/* 1. Portfolio Hero Section */
.portfolio-hero {
    /* Make sure you have an image named 'portfolio-hero.jpg' in your images folder, or change this path */
    background-image: url('assets/images/portfolio-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a modern parallax effect */
    padding: 140px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 70px;
}

/* Dark Overlay to make text readable over the image */
.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.75); /* Dark blue/gray overlay */
    z-index: 1;
}

/* Curved bottom edge */
.portfolio-hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 2;
}

/* Ensure text sits on top of the overlay */
.portfolio-hero .container {
    position: relative;
    z-index: 3;
}

.portfolio-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.portfolio-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* 2. Companies Section (Wide Cards) */
.company-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(94, 23, 235, 0.15); /* Purple shadow */
}

.company-image-col {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-content-col {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-badge {
    display: inline-block;
    background: #f0ebfa;
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.company-content-col h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 3. Products Grid (Modern Cards) */
.modern-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.product-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-bg {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* 4. Consulting Projects (Minimal List/Grid) */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.consulting-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: background 0.3s;
}

.consulting-card:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.consulting-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.8;
}

.consulting-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .company-card {
        flex-direction: column;
    }
    .company-image-col {
        min-height: 200px;
    }
    .portfolio-hero h1 {
        font-size: 2.2rem;
    }
}

/* --- Modern Blog Page Styles --- */

/* Blog Toolbar (Filters) */
.blog-toolbar {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toolbar-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-select {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.modern-select:hover, .modern-select:focus {
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

/* Featured Post Section */
.featured-post-wrapper {
    margin-bottom: 60px;
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.featured-post-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
}

.featured-badge {
    align-self: flex-start;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-excerpt {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Modern Grid Cards */
.modern-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.modern-blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.modern-blog-card:hover .card-bg {
    transform: scale(1.1);
}

.card-category-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.3s;
}

.modern-blog-card:hover h3 {
    color: var(--secondary-color);
}

.card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

/* Empty State */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    background-color: #fafafa;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-post-card {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto;
    }
    .featured-image {
        min-height: 300px;
    }
    .featured-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .blog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .toolbar-group {
        width: 100%;
    }
    .modern-select {
        flex-grow: 1;
    }
    .featured-content h2 {
        font-size: 1.8rem;
    }
}

/* --- Modern React-Style Testimonials (Infinite Moving Cards) --- */

.react-testimonials-section {
    overflow: hidden;
    padding: 80px 0;
    position: relative;
    width: 100%; /* Volle Breite */
}

.marquee-wrapper-react {
    position: relative;
    width: 100%;
    /* Gradient Maske links und rechts für weiches Ausblenden */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding: 40px 20px; /* Padding oben/unten für Schatten/Bubbles */
    /* will-change erzwingt GPU-Rendering für flüssige 60FPS */
    will-change: transform; 
    animation: scroll-left 50s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    to {
        transform: translateX(-50%);
    }
}

.react-review-card {
    background: var(--white);
    width: 400px;
    padding: 35px 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.react-review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(94, 23, 235, 0.15);
    border-color: rgba(94, 23, 235, 0.2);
    z-index: 10;
}

/* --- OPTIMIERTE BUBBLES --- */
.company-bubble {
    position: absolute;
    top: -25px; /* Etwas höher */
    right: -15px;
    width: 70px; /* Etwas größer */
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    z-index: 2;
    overflow: hidden;
}

/* Bild-Anpassung: Contain statt Cover */
.company-bubble img {
    width: 75%; /* Bild füllt nur 75% der Bubble, damit nichts am Rand klebt */
    height: 75%;
    object-fit: contain; /* Verhindert Abschneiden */
    border-radius: 0; /* Keine runden Ecken für das Bild selbst */
}

/* Icon-Anpassung falls Icons statt Bilder genutzt werden */
.company-bubble i {
    font-size: 1.8rem !important; /* Etwas größer */
}

.review-stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
    font-weight: 700;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .react-review-card {
        width: 300px;
    }
    .marquee-track {
        gap: 20px;
        animation-duration: 40s; 
    }
}

/* --- Modern FAQ Section (React Style Accordion) --- */

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr 1.5fr; /* Intro left, Questions right */
        align-items: start;
    }
}

.faq-intro h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-intro p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Centered Wrapper for Services Page */
.faq-wrapper-centered {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: rgba(94, 23, 235, 0.1);
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(94, 23, 235, 0.08); /* Purple Glow when active */
    border-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}

.faq-item.active .faq-question {
    color: var(--secondary-color);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* Smooth Expand Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* High enough to fit content */
    transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
    padding: 0 25px 25px 25px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* --- BRIGHT & ROUNDED HERO (Compact Version) --- */

.hero-bright-rounded {
    position: relative;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    /* REDUCED PADDING: 110px Top (clears header), 60px Bottom */
    padding: 110px 0 60px 0; 
    overflow: hidden;
    
    /* Slightly smaller curves for shorter height */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

/* The "White Wash" Overlay - Makes the text readable */
.hero-bright-rounded::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* 85% White overlay */
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(4px); /* Blurs the photo slightly */
    z-index: 1;
}

/* 1. HIDE the blobs if using background images */
.bright-blob {
    display: none;
}

/* 2. A very subtle Dot Pattern (Technical but clean) */
.bright-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#94a3b8 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
    opacity: 0.3;
}

/* 3. Content Styling */
.bright-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 800px;
    /* Center align usually looks best for "clean" designs */
    text-align: center; 
    margin: 0 auto;
}

/* Rounded "Pill" Badge */
.bright-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    /* Fully rounded pill shape */
    border-radius: 100px; 
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color); /* Your Purple */
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dot-indicator {
    width: 8px; height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Headline: Dark, Heavy, Crisp */
.hero-bright-rounded h1 {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #1e293b; /* Slate 800 (Dark Grey/Blue) - High Contrast */
    margin-bottom: 25px;
}

/* Highlight text gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-bright-rounded p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b; /* Slate 500 (Medium Grey) */
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 35px auto;
}

/* Rounded Button Group */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-rounded {
    padding: 12px 30px;
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-rounded {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 10px 25px rgba(94, 23, 235, 0.25); /* Purple glow shadow */
}

.btn-primary-rounded:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(94, 23, 235, 0.35);
}

.btn-white-rounded {
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-white-rounded:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    color: var(--secondary-color);
}

@keyframes floatBright {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 40px); }
}

@media (max-width: 768px) {
    .hero-bright-rounded h1 { font-size: 2.8rem; }
    .hero-bright-rounded { padding: 100px 0 60px 0; border-radius: 0 0 30px 30px; }
}