@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&family=Cormorant+Garamond:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #111;
    min-height: 100vh;
}

header {
    background: #0e0e0e;
    border-bottom: 1px solid #222;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 400;
    color: #f0ede8;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    user-select: none;
}

.logo-bracket {
    color: #f0ede8;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    opacity: 0.9;
}

.logo-bracket.left { margin-right: 6px; }
.logo-bracket.right { margin-left: 6px; }

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.logo-dot { color: #888; }
.logo-slash { color: #c8c0b8; }
.logo-dollar { color: #f0ede8; }
.logo-name { color: #f0ede8; }
.logo-tilde { color: #f0ede8; }

.cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #f0ede8;
    margin-left: 2px;
    animation: blink 1.1s step-end infinite;
    vertical-align: middle;
}

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

nav {
    display: flex;
    align-items: center;
    gap: 52px;
}

nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: #a09890;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 2px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f0ede8;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
    color: #f0ede8;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #f0ede8;
}

nav a.active::after {
    width: 100%;
    background: #c8b89a;
}


.hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 96px 10px;
}

.top-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    margin-top: -20px;
}

.avatar-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #c8c8c8;
    margin-left: 60px;
}

.terminal {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
}

.terminal-bar {
    background: #1c1c1c;
    border-bottom: 1px solid #2a2a2a;
    padding: 7px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 20px;
}

.terminal-bar::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #333;
    box-shadow: 14px 0 0 #333, 28px 0 0 #333;
    flex-shrink: 0;
    margin-right: 20px;
}

.terminal-name .terminal-body {
    padding: 28px 24px 24px;
}

.ascii-art {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    line-height: 1.2;
    color: #ffffff;
    white-space: pre;
    letter-spacing: 0;
    display: block;
}

.ascii-gap { margin-top: 14px; }

.bottom-row {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 40px;
    align-items: start;
}

.bio-section {
    padding-top: 4px;
}

.bio-title {
    font-family: 'Kameron', serif;
    font-size: 32px;
    font-weight: 500;
    color: #f0ede8;
    line-height: 1.2;
    margin-bottom: 10px;
}

.bio-sub {
    font-family: 'Kameron', serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

.config-wrap {
    display: flex;
    justify-content: flex-end;
}

.terminal-config {
    width: 340px;
}

.terminal-config .terminal-body {
    padding: 16px 20px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 2;
    color: #bbb;
}

.cfg-brace   { color: #444; }
.cfg-key     { color: #e8e8e8; }
.cfg-colon   { color: #555; }
.cfg-val     { color: #999; }
.cfg-comma   { color: #444; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }


h1 {
    font-family: 'Kameron', serif;
    font-size: 48px;
    font-weight: 500;
    color: #f0ede8;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 40px;
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────
   SKILLS SECTION
   ───────────────────────────────────────────────────────────────── */

.section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 10px 100px;
}

/* Header */
.section_header {
    text-align: center;
    margin-bottom: 52px;
}

.section_title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 48px;
    letter-spacing: 0.14em;
    color: #f0ede8;
    margin-bottom: 22px;
}

.section_divider {
    height: 1px;
    background: #2a2a2a;
}

/* Category heading  */
.cat-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.06em;
    color: #d8d8d8;
    display: inline-block;
    border-bottom: 1px solid #c8b89a;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Programmiersprachen block */
.skills__lang {
    margin-bottom: 48px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/*
  Bottom layout uses the same 3-col grid:
    col 1     → Tools
    col 2–3   → Betriebsysteme
*/
.skills__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

.col-tools { grid-column: 1; }
.col-os    { grid-column: 2 / 4; }

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

/* Skill card */
.skill-card {
    height: 90px;
    background: #161616;        /* same as .terminal */
    border: 1px solid #2a2a2a;  /* same as .terminal */
    border-radius: 6px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.skill-card:hover {
    border-color: #3c3c3c;
}

.skill-card__icon {
    width: 80px;
    min-width: 80px;
    background: #1c1c1c;        /* same as .terminal-bar */
    border-right: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-card__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.85;
}

/* Info wrapper — takes over the layout duties from the old __label */
.skill-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    gap: 5px;
}

/* Label — typography only, no layout */
.skill-card__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.07em;
    color: #666;
}

/* Stars row */
.skill-card__stars {
    font-size: 12px;
    letter-spacing: 0.12em;
    line-height: 1;
}

/* Filled stars — gold accent */
.star-on  { color: #c8b89a; }

/* Empty stars — near-invisible, just structural */
.star-off { color: #373635; }

/* Skills terminal body  */
.terminal__body {
    padding: 18px 20px 22px;
    line-height: 1.75;
}

.terminal__section-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: #d8d8d8;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.terminal__link {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #666;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #333;
    margin-bottom: 14px;
    cursor: pointer;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.terminal__link:hover {
    color: #d8d8d8;
    text-decoration-color: #666;
}

.terminal__text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #484848;
    line-height: 1.85;
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 680px) {
    .section {
        padding: 60px 20px 80px;
    }
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .skills__bottom {
        grid-template-columns: 1fr;
    }
    .col-tools,
    .col-os {
        grid-column: 1;
    }
    .col-os {
        margin-top: 32px;
    }
}

/* ─────────────────────────────────────────────────────────────────
   KONTAKT SECTION
   ───────────────────────────────────────────────────────────────── */

/* Center the form at a comfortable reading width */
.contact-wrap {
    max-width: 720px;
    margin: 0 auto;
}

/* Terminal body padding override for contact window */
.contact-terminal .terminal-body {
    padding: 32px 36px 44px;
}

/* Prompt + comment lines */
.contact-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #c8b89a;
    margin-bottom: 8px;
}

.contact-comment {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3a3a3a;
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}

/* ── Form rows ── */

.cf-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #222;
    transition: border-color 0.25s ease;
}

.cf-row + .cf-row {
    margin-top: 20px;
}

.cf-row:focus-within {
    border-color: #c8b89a;
}

.cf-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3e3e3e;
    padding: 12px 18px 12px 0;
    min-width: 80px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
    line-height: 1.5;
    user-select: none;
}

.cf-row:focus-within .cf-label {
    color: #c8b89a;
}

.cf-input,
.cf-textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #d8d8d8;
    caret-color: #c8b89a;
    padding: 12px 0;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
    color: #5d5d5d;
}

.cf-textarea {
    resize: none;
    min-height: 100px;
    padding-top: 13px;
    line-height: 1.7;
}

/* ── Actions row ── */

.cf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid #2a2a2a;
    padding: 12px 24px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.cf-submit:hover:not(:disabled) {
    border-color: #c8b89a;
    color: #c8b89a;
}

.cf-submit:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cf-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.cf-submit:hover:not(:disabled) .cf-arrow {
    transform: translateX(5px);
}

.cf-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #333;
    letter-spacing: 0.06em;
}

/* ── Error ── */

.cf-error {
    display: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #ff5f57;
    margin-top: 14px;
    letter-spacing: 0.03em;
}

/* ── Success state ── */

.cf-success {
    display: none;
}

.cfs-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 2;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cfs-line.cfs-accent { color: #c8b89a; }
.cfs-line.cfs-mid    { color: #555; }
.cfs-line.cfs-dim    { color: #333; }

/* Re-uses the existing @keyframes blink from the header */
.cfs-cursor {
    display: inline-block;
    width: 7px;
    height: 12px;
    background: #c8b89a;
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1.1s step-end infinite;
}

/* ── Footer links below terminal ── */

.contact-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #1e1e1e;
}

.cf-email-direct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    letter-spacing: 0.04em;
}

.cf-email-direct a {
    color: #888;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #333;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cf-email-direct a:hover {
    color: #c8b89a;
    text-decoration-color: #c8b89a;
}

.cf-socials {
    display: flex;
    gap: 24px;
}

.cf-socials a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.cf-socials a:hover { color: #888; }

/*Footer*/
.page-footer {
    border-top: 1px solid #1a1a1a;
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pf-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #333;
    letter-spacing: 0.05em;
}

.pf-copy {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #2a2a2a;
    letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────────────
   PROJEKTE SECTION
   ───────────────────────────────────────────────────────────────── */

.projekte {
    padding: 72px 0 100px;
}

/* Cards stack vertically, each spanning full width */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Vertical split inside each card: image on top, content below */
.project-card__inner {
    display: flex;
    flex-direction: column;
    min-height: 230px;
}

/* ── Top: image / thumbnail ── */
.project-card__thumb {
    width: 100%;
    min-width: unset;
    height: 200px;
    background: #0e0e0e;
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid atmosphere on the placeholder */
.project-card__thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #1c1c1c 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Drop an <img> inside .project-card__thumb to replace the placeholder */
.project-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.project-thumb__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #252525;
    letter-spacing: 0.1em;
    position: relative; /* sits above the ::before dot grid */
    z-index: 1;
}

/* ── Right: title, description, tags, links ── */
.project-card__content {
    flex: 1;
    padding: 30px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.project-card__title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 400;
    color: #d8d8d8;
    letter-spacing: 0.07em;
}

.project-card__desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #5d5d5d;
    line-height: 1.85;
    letter-spacing: 0.02em;
    flex: 1;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #c8b89a;
    letter-spacing: 0.1em;
    border: 1px solid #2a2a2a;
    padding: 3px 8px;
    border-radius: 2px;
}

.project-card__links {
    display: flex;
    gap: 20px;
}

.project-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3a3a3a;
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: #888;
}

.project-link--live:hover {
    color: #c8b89a;
}

@media (max-width: 680px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card__inner {
        flex-direction: column;
    }
    .project-card__thumb {
        width: 100%;
        min-width: unset;
        height: 180px;
    }
}

/* ─────────────────────────────────────────────────────────────────
   ÜBER MICH — SCHULBILDUNG & BERUFSERFAHRUNG TIMELINES
   ───────────────────────────────────────────────────────────────── */

.about_me {
    padding: 72px 0 100px;
}

/* Two columns, open layout — no boxes */
.edu-exp-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

/* Column heading — mirrors .section_title in scale, smaller */
.tl-col-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.14em;
    color: #f0ede8;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}
.tl-col-title-left {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    text-align: right;
    letter-spacing: 0.14em;
    color: #f0ede8;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

/* Timeline container — holds the vertical rule */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(
            to bottom,
            transparent,
            #242424 8%,
            #242424 92%,
            transparent
    );
}

/* ── Left mirrored timeline ── */

.timeline-left::before {
    left: auto;
    right: 0;
}

.timeline-left .timeline-item {
    padding-left: 0;
    padding-right: 28px;
    text-align: right;
}

.timeline-left .timeline-item::before {
    left: auto;
    right: -4px;
}

/* Each entry */
.timeline-item {
    position: relative;
    padding-left: 28px;
    padding-bottom: 36px;
}

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

/* Dot on the line */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #111;
    border: 1px solid #333;
    z-index: 1;
    transition: border-color 0.2s ease;
}

/* Gold dot for current entry */
.timeline-item.tl-current::before {
    background: #c8b89a;
    border-color: #c8b89a;
    box-shadow: 0 0 12px rgba(200, 184, 154, 0.18);
}

/* Date — tiny monospace, keeps the technical flavour */
.tl-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #5d5d5d;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

/* Institution / Company — elegant serif, large */
.tl-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 22px;
    color: #f0ede8;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

/* Role / Degree — serif italic, gold */
.tl-sub {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 17px;
    color: #c8b89a;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* Description */
.tl-desc {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

/* Hover refinements */
.timeline-item:hover .tl-title { color: #f8f5f0; }
.timeline-item:hover .tl-desc  { color: #888; }
.timeline-item:hover::before   { border-color: #555; }
.timeline-item.tl-current:hover::before { border-color: #c8b89a; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .edu-exp-wrap {
        grid-template-columns: 1fr;
        gap: 52px;
    }
}

@media (max-width: 680px) {
    .about_me {
        padding: 60px 0 80px;
    }
    .edu-exp-wrap {
        margin-bottom: 52px;
        gap: 40px;
    }
}
/* ─────────────────────────────────────────────────────────────────
   SPRACHEN — ACHIEVEMENT CARDS
   ───────────────────────────────────────────────────────────────── */

.languages-wrap {
    margin-bottom: 80px;
}

/* Section sub-title — same weight as timeline column headings */
.languages-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.14em;
    color: #f0ede8;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

/* Vertical stack of cards */
.lang-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── The card — horizontal achievement toast shape ── */
.lang-card {
    background: #0e0e0e;
    border: 1px solid #1c1c1c;
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: default;
}

/*
  The gold gradient strip at the very top —
  this is what makes it read as an "achievement unlocked" toast.
  Fades from gold on the left to transparent, echoing
  the Xbox notification's colored top bar.
*/
.lang-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
            to right,
            #c8b89a 0%,
            rgba(200, 184, 154, 0.25) 55%,
            transparent 100%
    );
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.lang-card:hover {
    border-color: #272727;
    background: #111;
}

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

/* ── Top row: "achievement" label + level badge ── */
.lang-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* The "Achievement Unlocked" equivalent — kept intentionally faint */
.lang-card__achievement {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #c8b89a;
    letter-spacing: 0.16em;
    opacity: 0.4;
    transition: opacity 0.25s ease;
}

.lang-card:hover .lang-card__achievement {
    opacity: 0.7;
}

/*
  Level badge — top-right, like the Xbox gamerscore "G" value.
  Quiet by default, gold-tinted.
*/
.lang-level-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    color: #c8b89a;
    letter-spacing: 0.12em;
    background: rgba(200, 184, 154, 0.05);
    border: 1px solid rgba(200, 184, 154, 0.16);
    padding: 3px 11px;
    border-radius: 2px;
    min-width: 40px;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.lang-card:hover .lang-level-badge {
    background: rgba(200, 184, 154, 0.08);
    border-color: rgba(200, 184, 154, 0.28);
}

/* ── Body row: flag icon · info · download button ── */
.lang-card__body {
    display: flex;
    align-items: center;
    gap: 20px;
}

/*
  Square flag icon — deliberately reminiscent of the square
  achievement icon tiles in the Xbox dashboard.
*/
.lang-card__flag {
    font-size: 20px;
    line-height: 1;
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161616;
    border: 1px solid #222;
    border-radius: 3px;
    flex-shrink: 0;
    transition: border-color 0.25s ease;
}

.lang-card:hover .lang-card__flag {
    border-color: #2a2a2a;
}

/* Name + subtitle stack */
.lang-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Language name — serif, same voice as timeline institution titles */
.lang-card__name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 23px;
    color: #f0ede8;
    letter-spacing: 0.04em;
    line-height: 1.1;
    transition: color 0.25s ease;
}

.lang-card:hover .lang-card__name {
    color: #f8f5f0;
}

/* Subtitle (Muttersprache / Schulsprache) */
.lang-card__desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #333;
    letter-spacing: 0.07em;
    transition: color 0.25s ease;
}

.lang-card:hover .lang-card__desc {
    color: #5d5d5d;
}

/* Download certificate button */
.lang-cert-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #3d3d3d;
    text-decoration: none;
    letter-spacing: 0.1em;
    border: 1px solid #3d3d3d;
    padding: 9px 18px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lang-cert-btn:hover {
    color: #c8b89a;
    border-color: rgba(200, 184, 154, 0.28);
    background: rgba(200, 184, 154, 0.04);
}

/* ── Responsive ── */
@media (max-width: 680px) {
    .languages-wrap {
        margin-bottom: 52px;
    }
    .lang-card {
        padding: 14px 18px 18px;
    }
    .lang-card__body {
        flex-wrap: wrap;
        gap: 16px;
    }
    .lang-cert-btn {
        width: 100%;
        text-align: center;
        margin-top: 2px;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

.about-contact-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-card {
    padding-bottom: 28px;
    border-bottom: 1px solid #2a2a2a;
}

.about-side-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #f0ede8;
    margin-bottom: 18px;
}

.about-side-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #8b857e;
}

.hobby-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hobby-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #888;
}

.hobby-list li::before {
    content: "— ";
    color: #c8b89a;
}

.contact-wrap {
    max-width: none;
    margin: 0;
}


/* ─────────────────────────────
   DOCUMENTS PAGE
──────────────────────────── */
/* Section headers within the docs grid */
.section-header-docs {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.section-header-docs h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.12em;
    color: #f0ede8;
    margin: 0;
    white-space: nowrap;
}

.section-header-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(
            to right,
            #2a2a2a,
            #2a2a2a 60%,
            transparent
    );
}

.docs {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.docs-header {
    text-align: center;
    margin-bottom: 60px;
}

.docs-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 400;
    color: #f0ede8;
    margin-bottom: 10px;
}

.docs-header p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #505050;
    letter-spacing: 0.08em;
}

.docs-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.doc-card:hover {
    border-color: #c8b89a;
    transform: translateY(-2px);
}

.doc-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #f0ede8;
    margin-bottom: 4px;
}

.doc-info p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #555;
}

.doc-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #c8b89a;
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 10px 16px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
}

.doc-btn:hover {
    border-color: #c8b89a;
    background: rgba(200, 184, 154, 0.05);
}

@media (max-width: 600px) {
    .doc-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}