/* ========================================================
   Explosivstoffanalytik.de - Stylesheet
   Modern, Clean, Responsive & Fast
   ======================================================== */

:root {
    --primary: #0f2744;
    --primary-light: #1e3a8a;
    --primary-dark: #091726;
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-subtle: #fef3c7;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --border: #e2e8f0;
    --border-focus: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --container-max: 1260px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Announcement Bar --- */
.top-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact span {
    margin-right: 18px;
}

.top-bar-contact a {
    color: #e2e8f0;
}

.top-bar-badge {
    background: rgba(217, 119, 6, 0.2);
    color: #fde68a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Header & Navigation --- */
header.site-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-main,
.emto-badge,
.lmu-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-main img {
    height: 48px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.emto-badge {
    border-left: 1px solid var(--border);
    padding-left: 15px;
    transition: transform 0.2s, opacity 0.2s;
}

.emto-badge:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.emto-badge img {
    height: 32px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.lmu-badge {
    border-left: 1px solid var(--border);
    padding-left: 15px;
}

.lmu-badge img {
    height: 28px;
    width: auto;
    max-width: none;
    border-radius: 2px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

nav.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 6px 2px;
    position: relative;
    white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    color: var(--primary-light);
}

nav.main-nav a.btn-nav {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.90rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
    transition: all 0.2s ease;
    margin-left: 4px;
}

nav.main-nav a.btn-nav:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
    color: #ffffff !important;
}

nav.main-nav a.btn-nav:hover {
    background-color: var(--accent-hover);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15), transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fde68a;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.hero-badges {
    display: flex;
    gap: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
}

.hero-badge-item strong {
    display: block;
    font-size: 1.3rem;
    color: #ffffff;
}

.hero-badge-item span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.hero-image-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 12px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.hero-image-card img {
    border-radius: calc(var(--radius-lg) - 4px);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Section Global --- */
section {
    padding: 80px 0;
}

section.bg-subtle {
    background-color: var(--bg-subtle);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Cards & Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-weight: bold;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Interactive Tabs --- */
.tabs-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
    overflow-x: auto;
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.7);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
    background: #ffffff;
}

.tab-panel {
    display: none;
    padding: 40px;
}

.tab-panel.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 40px;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.tab-text ul {
    list-style: none;
    margin-top: 15px;
}

.tab-text ul li {
    padding: 6px 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-text ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

.tab-image {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border);
    text-align: center;
    max-width: 440px;
    width: 100%;
    margin-left: auto;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-image img {
    border-radius: var(--radius-sm);
    max-height: 280px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.tab-image:hover img {
    transform: scale(1.02);
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 100%;
    height: 145px;
    background: #e2e8f0;
    border-bottom: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.team-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.team-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.team-affiliation {
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card-img {
    height: 190px;
    background: #f1f5f9;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.03);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-meta .news-tag {
    background: var(--bg-subtle);
    color: var(--primary-light);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.news-content h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-read-more:hover {
    color: var(--accent-hover);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- Contact & Request Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    background: var(--primary);
    color: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fde68a;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.contact-detail-text a,
.contact-detail-text span {
    color: #ffffff;
    font-size: 1rem;
}

.contact-detail-text a:hover {
    color: #fde68a;
}

.contact-card-form {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.form-alert.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --- Footer --- */
footer.site-footer {
    background: var(--primary-dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 400px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: #fde68a;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

/* --- News Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-main);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-image-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .tab-image {
        margin: 0 auto;
        max-width: 440px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    .logo-wrapper {
        gap: 10px;
    }
    .emto-badge {
        padding-left: 10px;
    }
    .lmu-badge {
        padding-left: 10px;
    }
    .logo-main img {
        height: 38px;
    }
    .emto-badge img {
        height: 25px;
    }
    .lmu-badge img {
        height: 23px;
    }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
        flex-shrink: 0;
        padding: 0;
    }
    nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }
    nav.main-nav.open {
        display: block;
    }
    nav.main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    .header-inner {
        height: 56px;
    }
    .logo-wrapper {
        gap: 8px;
    }
    .emto-badge {
        padding-left: 8px;
    }
    .lmu-badge {
        padding-left: 8px;
    }
    .logo-main img {
        height: 32px;
    }
    .emto-badge img {
        height: 22px;
    }
    .lmu-badge img {
        height: 19px;
    }
    .nav-toggle {
        width: 34px;
        height: 34px;
        font-size: 1.25rem;
    }
    .top-bar {
        font-size: 0.78rem;
        padding: 6px 0;
    }
    .top-bar-contact span {
        margin-right: 10px;
        display: inline-block;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    .logo-wrapper {
        gap: 6px;
    }
    .emto-badge {
        padding-left: 6px;
    }
    .lmu-badge {
        padding-left: 6px;
    }
    .logo-main img {
        height: 28px;
    }
    .emto-badge img {
        height: 19px;
    }
    .lmu-badge img {
        height: 17px;
    }
    .nav-toggle {
        width: 30px;
        height: 30px;
        font-size: 1.15rem;
    }
}


/* --- Language Switcher --- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switcher a.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    font-size: 0.82rem;
}

.lang-switcher a.lang-btn:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.6);
}

.lang-switcher a.lang-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.lang-divider {
    color: #cbd5e1;
    font-size: 0.8rem;
}

/* In Top Bar */
.top-bar .lang-switcher {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.top-bar .lang-switcher a.lang-btn {
    color: #cbd5e1;
}

.top-bar .lang-switcher a.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.top-bar .lang-switcher a.lang-btn.active {
    background: var(--accent);
    color: #ffffff;
}

.top-bar .lang-divider {
    color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 1100px) and (min-width: 769px) {
    nav.main-nav ul {
        gap: 10px;
    }
    nav.main-nav a {
        font-size: 0.85rem;
    }
    nav.main-nav a.btn-nav {
        padding: 7px 12px;
        font-size: 0.82rem;
    }
    .logo-wrapper {
        gap: 8px;
    }
    .emto-badge {
        padding-left: 8px;
    }
    .lmu-badge {
        padding-left: 8px;
    }
    .logo-main img {
        height: 42px;
    }
    .emto-badge img {
        height: 28px;
    }
    .lmu-badge img {
        height: 25px;
    }
}
