/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --accent: #e8a838;
    --accent-light: #f0c060;
    --accent-dark: #c88820;
    --bg: #ffffff;
    --bg-light: #f7f8fa;
    --bg-dark: #0d1b2a;
    --text: #1a1a2e;
    --text-light: #555770;
    --text-muted: #8a8ca5;
    --border: #e2e4ea;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    background: linear-gradient(135deg, rgba(232,168,56,0.12), rgba(232,168,56,0.06));
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,58,92,0.25);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
}
.btn-white:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,168,56,0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
}
.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,168,56,0.3);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(26,58,92,0.06);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f4f8 0%, #e8edf5 30%, #dce5f0 60%, #f7f8fa 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,58,92,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(26,58,92,0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== SERVICES GRID ===== */
.services-overview {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26,58,92,0.08), rgba(26,58,92,0.03));
    border-radius: 16px;
    color: var(--primary);
    margin-bottom: 24px;
}

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

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.service-link:hover {
    color: var(--primary);
}

/* ===== ABOUT PREVIEW ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.7);
}

.placeholder-icon { color: rgba(255,255,255,0.4); }

.about-content .section-tag { margin-bottom: 16px; }

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-features {
    margin: 24px 0 32px;
}

.about-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text);
}

.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== CTA ===== */
.cta-section {
    background: var(--bg-light);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-info > p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact-details {
    margin-top: 24px;
    font-size: 0.85rem;
    line-height: 2;
}

.footer-contact-details a {
    color: var(--accent-light);
}
.footer-contact-details a:hover {
    color: var(--accent);
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-links ul li:not(:has(a)) {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(160deg, #f0f4f8, #e8edf5, #f7f8fa);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-section .about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.about-detail-grid h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.about-detail-grid p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.value-card .value-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== SERVICES PAGE ===== */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-detail-card {
    padding: 48px 36px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.service-detail-card .service-icon {
    margin-bottom: 24px;
}

.service-detail-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-detail-card ul {
    margin-top: 12px;
}

.service-detail-card ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.service-detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26,58,92,0.08), rgba(26,58,92,0.03));
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--accent-dark);
}
.contact-item a:hover {
    color: var(--primary);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

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

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 40px 0 16px;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 28px 0 12px;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 12px 0 20px 24px;
    list-style: disc;
}

.legal-content ul li {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--accent-dark);
}

.legal-content .last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 32px;
}

/* ===== IMPRINT ===== */
.imprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.imprint-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.imprint-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 16px;
}

.imprint-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.open { right: 0; }

    .nav-menu a {
        padding: 12px 20px;
        width: 100%;
    }

    .hero { padding: 140px 0 80px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .values-grid { grid-template-columns: 1fr; }
    .about-section .about-detail-grid { grid-template-columns: 1fr; }
    .imprint-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .page-hero h1 { font-size: 2rem; }
    .section { padding: 64px 0; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }

    .section-header h2 { font-size: 1.8rem; }
    .about-content h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .stat-number { font-size: 1.3rem; }
    .container { padding: 0 16px; }
}
