/* Inter Font – lokal, kein CDN */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variablen */
:root {
    --rk-navy:   #1a2e4a;
    --rk-teal:   #00a8b5;
    --rk-teal-d: #007f8a;
    --rk-light:  #f4f7fb;
    --rk-muted:  #6b7a99;
}

/* Basis */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    color: #1f2937;
    background: #fff;
}

/* Navbar */
.navbar {
    background: var(--rk-navy) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: #fff !important;
}
.navbar-brand span {
    color: var(--rk-teal);
}
.navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    transition: color .2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--rk-teal) !important;
}
.navbar-toggler {
    border-color: rgba(255,255,255,.4);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.85%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--rk-navy) 0%, #2a4a70 100%);
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
}
.hero-title span {
    color: var(--rk-teal);
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255,255,255,.8);
    margin-top: .5rem;
}
.hero-tag {
    display: inline-block;
    background: rgba(0,168,181,.2);
    border: 1px solid rgba(0,168,181,.4);
    color: var(--rk-teal);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 2rem;
    margin-bottom: 1.2rem;
}
.hero-employer {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    margin-top: .4rem;
}
.hero-employer strong {
    color: rgba(255,255,255,.9);
}

/* Buttons */
.btn-teal {
    background: var(--rk-teal);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: .375rem;
    transition: background .2s, transform .15s;
}
.btn-teal:hover {
    background: var(--rk-teal-d);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-light-rk {
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    font-weight: 600;
    padding: .6rem 1.5rem;
    border-radius: .375rem;
    background: transparent;
    transition: all .2s;
}
.btn-outline-light-rk:hover {
    border-color: var(--rk-teal);
    color: var(--rk-teal);
    background: rgba(0,168,181,.08);
}

/* Expertise-Kacheln */
.expertise-card {
    background: var(--rk-light);
    border-radius: .75rem;
    padding: 1.75rem 1.5rem;
    height: 100%;
    border-top: 3px solid var(--rk-teal);
    transition: box-shadow .2s, transform .2s;
}
.expertise-card:hover {
    box-shadow: 0 8px 24px rgba(0,168,181,.15);
    transform: translateY(-3px);
}
.expertise-card .bi {
    font-size: 2rem;
    color: var(--rk-teal);
}
.expertise-card h5 {
    font-weight: 700;
    color: var(--rk-navy);
    margin-top: .75rem;
}

/* Motto-Box */
.motto-box {
    border-left: 4px solid var(--rk-teal);
    padding: 1rem 1.5rem;
    background: var(--rk-light);
    border-radius: 0 .5rem .5rem 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--rk-navy);
}

/* Sektion-Überschriften */
.section-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rk-teal);
    margin-bottom: .4rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--rk-navy);
    letter-spacing: -.03em;
}

/* Timeline / Werdegang */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: .35rem;
    width: 12px;
    height: 12px;
    background: var(--rk-teal);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0,168,181,.2);
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.2rem;
    bottom: -1.5rem;
    width: 2px;
    background: rgba(0,168,181,.25);
}
.timeline-item:last-child::after { display: none; }
.timeline-period {
    font-size: .82rem;
    font-weight: 600;
    color: var(--rk-teal);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.timeline-role {
    font-weight: 700;
    color: var(--rk-navy);
    font-size: 1.1rem;
}
.timeline-company {
    color: var(--rk-muted);
    font-weight: 500;
}

/* Skill-Badges */
.skill-badge {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #d1dae8;
    color: var(--rk-navy);
    font-size: .82rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 2rem;
    margin: .25rem;
    transition: border-color .2s, background .2s;
}
.skill-badge:hover {
    border-color: var(--rk-teal);
    background: rgba(0,168,181,.07);
}

/* Kontaktformular */
.form-label { font-weight: 600; color: var(--rk-navy); }
.form-control:focus, .form-select:focus {
    border-color: var(--rk-teal);
    box-shadow: 0 0 0 .2rem rgba(0,168,181,.2);
}
.form-hint {
    font-size: .8rem;
    color: var(--rk-muted);
}
.privacy-note {
    font-size: .82rem;
    color: var(--rk-muted);
    border-top: 1px solid #e5eaf0;
    padding-top: .75rem;
}
.alert-success-rk {
    background: #e6f9f7;
    border: 1px solid #b2ece7;
    color: #0f5c56;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
}
.alert-error-rk {
    background: #fff0f0;
    border: 1px solid #ffc5c5;
    color: #7b1010;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
}

/* Impressum / Datenschutz */
.legal-content h2 {
    color: var(--rk-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--rk-light);
}
.legal-content h3 {
    color: var(--rk-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
}

/* Footer */
footer {
    background: var(--rk-navy);
    color: rgba(255,255,255,.65);
    padding: 2rem 0;
    font-size: .9rem;
}
footer a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: color .2s;
}
footer a:hover { color: var(--rk-teal); }
footer .footer-divider { margin: 0 .6rem; opacity: .4; }

/* Profilfoto */
.profil-foto-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: .5rem;
}
.profil-foto {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.25);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.profil-foto-sidebar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rk-teal);
    box-shadow: 0 4px 16px rgba(0,168,181,.2);
    display: block;
    margin: 0 auto 1.25rem;
}

/* Publikationskacheln */
.pub-card {
    background: #fff;
    border: 1.5px solid #d1dae8;
    border-radius: .75rem;
    padding: 1.25rem 1.25rem 1rem;
    height: 100%;
    transition: box-shadow .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.pub-card:hover {
    box-shadow: 0 6px 20px rgba(0,168,181,.15);
    border-color: var(--rk-teal);
    color: inherit;
}
.pub-card .pub-type {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rk-teal);
    margin-bottom: .4rem;
}
.pub-card .pub-title {
    font-weight: 700;
    color: var(--rk-navy);
    font-size: .95rem;
    line-height: 1.35;
    margin-bottom: .5rem;
}
.pub-card .pub-meta {
    font-size: .8rem;
    color: var(--rk-muted);
}
.pub-card .pub-icon {
    font-size: 1.4rem;
    color: var(--rk-teal);
    margin-bottom: .6rem;
}

/* Utilities */
.bg-light-rk { background: var(--rk-light) !important; }
.text-navy { color: var(--rk-navy) !important; }
.text-teal { color: var(--rk-teal) !important; }

@media (max-width: 576px) {
    .hero { padding: 4rem 0 3.5rem; }
    .hero::after { height: 40px; }
}
