/* ==== RESET & BASE STYLES ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Favicon rounding */
img[src*="favicon.png"] {
    border-radius: 50%; /* Makes the favicon completely round */
}

:root {
    --primary-color: #2e5bff;
    --primary-dark: #1a44e4;
    --secondary-color: #00d9ff;
    --accent-color: #ff4d6d;
    --dark-color: #1a202c;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --error-color: #e74c3c;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    outline: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition);
    z-index: -1;
}

.btn.primary:hover::before {
    width: 100%;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 91, 255, 0.4);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn.secondary:hover::before {
    width: 100%;
}

.btn.secondary:hover {
    color: white;
    transform: translateY(-3px);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 6rem 0;
    position: relative;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==== LOADING SCREEN ==== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-left-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s infinite ease-in-out;
}

.loading-text {
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    letter-spacing: 3px;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* ==== 3D CANVAS ==== */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #0a1128, #1c2541);
}

/* ==== HEADER ==== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}


.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.logo-tag {
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-top: -5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -2px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==== HERO SECTION ==== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
    background: url('images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Glitch effect */
.glitch-text {
    position: relative;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    4% { clip: rect(47px, 9999px, 44px, 0); }
    8% { clip: rect(15px, 9999px, 31px, 0); }
    12% { clip: rect(25px, 9999px, 32px, 0); }
    16% { clip: rect(46px, 9999px, 34px, 0); }
    20% { clip: rect(4px, 9999px, 8px, 0); }
    24% { clip: rect(61px, 9999px, 98px, 0); }
    28% { clip: rect(6px, 9999px, 65px, 0); }
    32% { clip: rect(86px, 9999px, 85px, 0); }
    36% { clip: rect(66px, 9999px, 91px, 0); }
    40% { clip: rect(92px, 9999px, 71px, 0); }
    44% { clip: rect(1px, 9999px, 24px, 0); }
    48% { clip: rect(31px, 9999px, 28px, 0); }
    52% { clip: rect(52px, 9999px, 21px, 0); }
    56% { clip: rect(93px, 9999px, 7px, 0); }
    60% { clip: rect(6px, 9999px, 46px, 0); }
    64% { clip: rect(40px, 9999px, 53px, 0); }
    68% { clip: rect(77px, 9999px, 61px, 0); }
    72% { clip: rect(72px, 9999px, 81px, 0); }
    76% { clip: rect(8px, 9999px, 12px, 0); }
    80% { clip: rect(64px, 9999px, 17px, 0); }
    84% { clip: rect(58px, 9999px, 98px, 0); }
    88% { clip: rect(97px, 9999px, 58px, 0); }
    92% { clip: rect(29px, 9999px, 84px, 0); }
    96% { clip: rect(62px, 9999px, 59px, 0); }
    100% { clip: rect(95px, 9999px, 37px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(18px, 9999px, 34px, 0); }
    4% { clip: rect(82px, 9999px, 59px, 0); }
    8% { clip: rect(35px, 9999px, 8px, 0); }
    12% { clip: rect(56px, 9999px, 23px, 0); }
    16% { clip: rect(69px, 9999px, 46px, 0); }
    20% { clip: rect(52px, 9999px, 70px, 0); }
    24% { clip: rect(1px, 9999px, 46px, 0); }
    28% { clip: rect(89px, 9999px, 11px, 0); }
    32% { clip: rect(54px, 9999px, 98px, 0); }
    36% { clip: rect(21px, 9999px, 75px, 0); }
    40% { clip: rect(73px, 9999px, 46px, 0); }
    44% { clip: rect(66px, 9999px, 35px, 0); }
    48% { clip: rect(84px, 9999px, 89px, 0); }
    52% { clip: rect(36px, 9999px, 97px, 0); }
    56% { clip: rect(87px, 9999px, 43px, 0); }
    60% { clip: rect(73px, 9999px, 25px, 0); }
    64% { clip: rect(79px, 9999px, 55px, 0); }
    68% { clip: rect(26px, 9999px, 22px, 0); }
    72% { clip: rect(32px, 9999px, 94px, 0); }
    76% { clip: rect(67px, 9999px, 54px, 0); }
    80% { clip: rect(95px, 9999px, 1px, 0); }
    84% { clip: rect(40px, 9999px, 31px, 0); }
    88% { clip: rect(4px, 9999px, 55px, 0); }
    92% { clip: rect(57px, 9999px, 45px, 0); }
    96% { clip: rect(2px, 9999px, 28px, 0); }
    100% { clip: rect(53px, 9999px, 72px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(0.65deg); }
    40% { transform: skew(-0.4deg); }
    60% { transform: skew(0.09deg); }
    80% { transform: skew(0.4deg); }
    100% { transform: skew(-0.65deg); }
}

/* ==== SERVICES SECTION ==== */
.services {
    background-color: white;
    position: relative;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, white);
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 0 0 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    opacity: 0.3;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    80%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes glitch-anim2 {
0% { clip: rect(18px, 9999px, 34px, 0); }
4% { clip: rect(82px, 9999px, 59px, 0); }
8% { clip: rect(35px, 9999px, 8px, 0); }
12% { clip: rect(56px, 9999px, 23px, 0); }
16% { clip: rect(69px, 9999px, 46px, 0); }
20% { clip: rect(52px, 9999px, 70px, 0); }
24% { clip: rect(1px, 9999px, 46px, 0); }
28% { clip: rect(89px, 9999px, 11px, 0); }
32% { clip: rect(54px, 9999px, 98px, 0); }
36% { clip: rect(21px, 9999px, 75px, 0); }
40% { clip: rect(73px, 9999px, 46px, 0); }
44% { clip: rect(66px, 9999px, 35px, 0); }
48% { clip: rect(84px, 9999px, 89px, 0); }
52% { clip: rect(36px, 9999px, 97px, 0); }
56% { clip: rect(87px, 9999px, 43px, 0); }
60% { clip: rect(73px, 9999px, 25px, 0); }
64% { clip: rect(79px, 9999px, 55px, 0); }
68% { clip: rect(26px, 9999px, 22px, 0); }
72% { clip: rect(32px, 9999px, 94px, 0); }
76% { clip: rect(67px, 9999px, 54px, 0); }
80% { clip: rect(95px, 9999px, 1px, 0); }
84% { clip: rect(40px, 9999px, 31px, 0); }
88% { clip: rect(4px, 9999px, 55px, 0); }
92% { clip: rect(57px, 9999px, 45px, 0); }
96% { clip: rect(2px, 9999px, 28px, 0); }
100% { clip: rect(53px, 9999px, 72px, 0); }
}

@keyframes glitch-skew {
0% { transform: skew(0deg); }
20% { transform: skew(0.65deg); }
40% { transform: skew(-0.4deg); }
60% { transform: skew(0.09deg); }
80% { transform: skew(0.4deg); }
100% { transform: skew(-0.65deg); }
}

/* ==== SERVICES SECTION ==== */
.services {
background-color: white;
position: relative;
z-index: 1;
}

.services::before {
content: '';
position: absolute;
top: -100px;
left: 0;
width: 100%;
height: 100px;
background: linear-gradient(to bottom, transparent, white);
z-index: 2;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.service-card {
background-color: white;
border-radius: 15px;
padding: 0 0 2rem 0;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: var(--transition);
position: relative;
z-index: 1;
overflow: hidden;
}

.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
z-index: 1;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
width: 100%;
height: 150px;
overflow: hidden;
position: relative;
}

.service-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}

.service-card:hover .service-image img {
transform: scale(1.1);
}

.service-icon {
width: 70px;
height: 70px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin-bottom: 1.5rem;
position: absolute;
top: 120px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-icon::before {
content: '';
position: absolute;
top: -5px;
left: -5px;
width: calc(100% + 10px);
height: calc(100% + 10px);
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
opacity: 0.3;
z-index: -1;
animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
0% {
    transform: scale(0.8);
    opacity: 0.3;
}
80%, 100% {
    transform: scale(1.5);
    opacity: 0;
}
}

.service-card h3 {
font-size: 1.5rem;
margin: 0 2rem 1rem;
color: var(--dark-color);
text-align: center;
}

.service-card p {
color: var(--gray-color);
margin: 0 2rem 1.2rem;
text-align: center;
}

.service-card ul {
padding-left: 3rem;
padding-right: 2rem;
}

.service-card ul li {
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.5rem;
color: var(--gray-color);
}

.service-card ul li::before {
content: '\f00c';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
color: var(--primary-color);
position: absolute;
left: 0;
}

/* ==== PORTFOLIO SECTION ==== */
.portfolio {
background-color: var(--light-color);
position: relative;
}

.portfolio-filter {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 2.5rem;
gap: 10px;
}

.filter-btn {
padding: 8px 20px;
border: none;
background-color: white;
color: var(--gray-color);
border-radius: 25px;
cursor: pointer;
transition: var(--transition);
font-weight: 500;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover, .filter-btn.active {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
}

.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.portfolio-item {
position: relative;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: var(--transition);
}

.portfolio-item:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
transition: var(--transition);
}

.portfolio-item:hover img {
transform: scale(1.05);
}

.portfolio-overlay {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 1.5rem;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
color: white;
transition: var(--transition);
transform: translateY(30%);
}

.portfolio-item:hover .portfolio-overlay {
transform: translateY(0);
}

.portfolio-overlay h3 {
font-size: 1.3rem;
margin-bottom: 0.5rem;
}

.portfolio-overlay p {
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
margin-bottom: 1rem;
}

/* ==== ABOUT SECTION ==== */
.about {
background-color: white;
}

.about-content {
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.about-text {
flex: 1;
min-width: 300px;
}

.about-text.full-width {
width: 100%;
max-width: 900px;
margin: 0 auto;
}

.about-text h3 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
text-align: center;
}

.about-text p {
color: var(--gray-color);
margin-bottom: 1.5rem;
font-size: 1.1rem;
line-height: 1.8;
text-align: justify;
}

.about-cta {
margin-top: 2.5rem;
justify-content: center;
}

/* Responsive typography for about section */
@media (max-width: 768px) {
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
}

/* ==== KNOWLEDGE SECTION ==== */
.knowledge-hero {
    /* Zusätzliche Stile für den Wissensbereich-Hero, falls nötig */
    background: url('images/hero-bg.jpg') no-repeat center center;
}

.knowledge-articles {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    z-index: 1;
}

.knowledge-articles::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, white);
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.knowledge-article {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.knowledge-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.knowledge-article.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.knowledge-article.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.article-image {
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.knowledge-article:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.article-category {
    color: var(--primary-color);
    font-weight: 600;
}

.knowledge-article h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.knowledge-article p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-highlights {
    background-color: rgba(46, 91, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.newsletter.contact {
    /* Zusätzliche Stile für die Newsletter-Sektion, falls nötig */
}

@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .knowledge-hero h1 {
        font-size: 2.5rem;
    }
    
    .knowledge-hero p {
        font-size: 1.1rem;
    }
    
    .knowledge-article h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
}

/* ==== CONTACT SECTION ==== */
.contact {
background: url('images/contact-bg.jpg') no-repeat center center;
background-size: cover;
position: relative;
color: white;
}

.contact::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(26, 32, 44, 0.85);
z-index: 0;
}

.contact .section-header,
.contact-container {
position: relative;
z-index: 1;
}

.contact .section-header h2,
.contact .section-header p {
color: white;
}

.contact-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.contact-info {
flex: 1;
min-width: 300px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.contact-card {
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: var(--transition);
}

.contact-card:hover {
transform: translateY(-5px);
background-color: rgba(255, 255, 255, 0.15);
}

.contact-card i {
font-size: 2rem;
color: var(--secondary-color);
margin-bottom: 1rem;
}

.contact-card h3 {
color: white;
margin-bottom: 0.5rem;
}

.contact-card p {
color: rgba(255, 255, 255, 0.8);
}



.social-links {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
grid-column: 1 / -1;
}

.social-link {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: white;
color: var(--primary-color);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
transition: var(--transition);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
background-color: var(--primary-color);
color: white;
transform: translateY(-5px);
}

.contact-form {
flex: 1;
min-width: 300px;
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 2.5rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 15px;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: var(--border-radius);
transition: var(--transition);
font-family: inherit;
color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--secondary-color);
background-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.2);
}

.form-group textarea {
min-height: 150px;
resize: vertical;
}

/* Formular-Statusmeldungen */
.form-status-message {
margin-top: 20px;
}

.success-message, .error-message {
padding: 15px;
border-radius: var(--border-radius);
display: flex;
align-items: center;
margin-bottom: 15px;
animation: fadeIn 0.5s ease;
}

.success-message {
background-color: rgba(40, 167, 69, 0.1);
border-left: 4px solid var(--success-color);
color: var(--success-color);
}

.error-message {
background-color: rgba(231, 76, 60, 0.1);
border-left: 4px solid #e74c3c;
color: #e74c3c;
}

.success-message i, .error-message i {
margin-right: 10px;
font-size: 1.2rem;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

/* ==== FOOTER ==== */
footer {
background-color: var(--dark-color);
color: white;
padding-top: 4rem;
position: relative;
}

/* ==== BREADCRUMB STYLES ==== */
.breadcrumb-container {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb li {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb li.active {
    color: var(--gray-color);
}

/* ==== POPUP STYLES ==== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}



.popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.legal-content {
    padding: 2.5rem;
    color: var(--text-color);
    overflow-y: auto;
    max-height: 100%;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-content h1::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 0;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--secondary-color);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-button:hover {
    background-color: var(--accent-color);
    transform: rotate(90deg);
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    cursor: pointer;
}

.legal-link:hover {
    color: var(--secondary-color);
}


.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
flex-wrap: wrap;
gap: 50px;
margin-bottom: 3rem;
}

.footer-logo {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
}



.footer-logo .logo-text-container {
display: flex;
flex-direction: column;
}

.footer-links {
flex: 1;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
}

.footer-column {
min-width: 200px;
}

.footer-column h4 {
font-size: 1.2rem;
margin-bottom: 1.2rem;
position: relative;
display: inline-block;
}

.footer-column h4::after {
content: '';
position: absolute;
width: 50%;
height: 2px;
background-color: var(--primary-color);
bottom: -5px;
left: 0;
}

.footer-column ul li {
margin-bottom: 0.8rem;
}

.footer-column ul li a,
.footer-column ul li {
color: rgba(255, 255, 255, 0.7);
transition: var(--transition);
}

.footer-column ul li a:hover {
color: var(--secondary-color);
}

.footer-column ul li i {
margin-right: 8px;
color: var(--primary-color);
}

.footer-bottom {
background-color: rgba(0, 0, 0, 0.4);
padding: 1.5rem 0;
text-align: center;
position: relative;
z-index: 1;
}

.footer-bottom p {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
color: rgba(255, 255, 255, 0.7);
}

/* ==== SCROLL TOP BUTTON ==== */
.scroll-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
z-index: 99;
opacity: 0;
visibility: hidden;
transition: var(--transition);
}

.scroll-top.active {
opacity: 1;
visibility: visible;
}

.scroll-top:hover {
transform: translateY(-5px);
}

/* ==== RESPONSIVENESS ==== */
@media screen and (max-width: 992px) {
.hero h1 {
    font-size: 3.5rem;
}

.service-card, .portfolio-item {
    transform: none !important;
}
}

@media screen and (max-width: 768px) {
.menu-toggle {
    display: block;
}

nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    padding: 2rem;
    transition: var(--transition);
    z-index: 1001;
}

nav.active {
    right: 0;
}

nav ul {
    flex-direction: column;
    margin-top: 3rem;
}

nav ul li {
    margin: 1rem 0;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.1rem;
}

.cta-buttons {
    flex-direction: column;
    gap: 1rem;
}

.about-image, .about-text {
    flex: 100%;
}
}

@media screen and (max-width: 576px) {
.hero h1 {
    font-size: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
}

.portfolio-filter {
    gap: 5px;
}

.filter-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.contact-form {
    padding: 1.5rem;
}

.scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
}
}

/* Animationen für Scroll-Effekte */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* 3D Tilt Effekt */
.js-tilt {
transition: var(--transition);
}

.js-tilt:hover {
z-index: 10;
}