/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Calibri, serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif, serif;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 90px;
    overflow: hidden;
}

.navbar {
    padding: 0;
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    gap: 15rem;
}

.nav-logo {
    flex: 0 0 auto;
    order: 2;
}

.nav-menu {
    flex: 0 0 auto;
    height: 60px;
    order: 1;
}

.nav-logo a {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    color: #ecf0f1;
    text-decoration: none;
    text-shadow: #000000 3px 3px 2px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, serif;
}

.main-logo {
    height: 80px;
    width: auto;
    margin-right: 10px;
    border-radius: 4px;
    padding: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 0 0 auto;
    padding: 20px;
    order: 2;
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: Calibri, sans-serif;
    padding: 20px;
}

.nav-link:hover {
    color: #ff0;
    background:#444;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 50px 0 50px;
    margin-top: 20px;
    min-height: 70vh;
    overflow: hidden;
}

/* 2-Column Hero Layout */
.hero-two-columns {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    z-index: 4;
    position: relative;
}

.hero-slideshow.hero-left {
    flex: 1;
    height: 100%;
    min-height: 500px;
}

.hero-content-right {
    flex: 0 0 400px;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Special height adjustment for Java slide (Slide 2) with complex flowchart */
.hero-slide[data-language="java"] {
    height: calc(100% + 150px);
    min-height: 650px;
}

.hero-slide[data-language="java"] .hero-split-content {
    height: calc(100% + 150px);
    min-height: 650px;
}

/* Hero Split Layout */
.hero-split-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

/* Code Visualization Backgrounds */
.code-visualization {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 1rem);
    height: auto;
    min-height: 300px;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    padding: 1.5rem;
    overflow: visible;
    border-radius: 15px;
    z-index: 2;
}

/* Diagram Visualization */
.diagram-visualization {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 1rem);
    height: auto;
    min-height: 300px;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* Specific positioning adjustments for individual slides */

/* C# .NET Slide - 100px down, 50px right */
.hero-slide[data-language="csharp"] .code-visualization {
    transform: translate(50px, calc(-50% + 100px)) !important;
    top: 50% !important;
    left: 2rem !important;
}

/* Java Enterprise Slide - 200px up */
.hero-slide[data-language="java"] .code-visualization {
    transform: translateY(calc(-50% - 200px)) !important;
    top: 50% !important;
}

/* JavaScript Slide - 100px up, 50px right */
.hero-slide[data-language="javascript"] .code-visualization {
    transform: translate(50px, calc(-50% - 100px)) !important;
    top: 50% !important;
    left: 2rem !important;
}

/* PHP Backend Slide - 150px up */
.hero-slide[data-language="php"] .code-visualization {
    transform: translateY(calc(-50% - 10px)) !important;
    top: 50% !important;
}

/* Process Flow (Java) Diagram - 100px up */
.hero-slide[data-language="java"] .diagram-visualization {
    transform: translateY(calc(-50% - 100px)) !important;
    top: 50% !important;
}

/* SQL Queries Slide - 50px right */
.hero-slide[data-language="database"] .code-visualization {
    transform: translate(50px, -50%) !important;
    top: 50% !important;
    left: 2rem !important;
}

/* JavaScript Architecture Slide - Larger window, moved down */
.hero-slide[data-language="javascript"] .diagram-visualization {
    max-height: 650px !important;
    min-height: 550px !important;
    height: auto !important;
    overflow: visible !important;
    transform: translateY(calc(-50% + 50px)) !important;
    top: 50% !important;
}

.code-lines {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.code-line {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0;
    animation: typeIn 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1.0s; }
.code-line:nth-child(6) { animation-delay: 1.2s; }
.code-line:nth-child(7) { animation-delay: 1.4s; }
.code-line:nth-child(8) { animation-delay: 1.6s; }
.code-line:nth-child(9) { animation-delay: 1.8s; }
.code-line:nth-child(10) { animation-delay: 2.0s; }
.code-line:nth-child(11) { animation-delay: 2.2s; }
.code-line:nth-child(12) { animation-delay: 2.4s; }

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.diagram-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== UML CLASS DIAGRAM ===== */
.uml-class-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.uml-class, .uml-interface {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #4ec9b0;
    border-radius: 8px;
    margin: 10px 0;
    min-width: 250px;
    backdrop-filter: blur(5px);
}

.uml-class-header, .uml-interface-header {
    background: #4ec9b0;
    color: #000;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    border-radius: 6px 6px 0 0;
}

.uml-class-attributes, .uml-class-methods, .uml-interface-methods {
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.uml-class-attributes div, .uml-class-methods div, .uml-interface-methods div {
    margin: 5px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.uml-arrow {
    color: #4ec9b0;
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
}

/* ===== FLOWCHART ===== */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-height: 600px;
    justify-content: center;
}

.flowchart-node {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 8px 0;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.flowchart-node.start, .flowchart-node.end {
    border-radius: 50px;
    background: rgba(231, 76, 60, 0.3);
}

.flowchart-node.decision {
    transform: rotate(45deg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flowchart-node.decision div {
    transform: rotate(-45deg);
}

.flowchart-arrow {
    color: #e74c3c;
    font-size: 1.2rem;
    margin: 3px 0;
}

.flowchart-branches {
    display: flex;
    gap: 30px;
    margin: 12px 0;
}

.flowchart-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch-label {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===== COMPONENT ARCHITECTURE ===== */
.component-architecture {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    width: 100%;
    max-height: 500px;
    justify-content: center;
    overflow: visible;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid;
    border-radius: 8px;
    margin: 6px 0;
    width: 100%;
    max-width: 250px;
    backdrop-filter: blur(5px);
}

.arch-layer.frontend {
    border-color: #f39c12;
}

.arch-layer.backend {
    border-color: #3498db;
}

.arch-layer.database {
    border-color: #9b59b6;
}

.layer-title {
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.arch-layer.frontend .layer-title {
    background: rgba(243, 156, 18, 0.3);
}

.arch-layer.backend .layer-title {
    background: rgba(52, 152, 219, 0.3);
}

.arch-layer.database .layer-title {
    background: rgba(155, 89, 182, 0.3);
}

.components {
    padding: 10px;
}

.component {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    margin: 3px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
}

.arch-connector {
    color: #ecf0f1;
    font-weight: bold;
    margin: 6px 0;
    font-size: 0.9rem;
}

/* ===== ERP SYSTEM ===== */
.erp-system {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    width: 100%;
}

.erp-center {
    margin-bottom: 20px;
}

.erp-core {
    background: rgba(142, 68, 173, 0.4);
    border: 3px solid #8e44ad;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.erp-modules {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.erp-module {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid;
    border-radius: 10px;
    padding: 15px;
    min-width: 120px;
    backdrop-filter: blur(5px);
}

.erp-module.crm {
    border-color: #e74c3c;
}

.erp-module.inventory {
    border-color: #3498db;
}

.erp-module.finance {
    border-color: #f39c12;
}

.module-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.module-items {
    font-size: 0.8rem;
}

.module-items div {
    margin: 3px 0;
}

/* ===== DATABASE SCHEMA ===== */
.database-schema {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    gap: 15px;
    max-height: 400px;
    justify-content: center;
}

.database-schema.compact {
    gap: 8px;
    max-height: 300px;
}

.db-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.db-connector {
    color: #3498db;
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.db-spacer {
    min-width: 150px;
}

.db-table {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #3498db;
    border-radius: 8px;
    min-width: 160px;
    max-width: 180px;
    backdrop-filter: blur(5px);
}

.table-header {
    background: #3498db;
    color: #000;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    border-radius: 6px 6px 0 0;
    font-size: 0.9rem;
}

.table-fields {
    padding: 8px;
}

.field {
    margin: 3px 0;
    padding: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    border-radius: 3px;
    line-height: 1.2;
}

.field.primary {
    background: rgba(241, 196, 15, 0.3);
    border-left: 3px solid #f1c40f;
}

.field.foreign {
    background: rgba(231, 76, 60, 0.3);
    border-left: 3px solid #e74c3c;
}

.db-relation {
    color: #3498db;
    font-weight: bold;
    text-align: center;
}

/* Language-specific backgrounds */
.csharp-bg {
    background: linear-gradient(135deg, #239b56 0%, #27ae60 100%);
}

.java-bg {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.js-bg {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.php-bg {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.sql-bg {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Syntax highlighting for code visualizations */
.keyword {
    color: #569cd6;
    font-weight: bold;
}

.classname {
    color: #4ec9b0;
    font-weight: bold;
}

.method {
    color: #dcdcaa;
}

.string {
    color: #ce9178;
}

.variable {
    color: #9cdcfe;
}

.type {
    color: #4ec9b0;
}

.comment {
    color: #6a9955;
    font-style: italic;
}

.php-tag {
    color: #f92672;
    font-weight: bold;
}

/* Responsive code visualization */
@media (max-width: 1024px) {
    .hero-split-content {
        padding: 1rem;
    }
    
    .code-visualization {
        position: absolute;
        left: 1rem;
        top: 10%;
        width: calc(100% - 2rem);
        height: 250px;
        transform: none;
    }
    
    .diagram-visualization {
        position: absolute;
        right: 1rem;
        top: 60%;
        width: calc(100% - 2rem);
        height: 250px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-two-columns {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .hero-slideshow.hero-left {
        min-height: 300px;
        order: 1;
    }
    
    .hero-content-right {
        flex: none;
        order: 2;
        padding: 2rem;
    }
    
    .hero-split-content {
        padding: 1rem;
    }
    
    .code-visualization {
        position: absolute;
        left: 1rem;
        top: 5%;
        width: calc(100% - 2rem);
        height: 200px;
        padding: 1rem;
        transform: none;
    }
    
    .diagram-visualization {
        position: absolute;
        right: 1rem;
        top: 55%;
        width: calc(100% - 2rem);
        height: 200px;
        padding: 1rem;
        transform: none;
    }
    
    .code-lines {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .code-line {
        font-size: 0.7rem;
        margin: 0.3rem 0;
    }
    
    .language-badge, .diagram-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    /* Responsive diagram adjustments */
    .uml-class, .uml-interface {
        min-width: 180px;
    }
    
    .flowchart-branches {
        flex-direction: column;
        gap: 20px;
    }
    
    .erp-modules {
        flex-direction: column;
        gap: 10px;
    }
    
    .arch-layer {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-split-content {
        padding: 0.5rem;
    }
    
    .code-visualization {
        position: absolute;
        left: 0.5rem;
        top: 2%;
        width: calc(100% - 1rem);
        height: 180px;
        padding: 0.8rem;
        transform: none;
    }
    
    .diagram-visualization {
        position: absolute;
        right: 0.5rem;
        top: 52%;
        width: calc(100% - 1rem);
        height: 180px;
        padding: 0.8rem;
        transform: none;
    }
    
    .code-lines {
        padding: 0.8rem;
    }
    
    .code-line {
        font-size: 0.6rem;
        margin: 0.2rem 0;
    }
    
    /* Ultra-compact diagrams for mobile */
    .uml-class, .uml-interface {
        min-width: 150px;
    }
    
    .uml-class-attributes div, .uml-class-methods div, .uml-interface-methods div {
        font-size: 0.7rem;
    }
    
    .flowchart-node {
        padding: 10px 15px;
        min-width: 120px;
        font-size: 0.8rem;
    }
    
    .erp-core {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
    
    .erp-module {
        min-width: 100px;
        padding: 10px;
    }
    
    .module-items {
        font-size: 0.7rem;
    }
    
    .db-table {
        min-width: 150px;
    }
    
    .field {
        font-size: 0.7rem;
        padding: 3px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

.hero-logo {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: Calibri, sans-serif;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.about {
    background-color: white;
    margin-top: 0px;
    padding-top: 0px;
}

.about-image {
    transform: translateY(60px);
    height: 120px;
}

.services {
    background-color: #f8f9fa;
}

.updates {
    background-color: #f8f9fa;
}

.contact {
    background-color: white;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: Calibri, sans-serif;
    font-weight: normal;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-family: Calibri, sans-serif;
    font-weight: bold;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* ===== TECHNOLOGY LOGOS ===== */
.tech-logo {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 4px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tech-logos img {
    height: 40px;
    width: auto;
    max-width: 60px;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
    object-fit: contain;
}

.tech-logos img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Spezielle Anpassungen für bestimmte Logos */
.tech-logos img[alt="HSQLDB"],
.tech-logos img[alt="APIs"],
.tech-logos img[alt="KI"],
.tech-logos img[alt="Testing"],
.tech-logos img[alt="Agile"],
.tech-logos img[alt="UML"],
.tech-logos img[alt="Documentation"] {
    background: white;
    padding: 2px;
    border: 1px solid #ddd;
}

.tech-logos img[alt="KI"] {
    border-radius: 50%;
}

.tech-logos img[alt="RegEx"] {
    height: 40px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
}

.tech-logos img[alt="RegEx"]:hover {
    transform: scale(1.2);
}

/* Tooltip für Logos */
.tech-logos img[title] {
    position: relative;
}

.tech-logos img[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

.tech-logos img[title]:hover::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #2c3e50;
    z-index: 1001;
    pointer-events: none;
}

/* ===== DEVELOPMENT NOTICE ===== */
.development-notice {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid #ff0;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.development-notice p {
    margin: 0;
    color: #ff0;
    font-size: 0.95rem;
}

/* ===== UPDATES SECTION ===== */
.updates-content {
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    display: flex;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.update-date {
    flex: 0 0 120px;
    margin-right: 2rem;
}

.date-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    min-width: 100px;
}

.date-badge:contains("Geplant") {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
}

.date-badge:contains("In Arbeit") {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

.update-info h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3rem;
    padding-bottom: 5px;
}

.update-info p {
    color: #636e72;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    text-align: left;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Calibri, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CONTACT FORM MESSAGES ===== */
.contact-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    font-family: Calibri, sans-serif;
    animation: slideInDown 0.3s ease;
}

.contact-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-message p {
    margin: 0;
    font-size: 1rem;
    text-align: left;
    padding-right: 30px;
}

.close-message {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-message:hover {
    opacity: 0.7;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ecf0f1;
    margin-bottom: 1rem;
}

.footer-section p {
    text-align: left;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    font-size: 1.2rem;
    gap: 1rem;
}

.social-links a {
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Social Links im Kontaktbereich */
.contact-info .social-links {
    margin-top: 1rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    width: auto;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #3498db;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: transparent;
    font-size: inherit;
    width: fit-content;
    line-height: 1.6;
}

.social-link:hover {
    background-color: transparent;
    transform: translateX(5px);
    color: #2980b9;
}

.social-icon {
    width: 16px;
    height: 16px;
    fill: #0077b5;
}

.social-icon[alt="LinkedIn"] {
    fill: #0077b5;
}

/* Footer Social Links */
.footer-social {
    margin: 1rem 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Anpassungen für Tech-Logos */
    .tech-logo {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .tech-logos {
        gap: 10px;
        padding: 10px;
    }

    .tech-logos img {
        height: 32px;
        width: auto;
        max-width: 48px;
        object-fit: contain;
    }

    .tech-logos img[alt="RegEx"] {
        height: 32px;
        width: auto;
        max-width: 48px;
        object-fit: contain;
    }

    .tech-logos img[alt="RegEx"]:hover {
        transform: scale(1.2);
    }

    /* Tooltips auf Mobile deaktivieren */
    .tech-logos img[title]:hover::after,
    .tech-logos img[title]:hover::before {
        display: none;
    }

    /* Mobile Hero Anpassungen */
    .main-logo {
        height: 32px;
        margin-right: 6px;
    }

    .hero-logo {
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .hero {
        min-height: 60vh;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Sehr kleine Bildschirme - weitere Logo-Anpassungen */
    .tech-logos {
        gap: 8px;
        padding: 8px;
    }

    .tech-logos img {
        width: 28px;
        height: 28px;
    }

    .tech-logo {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    /* Sehr kleine Bildschirme - Hero weitere Anpassungen */
    .main-logo {
        height: 28px;
        margin-right: 4px;
    }

    .hero-logo {
        height: 50px;
        margin-bottom: 1rem;
    }

    .hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }

    /* Updates Section - Mobile */
    .update-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .update-date {
        flex: none;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .development-notice {
        padding: 12px;
        margin: 15px 0;
    }

    .development-notice p {
        font-size: 0.9rem;
    }
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SCROLL ANIMATIONS ===== */
.service-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header scroll effect */
.header.scrolled {
    background-color: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
}

/* Hamburger menu animation */
.nav-toggle .bar.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle .bar.active:nth-child(2) {
    opacity: 0;
}

.nav-toggle .bar.active:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Enhanced tech logo hover effects */
.tech-logos img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-logos img:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10;
    position: relative;
}

/* Hero logo pulse animation */
@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-logo {
    animation: logoPulse 3s ease-in-out infinite;
}

/* Code visualization transitions */
.hero-slide:not(.active) .code-visualization {
    opacity: 0.3;
    transform: scale(0.95);
}

.hero-slide.active .code-visualization {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

/* ===== EXPERTISE PAGE STYLES ===== */
.expertise-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.expertise-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: Calibri, sans-serif;
}

.expertise-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.code-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.code-section:nth-child(odd) {
    background-color: #f8f9fa;
}

.code-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.section-icon {
    width: 48px;
    height: 48px;
}

.code-example {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.code-example h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.code-example p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.code-block {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.code-header {
    background: #2d2d2d;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #404040;
}

.code-header .language {
    background: #007acc;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
}

.code-header .filename {
    color: #ccc;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-block pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #d4d4d4;
    background: none;
}

.explanation {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    margin-top: 2rem;
}

.explanation h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.explanation ul {
    list-style: none;
    padding: 0;
}

.explanation li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.explanation li::before {
    content: "▶";
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.explanation strong {
    color: #2c3e50;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tool-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.tool-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.tool-item img {
    width: 32px;
    height: 32px;
}

.tool-item span {
    font-weight: 500;
    color: #2c3e50;
}

.nav-link.active {
    color: #007bff !important;
    font-weight: bold;
}

/* Responsive Expertise Page */
@media (max-width: 768px) {
    .expertise-header {
        padding: 120px 0 60px;
    }
    
    .expertise-header h1 {
        font-size: 2.2rem;
    }
    
    .expertise-header p {
        font-size: 1.1rem;
    }
    
    .code-section h2 {
        font-size: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .code-example {
        padding: 1.5rem;
    }
    
    .code-block pre {
        padding: 15px;
        font-size: 0.8rem;
    }
    
    .code-header {
        padding: 10px 15px;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .explanation {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .expertise-header h1 {
        font-size: 1.8rem;
    }
    
    .code-section h2 {
        font-size: 1.6rem;
    }
    
    .code-example {
        padding: 1rem;
    }
    
    .code-block pre {
        font-size: 0.7rem;
        padding: 10px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-logo {
        animation: none;
    }
    
    .hero-slide {
        transition: none;
    }
}

/* ===== EXPERTISE PAGE STYLES ===== */

/* Tab Navigation für Expertise-Seite */
.expertise-nav {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

.expertise-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-button {
    background: #ffffff;
    border: 2px solid #dee2e6;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Calibri', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
    min-width: 120px;
}

.tab-button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.tab-button.active {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Code Example Placeholder */
.code-example-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.code-example-placeholder h3 {
    color: #495057;
    margin-bottom: 15px;
    font-family: 'Calibri', sans-serif !important;
}

.code-example-placeholder p {
    color: #6c757d;
    margin-bottom: 25px;
    font-family: 'Calibri', sans-serif !important;
}

.code-example-placeholder .code-block {
    text-align: left;
    margin: 20px 0;
}

.code-example-placeholder .code-explanation {
    text-align: left;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.code-example-placeholder .code-explanation h4 {
    font-family: 'Calibri', sans-serif !important;
    color: #495057;
    margin-bottom: 10px;
}

.code-example-placeholder .code-explanation p {
    font-family: 'Calibri', sans-serif !important;
    color: #6c757d;
}

/* Footer Logo für Expertise-Seite */
.footer-logo-img {
    height: 100px !important;
    width: auto !important;
}

/* Responsive Design für Expertise-Seite */
@media (max-width: 768px) {
    .expertise-tabs {
        gap: 10px;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 100px;
    }
    
    .code-example-placeholder {
        padding: 20px;
    }
    
    .footer-logo-img {
        height: 120px !important;
        max-width: 120px !important;
    }
}

/* ===== FACHBEREICHE PAGE STYLES ===== */

/* Header Section */
.fachbereiche-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.fachbereiche-header h1 {
    font-size: 3rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 20px;
    font-weight: 700;
}

.fachbereiche-header p {
    font-size: 1.2rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 40px;
    opacity: 0.9;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Calibri', sans-serif !important;
    color: #ffffff;
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-family: 'Calibri', sans-serif !important;
    opacity: 0.8;
    margin-top: 5px;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    font-family: 'Calibri', sans-serif !important;
    outline: none;
}

.search-box button {
    background: #667eea;
    border: none;
    padding: 20px 30px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #5a6fd8;
}

/* Categories Overview */
.categories-overview {
    padding: 80px 0;
}

.categories-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 60px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 48px;
    height: 48px;
}

.category-card h3 {
    font-size: 1.5rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    font-family: 'Calibri', sans-serif !important;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-count {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Calibri', sans-serif !important;
    display: inline-block;
}

/* Content Sections */
.content-sections {
    background: #f8f9fa;
    padding: 80px 0;
}

.content-section {
    margin-bottom: 60px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 30px;
    color: #333;
}

.content-section .section-icon {
    width: 32px;
    height: 32px;
}

.content-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.content-placeholder h3 {
    color: #495057;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 15px;
}

.content-placeholder p {
    color: #6c757d;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 20px;
}

.topic-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topic-list li {
    font-family: 'Calibri', sans-serif !important;
    color: #495057;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.topic-list li:last-child {
    border-bottom: none;
}

.more-sections-placeholder {
    background: #e9ecef;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.more-sections-placeholder h3 {
    color: #495057;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 15px;
}

.more-sections-placeholder p {
    color: #6c757d;
    font-family: 'Calibri', sans-serif !important;
}

/* Responsive Design für Fachbereiche */
@media (max-width: 768px) {
    .fachbereiche-header h1 {
        font-size: 2rem;
    }
    
    .header-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .search-box {
        margin: 0 20px;
    }
    
    .content-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-placeholder {
        padding: 20px;
    }
}

/* ===== GLOSSAR PAGES STYLES ===== */

/* Glossar Header */
.glossar-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 60px 0;
}

.breadcrumb {
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.glossar-header h1 {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 2.5rem;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 15px;
}

.page-icon {
    width: 48px;
    height: 48px;
}

.glossar-header p {
    font-size: 1.2rem;
    font-family: 'Calibri', sans-serif !important;
    opacity: 0.9;
}

/* Glossar Content */
.glossar-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.glossar-entry {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.glossar-entry h2 {
    color: #2E7D32;
    font-family: 'Calibri', sans-serif !important;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 10px;
}

.definition {
    background: #e8f5e8;
    padding: 20px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 20px;
    font-family: 'Calibri', sans-serif !important;
    font-size: 1.1rem;
}

.entry-content h4 {
    color: #333;
    font-family: 'Calibri', sans-serif !important;
    margin: 20px 0 10px 0;
}

.entry-content ul {
    margin-left: 20px;
}

.entry-content li {
    margin-bottom: 8px;
    font-family: 'Calibri', sans-serif !important;
    line-height: 1.6;
}

.placeholder-box {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.placeholder-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.placeholder-section h2 {
    color: #2E7D32;
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 20px;
}

.placeholder-section p {
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 15px;
}

.placeholder-section ul {
    margin-left: 20px;
}

.placeholder-section li {
    font-family: 'Calibri', sans-serif !important;
    margin-bottom: 8px;
}

/* Footer erweitert */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .glossar-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-icon {
        width: 40px;
        height: 40px;
    }
    
    .glossar-entry {
        padding: 20px;
    }
    
    .placeholder-section {
        padding: 20px;
    }
}