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


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #000000;
}
*/
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 50px;
}

/* Responsive Design - Bootstrap Breakpoints */
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .faq-container {
        padding: 15px 10px;
    }
    
    .faq-heading {
        font-size: 1.8em !important;
        margin-bottom: 25px !important;
    }
    
    .faq-search-box input {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .category-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
        margin: 3px !important;
    }
    
    .faq-question {
        padding: 15px !important;
        font-size: 14px !important;
    }
    
    .faq-answer.active {
        padding: 15px !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .faq-container {
        max-width: 540px;
        padding: 20px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .faq-container {
        max-width: 720px;
    }
    
    .category-filter {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .faq-container {
        max-width: 800px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .faq-container {
        max-width: 800px;
    }
}

.faq-heading {
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
    font-size: 2.5em;
}

.faq-search-box {
    margin-bottom: 30px;
}

.faq-search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 0.125rem;
    font-size: 16px;
    transition: border-color 0.3s;
}

.faq-search-box input:focus {
    outline: none;
    border-color: #0060EF;
}

.category-filter {
    margin-bottom: 30px;
    text-align: center;
}

.category-btn {
    background: #ecf0f1;
    border: none;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #0060EF;
    color: white;
}

.faq-item-container {
    background: white;
    border-radius: 0.125rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: #f8f9fa;
}

.faq-question {
    background: white;
    border: none;
    width: 100%;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.h5-faq-question {
    font-size: 16px;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: #0060EF;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.faq-content {
    color: #666;
    line-height: 1.6;
}

.faq-content p {
    margin-bottom: 15px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    border-radius: 0.125rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-content a {
    color: #0060EF;
    text-decoration: none;
    transition: color 0.3s;
}

.faq-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.faq-content ul,
.faq-content ol {
    margin: 10px 0;
    padding-left: 25px;
}

.faq-content li {
    margin-bottom: 5px;
}

.faq-content strong {
    color: #2c3e50;
}

.faq-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 0.125rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.faq-content blockquote {
    border-left: 4px solid #0060EF;
    margin: 15px 0;
    padding: 10px 20px;
    background: #f8f9fa;
    font-style: italic;
}

.category-tag {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 5px 12px;
    border-radius: 0.125rem;
    font-size: 10px;
    margin-left: auto;
    margin-right: 25px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

/* Responsive Anpassungen f�r bessere Touch-Bedienung */
@media (max-width: 767.98px) {
    .faq-question::after {
        font-size: 24px;
        min-width: 24px;
    }
    
    .category-tag {
        font-size: 11px;
        padding: 2px 6px;
    }
}

/* Landscape Tablet Optimierung */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .faq-container {
        max-width: 90%;
    }
    
    .category-filter {
        margin-bottom: 25px;
    }
}