.section-title {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ee6c0c, transparent);
    border-radius: 2px;
}

.theme-toggle-button {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.theme-toggle-button:hover,
.theme-toggle-button:focus-visible {
    opacity: 1;
}

/* Technology Cards */
[data-bs-theme="light"] .tech-card-back {
    background: linear-gradient(135deg, rgba(238, 108, 12, 0.95), rgba(255, 140, 66, 0.95));
}

.tech-card {
    height: 360px;
    perspective: 1000px;
}

.tech-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tech-card:hover .tech-card-inner {
    transform: rotateY(180deg);
}

.tech-card-front,
.tech-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.tech-card-front {
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.tech-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
}

.tech-card-front h3 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tech-card-front--gleitschleifen {
    background-image: url('/assets/img/Gleitschleifen_01b-2.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--feinstreinigung {
    background-image: url('/assets/img/Feinstreinigung_lq.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--chemisch {
    background-image: url('/assets/img/Chemisch-beschleunigtes-Gleitschleifen_02_hq-2.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--polieren {
    background-image: url('/assets/img/Chemisch-beschleunigtes-Gleitschleifen_01_hq-2.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--kugelpolieren {
    background-image: url('/assets/img/Kugelpolieren_hq_1-2.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--flaechenbandschleifen {
    background-image: url('/assets/img/schleifen_entgraten.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--entrosten {
    background-image: url('/assets/img/Entzundern_Entrosten_lq.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--waessrig {
    background-image: url('/assets/img/Gleitschleifen_Trowalisieren_in_der_Durchlaufgleitschleifanlange_P001_guetzli-2.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-front--loesemittel {
    background-image: url('/assets/img/Waschen_Entfetten_lq.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tech-card-back {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.2), rgba(28, 28, 30, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(180deg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem;
}

.tech-card-back-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-card-back h4 {
    color: #2997ff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-card-back p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.tech-card-link,
.industry-card::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1.1;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.42), rgba(41, 151, 255, 0.22));
    border: 1px solid rgba(107, 184, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(107, 184, 255, 0.28), 0 0 18px rgba(41, 151, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tech-card-link {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    align-self: flex-end;
    margin-top: auto;
}

.tech-card-link:hover,
.tech-card-link:focus-visible {
    background: linear-gradient(135deg, rgba(107, 184, 255, 0.48), rgba(41, 151, 255, 0.3));
    border-color: rgba(107, 184, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(107, 184, 255, 0.36), 0 0 22px rgba(41, 151, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

[data-bs-theme="light"] .tech-card-link,
[data-bs-theme="light"] .industry-card::after {
    color: #0f1b2a;
    border-color: rgba(41, 151, 255, 0.34);
    background: linear-gradient(135deg, rgba(107, 184, 255, 0.48), rgba(41, 151, 255, 0.26));
    box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.24), 0 0 18px rgba(41, 151, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-bs-theme="light"] .tech-card-link:hover,
[data-bs-theme="light"] .tech-card-link:focus-visible {
    color: #0f1b2a;
    background: linear-gradient(135deg, rgba(134, 196, 255, 0.58), rgba(41, 151, 255, 0.32));
    border-color: rgba(41, 151, 255, 0.42);
}

/* Industry Cards */
[data-bs-theme="light"] .industry-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .industry-card:hover {
    box-shadow: 0 8px 24px rgba(238, 108, 12, 0.2);
}

.industry-card {
    position: relative;
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.industry-card::after {
    content: 'mehr dazu';
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    color: #ffffff;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 4px));
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.industry-card:hover::before,
.industry-card:focus-within::before {
    opacity: 1;
}

.industry-card:hover::after,
.industry-card:focus-within::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

[data-bs-theme="light"] .industry-card::before {
    background: rgba(15, 27, 42, 0.12);
}

.industry-card-img {
    height: 180px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.industry-card-img--e-mobilitaet {
    background-image: url('/assets/img/E-Mobilitaet.webp');
}

.industry-card-img--automobiltechnik {
    background-image: url('/assets/img/Automobiltechnik.webp');
}

.industry-card-img--trucktechnologie {
    background-image: url('/assets/img/Trucktechnologie.webp');
}

.industry-card-img--elektrotechnik {
    background-image: url('/assets/img/Stecker2.webp');
}

.industry-card-img--maschinenbau {
    background-image: url('/assets/img/Maschinenbau.webp');
}

.industry-card-img--verdichter {
    background-image: url('/assets/img/Poliertes_Verdichterrad_nach_der_Bearbeitung_durch_IG-Oberflaechentechnik-300x219.jpg.webp');
}

.industry-card-img--bauindustrie {
    background-image: url('/assets/img/Bauindustrie.webp');
}

.industry-card-img--luftfahrt {
    background-image: url('/assets/img/Luftfahrt.webp');
}

.industry-card-img--medizintechnik {
    background-image: url('/assets/img/Medizintechnik.webp');
}

.industry-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.industry-card-body {
    padding: 1rem;
    text-align: center;
}

.industry-card-body h6 {
    margin: 0;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

/* Certificates */
.certificates-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(41, 151, 255, 0.18) !important;
    transition: all 0.4s ease;
}

.certificates-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2997ff, #6bb8ff, #8ec9ff);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.certificates-card:hover {
    border-color: rgba(41, 151, 255, 0.35) !important;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(41, 151, 255, 0.16);
}

.certificates-card:hover::before {
    opacity: 1;
}

.certificates-icon-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(107, 184, 255, 0.2), rgba(41, 151, 255, 0.08));
    border: 1px solid rgba(41, 151, 255, 0.25);
    box-shadow: 0 0 24px rgba(41, 151, 255, 0.18);
}

.certificates-icon-badge i {
    display: inline-block;
    color: #2997ff !important;
    filter: drop-shadow(0 0 12px rgba(41, 151, 255, 0.35));
    text-shadow: 0 0 18px rgba(41, 151, 255, 0.35);
}

.certificates-iso-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certificates-iso-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.certificates-iso-list li:last-child {
    border-bottom: none;
}

.certificates-filesize {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.certificates-img-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    max-width: 200px;
    margin: 0 auto;
}

.certificates-card:hover .certificates-img-wrapper {
    box-shadow: 0 0 24px rgba(41, 151, 255, 0.45), 0 0 48px rgba(41, 151, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(41, 151, 255, 0.4);
}

.certificates-thumb {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.75;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.certificates-card:hover .certificates-thumb {
    transform: scale(1.03);
    opacity: 1;
}

[data-bs-theme="light"] .certificates-card {
    border: 1px solid rgba(41, 151, 255, 0.22) !important;
}

[data-bs-theme="light"] .certificates-card:hover {
    box-shadow: 0 12px 40px rgba(41, 151, 255, 0.18);
}

[data-bs-theme="light"] .certificates-img-wrapper {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Sustainability */
.sustainability-section {
    position: relative;
}

.sustainability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(61, 139, 100, 0.08), transparent 40%),
                radial-gradient(circle at 70% 50%, rgba(82, 166, 117, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.sustainability-section .container {
    position: relative;
    z-index: 1;
}

.sustainability-card {
    border: 1px solid rgba(61, 139, 100, 0.15) !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sustainability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3d8b64, #52a675, #74c69d);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sustainability-card:hover {
    border-color: rgba(61, 139, 100, 0.3) !important;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(61, 139, 100, 0.15), 0 0 0 1px rgba(82, 166, 117, 0.12);
}

.sustainability-card:hover::before {
    opacity: 1;
}

.sustainability-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.sustainability-icon-wrapper i {
    display: inline-block;
    color: #52a675 !important;
    background: linear-gradient(135deg, #3d8b64, #52a675);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(61, 139, 100, 0.3));
    text-shadow: 0 0 16px rgba(61, 139, 100, 0.24);
}

.sustainability-card h5 {
    color: #fff;
    font-weight: 600;
}

[data-bs-theme="light"] .sustainability-section::before {
    background: radial-gradient(circle at 30% 50%, rgba(61, 139, 100, 0.12), transparent 40%),
                radial-gradient(circle at 70% 50%, rgba(82, 166, 117, 0.08), transparent 40%);
}

[data-bs-theme="light"] .sustainability-card {
    border: 1px solid rgba(61, 139, 100, 0.2) !important;
}

[data-bs-theme="light"] .sustainability-card:hover {
    box-shadow: 0 12px 40px rgba(61, 139, 100, 0.2);
}

[data-bs-theme="light"] .sustainability-card h5 {
    color: #1d1d1f;
}

/* Timeline */
[data-bs-theme="light"] .timeline-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .timeline-content:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(238, 108, 12, 0.1);
}

[data-bs-theme="light"] .timeline-content p {
    color: rgba(0, 0, 0, 0.7);
}

.timeline-modern {
    position: relative;
    padding: 2rem 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        rgba(238, 108, 12, 0.8) 0%,
        rgba(238, 108, 12, 0.5) 50%,
        rgba(238, 108, 12, 0.2) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 19px;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ee6c0c, #ff8c42);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.9),
                0 0 0 8px rgba(238, 108, 12, 0.2),
                0 0 20px rgba(238, 108, 12, 0.4);
    z-index: 2;
}

.timeline-dot-start {
    position: absolute;
    left: 13px;
    top: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ee6c0c, #ff8c42);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.9),
                0 0 0 12px rgba(238, 108, 12, 0.3),
                0 0 30px rgba(238, 108, 12, 0.6);
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #ee6c0c;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #ff8c42;
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(238, 108, 12, 0.15);
}

.timeline-content .timeline-year {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ee6c0c, #ff8c42);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-content h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Process Competence */
.process-competence-grid {
    position: relative;
}

.process-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: radial-gradient(circle at top right, rgba(41, 151, 255, 0.18), transparent 40%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(238, 108, 12, 0.12), transparent 35%, rgba(41, 151, 255, 0.12));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(107, 184, 255, 0.3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(107, 184, 255, 0.12);
}

.process-card:hover::before {
    opacity: 1;
}

.process-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.process-card-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.process-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1 1 auto;
    min-width: 0;
}

.process-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: min(100%, 250px);
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
    margin-inline: auto;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.process-logo-badge::before {
    content: '';
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.22), transparent 62%);
    pointer-events: none;
}

.process-logo-inline {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 250px);
    height: min(100%, 250px);
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
}

.process-card--3s .process-logo-badge,
.process-card--3s .process-logo-inline {
    max-width: 250px;
    max-height: 250px;
}

.process-card h5 {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.process-card p {
    margin-bottom: 0;
}

.process-subtitle {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.5;
}

[data-bs-theme="light"] .process-card {
    border-color: rgba(41, 151, 255, 0.16);
    background: radial-gradient(circle at top right, rgba(41, 151, 255, 0.12), transparent 40%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 251, 0.9));
    box-shadow: 0 16px 34px rgba(31, 48, 71, 0.1);
}

[data-bs-theme="light"] .process-card:hover {
    border-color: rgba(41, 151, 255, 0.26);
    box-shadow: 0 22px 42px rgba(31, 48, 71, 0.14), 0 0 0 1px rgba(41, 151, 255, 0.08);
}

[data-bs-theme="light"] .process-logo-badge {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 252, 0.78));
    border-color: rgba(41, 151, 255, 0.12);
    box-shadow: 0 12px 24px rgba(31, 48, 71, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

[data-bs-theme="light"] .process-logo-badge::before {
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.16), transparent 62%);
}

[data-bs-theme="light"] .process-subtitle {
    color: rgba(24, 49, 73, 0.72);
}

/* FAQ and Footer Utilities */
.faq-cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.faq-filter-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.faq-group-title {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    z-index: 999;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* Light Theme Contrast */
[data-bs-theme="light"] .glass-panel,
[data-bs-theme="light"] .sustainability-card,
[data-bs-theme="light"] .industry-card,
[data-bs-theme="light"] .tech-card {
    color: #1d1d1f;
}

[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6 {
    color: #1d1d1f;
}

[data-bs-theme="light"] .text-white-50 {
    color: #444 !important;
    opacity: 0.7;
}

[data-bs-theme="light"] a.text-white,
[data-bs-theme="light"] a.text-white-50 {
    color: #1d1d1f !important;
}

[data-bs-theme="light"] footer {
    color: #222;
}

[data-bs-theme="light"] .btn-outline-light {
    color: #1d1d1f;
    border-color: #1d1d1f;
}

[data-bs-theme="light"] .btn-outline-light:hover {
    background: #1d1d1f;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .certificates-icon-badge {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .timeline-modern::before {
        left: 20px;
    }

    .timeline-dot {
        left: 9px;
    }

    .timeline-dot-start {
        left: 3px;
    }

    .timeline-item {
        padding-left: 60px;
    }
}

@media (max-width: 767px) {
    .process-card {
        padding: 1.25rem;
    }

    .process-card-header {
        gap: 0.85rem;
    }

    .process-logo-badge {
        width: min(100%, 250px);
        padding: 0.65rem;
    }

    .process-logo-inline,
    .process-card--3s .process-logo-inline {
        width: min(100%, 250px);
        height: min(100%, 250px);
        max-width: 250px;
        max-height: 250px;
    }
}

/* FAQ Filter Section */
.faq-filter-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
}

/* Tab-Navigation */
.faq-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.faq-tab {
    flex: 1;
    max-width: 220px;
    padding: 0.65rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.faq-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.faq-tab.active {
    background: rgba(41, 151, 255, 0.15);
    border-color: rgba(41, 151, 255, 0.4);
    color: #fff;
    font-weight: 600;
}

.faq-tab-chevron {
    font-size: 0.7em;
    transition: transform 0.25s ease;
}

.faq-tab.active .faq-tab-chevron {
    transform: rotate(180deg);
}

/* Sub-Filter Panel */
.faq-sub-filters {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
    margin-top: 0;
}

.faq-sub-filters.open {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Light-Theme Tabs */
[data-bs-theme="light"] .faq-tab {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.6);
}

[data-bs-theme="light"] .faq-tab:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #000;
}

[data-bs-theme="light"] .faq-tab.active {
    background: rgba(41, 151, 255, 0.1);
    border-color: rgba(41, 151, 255, 0.35);
    color: #000;
}

[data-bs-theme="light"] .faq-sub-filters.open {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.faq-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5em;
    padding: 0.1em 0.45em;
    margin-left: 0.35em;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    vertical-align: baseline;
}

.faq-filter-btn.active .faq-count-badge {
    background: rgba(255, 255, 255, 0.25);
}

[data-bs-theme="light"] .faq-filter-section {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .faq-count-badge {
    background: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .faq-filter-btn.active .faq-count-badge {
    background: rgba(0, 0, 0, 0.15);
}

/* New industry card images */
.industry-card-img--pumpentechnik {
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 50%, #1a3a5c 100%);
    background-image: url('/assets/img/istockphoto-pumpentechnik.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.industry-card-img--nahrungsmittel {
    background: linear-gradient(135deg, #2c4a1a 0%, #4a7a2c 50%, #2c4a1a 100%);
    background-image: url('/assets/img/istockphoto-nahrungsmittel.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* FAQ entry visibility */
.faq-entry[hidden] {
    display: none !important;
}
