/* Global CSS for wt-pempel.de */
/* Primary: Navy Blue (#1e3a5f) | Accent: Silver (#c0c0c0) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    background-color: #f8f9fa !important;
}

/* Navigation Menu Styles - CRITICAL */
.nav-menu li {
    margin-bottom: 0 !important;
    list-style: none !important;
}

.nav-menu li::before,
.nav-menu li::after {
    content: none !important;
    display: none !important;
}

.nav-menu ul,
.nav-menu ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul,
nav ol,
nav li {
    list-style: none !important;
    margin-bottom: 0 !important;
}

nav li::before,
nav li::after {
    content: none !important;
    display: none !important;
}

/* Footer List Styles - No markers */
footer ul,
footer ol,
footer li {
    list-style: none !important;
    margin-bottom: 0 !important;
}

footer li::before,
footer li::after {
    content: none !important;
    display: none !important;
}

/* Content List Styles - Dash markers */
main ul,
main ol,
article ul,
article ol,
section ul:not(.nav-menu),
section ol:not(.nav-menu) {
    list-style: none !important;
    padding-left: 1.5rem !important;
    margin: 1rem 0 !important;
}

main li,
article li,
section li:not(.nav-menu li) {
    position: relative !important;
    padding-left: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 18px !important;
}

main li::before,
article li::before,
section li:not(.nav-menu li)::before {
    content: "–" !important;
    position: absolute !important;
    left: 0 !important;
    color: #c0c0c0 !important;
    font-weight: bold !important;
}

main li::marker,
article li::marker,
section li:not(.nav-menu li)::marker {
    content: none !important;
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 700 !important;
    color: #1e3a5f !important;
    line-height: 1.3 !important;
}

h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 1.875rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
}

h3 {
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

p {
    font-size: 18px !important;
    margin-bottom: 1rem !important;
    color: #333333 !important;
}

strong {
    font-weight: 600 !important;
    color: #1e3a5f !important;
}

/* Links */
a {
    color: #1e3a5f !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: #c0c0c0 !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

table {
    width: 100% !important;
    min-width: 600px !important;
    border-collapse: collapse !important;
    background: white !important;
}

thead {
    background: #1e3a5f !important;
}

thead th {
    color: white !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-align: left !important;
    font-size: 16px !important;
}

tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: 16px !important;
    color: #333333 !important;
}

tbody tr:hover {
    background: #f8f9fa !important;
}

/* Cards */
.card {
    background: white !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 1.5rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Buttons */
.btn-primary {
    display: inline-block !important;
    background: #1e3a5f !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-primary:hover {
    background: #2d4a6f !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.btn-secondary {
    display: inline-block !important;
    background: #c0c0c0 !important;
    color: #1e3a5f !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-secondary:hover {
    background: #a8a8a8 !important;
    transform: translateY(-2px) !important;
}

/* Images */
img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
}

.logo-img {
    box-shadow: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%) !important;
    color: white !important;
    padding: 5rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero h1 {
    color: white !important;
    font-size: 2.75rem !important;
    margin-bottom: 1.5rem !important;
}

.hero p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
}

/* Section Styles */
.section {
    padding: 4rem 0 !important;
}

.section-alt {
    background: white !important;
}

.section-primary {
    background: #f8f9fa !important;
}

/* Container */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

/* Header */
header {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Footer */
footer {
    background: #1e3a5f !important;
    color: white !important;
    padding: 3rem 0 2rem !important;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a {
    color: #c0c0c0 !important;
}

footer a:hover {
    color: white !important;
}

footer h3,
footer h4 {
    color: white !important;
}

/* Material Icons */
.material-icons {
    font-size: 24px !important;
    vertical-align: middle !important;
    color: #1e3a5f !important;
}

.material-icons.accent {
    color: #c0c0c0 !important;
}

/* Animations */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-wave {
    animation: wave 3s ease-in-out infinite !important;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite !important;
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards !important;
}

/* Wave decoration */
.wave-decoration {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,128C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom !important;
    background-size: cover !important;
}

/* Square decorations */
.square-decoration {
    position: absolute !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(192, 192, 192, 0.15) !important;
    border-radius: 8px !important;
    animation: wave 4s ease-in-out infinite !important;
}

/* Round decorations */
.round-decoration {
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(192, 192, 192, 0.1) !important;
    border-radius: 50% !important;
    animation: pulse 3s ease-in-out infinite !important;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #1e3a5f !important;
    cursor: pointer !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .hero h1 {
        font-size: 2.25rem !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.375rem !important;
    }

    .hero {
        padding: 3rem 0 !important;
    }

    .hero h1 {
        font-size: 1.875rem !important;
    }

    .section {
        padding: 2.5rem 0 !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .nav-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        padding: 1rem !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        flex-direction: column !important;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        margin: 0.5rem 0 !important;
    }

    .nav-buttons {
        display: none !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }

    .nav-buttons.active {
        display: flex !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-image {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
    }

    .hero h1 {
        font-size: 1.5rem !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem !important;
        font-size: 14px !important;
    }

    .container {
        padding: 0 1rem !important;
    }
}
