/* jonasroth.de - shared styles */

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

body {
    background: #e2e8f0;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.cv {
    max-width: 1000px;
    width: 100%;
    background: white;
    padding: 24px 32px;
    border-radius: 8px;
    line-height: 1.5;
    color: #1e293b;
    font-size: 14px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Language sections: hide all by default, show active */
.lang-section {
    display: none;
}
.lang-section.active {
    display: block;
}

/* Language switcher */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 14px;
    z-index: 10;
}

.lang-switch button {
    display: inline-block;
    padding: 4px 12px;
    margin-left: 6px;
    text-decoration: none;
    color: #64748b;
    border-radius: 4px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-switch button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.lang-switch button.active {
    background: #3b82f6;
    color: white;
    font-weight: 600;
}

h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.tagline {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 12px;
}

.profile {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.profile p {
    font-size: 13px;
    line-height: 1.5;
}

.two-columns {
    overflow: hidden;
    margin-bottom: 12px;
}

.left-col {
    float: left;
    width: 30%;
    margin-right: 3%;
}

.right-col {
    float: left;
    width: 67%;
}

.section {
    margin-bottom: 16px;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #0f3b5c;
    border-bottom: 1px solid #3b82f6;
    margin-bottom: 8px;
    padding-bottom: 2px;
}

.info-item {
    margin-bottom: 5px;
    font-size: 13px;
}

.info-label {
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

.job {
    margin-bottom: 14px;
}

.job-header {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
}

.job-date {
    font-weight: normal;
    color: #475569;
    font-size: 12px;
}

.company {
    font-weight: 600;
    color: #2563eb;
    font-size: 12px;
    margin-bottom: 4px;
}

.job-desc p {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Links */
.email-link, .web-link {
    color: #2563eb;
    text-decoration: none;
}
.email-link:hover, .web-link:hover {
    text-decoration: underline;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive */
@media (max-width: 768px) {
    .left-col, .right-col {
        float: none;
        width: 100%;
        margin-right: 0;
    }
    .cv {
        padding: 16px 20px;
        font-size: 13px;
    }
    body {
        padding: 10px;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    .cv {
        box-shadow: none;
        padding: 0.2in;
        font-size: 11px;
    }
    .lang-switch {
        display: none;
    }
}
