/* leonfischer.de — 2026 */

@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/archivo-v25-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/archivo-v25-latin-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/archivo-v25-latin-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/archivo-v25-latin-700.woff2') format('woff2');
}

/* tokens */
:root {
    --sand: #eef1f0;
    --sand-deep: #e0e5e3;
    --cream: #fbfcfc;
    --panel: #fbfcfc;

    --clay: #2d6a5f;
    --clay-deep: #1f4f46;
    --sage: #3f6ea8;
    --sage-deep: #2f5583;
    --ochre: #7b5ea7;

    --bark: #222b29;
    --bark-soft: #5c6b67;
    --bark-mute: #93a09d;

    --hair: rgba(34, 43, 41, 0.08);
    --hair-strong: rgba(34, 43, 41, 0.15);

    --deep: #1c2422;
    --deep-lift: #2f403c;
    --on-deep: #eef1f0;

    --shadow-soft: 0 10px 34px rgba(22, 38, 35, 0.12);
    --shadow-lift: 0 26px 60px rgba(22, 38, 35, 0.14);

    --r-xl: 40px;
    --r-lg: 32px;
    --r-md: 26px;
    --r-sm: 18px;

    --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
    --sans: 'Archivo', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

    --ease: 180ms ease;
}

body.dark-mode {
    --sand: #131917;
    --sand-deep: #1c2422;
    --cream: #1a2220;
    --panel: #1a2220;

    --clay: #5aa393;
    --clay-deep: #3d8375;
    --sage: #6f9ed6;
    --sage-deep: #96bce8;
    --ochre: #a98cd4;

    --bark: #e9efed;
    --bark-soft: #a7b5b1;
    --bark-mute: #73827e;

    --hair: rgba(233, 239, 237, 0.09);
    --hair-strong: rgba(233, 239, 237, 0.17);

    --deep: #0e1413;
    --deep-lift: #223029;
    --on-deep: #e9efed;

    --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 26px 60px rgba(0, 0, 0, 0.5);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--sand);
    color: var(--bark);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 300ms ease, color 300ms ease;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--clay);
    color: #fff;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 10000;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--clay);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: top 180ms ease;
}

.skip-link:focus {
    top: 12px;
}

/* organische hintergrundformen */
.blob {
    position: fixed;
    border-radius: 50% 40% 55% 45% / 45% 50% 40% 55%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

body.dark-mode .blob {
    opacity: 0.32;
}

.blob-1 {
    width: 560px;
    height: 520px;
    background: color-mix(in srgb, var(--clay) 28%, transparent);
    top: -180px;
    right: -160px;
    animation: drift 26s ease-in-out infinite;
}

.blob-2 {
    width: 460px;
    height: 440px;
    background: color-mix(in srgb, var(--sage) 30%, transparent);
    bottom: -140px;
    left: -140px;
    animation: drift 32s ease-in-out infinite reverse;
}

.blob-3 {
    width: 340px;
    height: 320px;
    background: color-mix(in srgb, var(--ochre) 24%, transparent);
    top: 46%;
    left: 52%;
    animation: drift 40s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(38px, -46px) rotate(18deg) scale(1.07); }
    66% { transform: translate(-34px, 32px) rotate(-14deg) scale(0.95); }
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

/* pill-navigation */
.topnav {
    position: sticky;
    top: 18px;
    z-index: 40;
    display: flex;
    justify-content: center;
    margin-top: 22px;
    pointer-events: none;
}

.topnav-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    background: color-mix(in srgb, var(--cream) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--hair);
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--shadow-soft);
}

.topnav a {
    text-decoration: none;
    color: var(--bark-soft);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 17px;
    border-radius: 999px;
    transition: all var(--ease);
    white-space: nowrap;
}

.topnav a:hover {
    color: var(--bark);
    background: var(--sand-deep);
}

.topnav a.active {
    background: var(--clay);
    color: #fff;
}

.topnav a.active:hover {
    background: var(--clay-deep);
    color: #fff;
}

.nav-theme {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--bark-soft);
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    transition: all var(--ease);
}

.nav-theme:hover {
    background: var(--sand-deep);
    color: var(--bark);
}

.nav-theme svg {
    display: block;
}

/* hero */
.hero {
    padding: 100px 0 80px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: color-mix(in srgb, var(--sage) 18%, transparent);
    color: var(--sage-deep);
    border-radius: 999px;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
}

.badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    font-style: normal;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(44px, 6.4vw, 82px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -0.025em;
    margin-bottom: 26px;
}

.hero h1 em {
    font-style: italic;
    color: var(--clay);
}

.hero .lead {
    font-size: 18.5px;
    color: var(--bark-soft);
    max-width: 50ch;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 0;
    transition: all 170ms ease;
}

.btn-solid {
    background: var(--bark);
    color: var(--sand);
}

.btn-solid:hover {
    background: var(--clay);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1.5px solid var(--hair-strong);
    color: var(--bark);
}

.btn-ghost:hover {
    border-color: var(--clay);
    color: var(--clay);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    aspect-ratio: 1;
}

.portrait {
    position: absolute;
    inset: 0;
    border-radius: 58% 42% 48% 52% / 50% 55% 45% 50%;
    background: linear-gradient(150deg, var(--clay) 0%, var(--ochre) 55%, var(--sage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 16s ease-in-out infinite;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--clay-deep) 24%, transparent);
    overflow: hidden;
    isolation: isolate;
}

@keyframes morph {
    0%, 100% { border-radius: 58% 42% 48% 52% / 50% 55% 45% 50%; }
    33% { border-radius: 42% 58% 62% 38% / 58% 42% 58% 42%; }
    66% { border-radius: 50% 50% 38% 62% / 42% 62% 38% 58%; }
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    display: block;
}

/* orbit: wrapper dreht die bahn, chip dreht gegen -> text bleibt waagerecht */
.orbit {
    --radius: 15.5rem;
    --spin: 72s;
    --start: 0s;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    display: grid;
    place-items: center;
    animation: orbit-spin var(--spin) linear infinite;
    animation-delay: var(--start);
}

.orbit .float-chip {
    position: absolute;
    translate: var(--radius) 0;
    background: var(--cream);
    color: var(--bark);
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    animation: orbit-spin var(--spin) linear infinite reverse;
    animation-delay: var(--start);
}

.orbit.o1 { --start: 0s; }
.orbit.o2 { --start: -12s; }
.orbit.o3 { --start: -24s; }
.orbit.o4 { --start: -36s; }
.orbit.o5 { --start: -48s; }
.orbit.o6 { --start: -60s; }

.orbit.o1 .float-chip { color: var(--clay); }
.orbit.o2 .float-chip { color: var(--sage-deep); }
.orbit.o3 .float-chip { color: var(--ochre); }
.orbit.o4 .float-chip { color: var(--sage); }
.orbit.o5 .float-chip { color: var(--clay-deep); }
.orbit.o6 .float-chip { color: var(--ochre); }

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

/* sektionen */
section.band {
    padding: 78px 0;
    scroll-margin-top: 104px;
}

.sec-title {
    margin-bottom: 46px;
    max-width: 62ch;
}

.sec-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 14px;
}

.sec-title h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.sec-title p {
    color: var(--bark-soft);
    font-size: 17px;
}

/* arbeit */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.offer {
    background: var(--panel);
    border-radius: var(--r-lg);
    padding: 34px 32px;
    border: 1px solid var(--hair);
    transition: transform 220ms ease, box-shadow 220ms ease;
    position: relative;
    overflow: hidden;
}

.offer:nth-child(even) {
    transform: translateY(30px);
}

.offer:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.offer:nth-child(even):hover {
    transform: translateY(24px);
}

.offer::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    opacity: 0.14;
}

.offer.o1::before { background: var(--clay); }
.offer.o2::before { background: var(--sage); }
.offer.o3::before { background: var(--ochre); }
.offer.o4::before { background: var(--bark-soft); }

.offer-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px 20px 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.offer-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.7;
}

.offer.o1 .offer-icon { background: color-mix(in srgb, var(--clay) 16%, transparent); color: var(--clay); }
.offer.o2 .offer-icon { background: color-mix(in srgb, var(--sage) 20%, transparent); color: var(--sage-deep); }
.offer.o3 .offer-icon { background: color-mix(in srgb, var(--ochre) 22%, transparent); color: var(--ochre); }
.offer.o4 .offer-icon { background: color-mix(in srgb, var(--bark-soft) 16%, transparent); color: var(--bark-soft); }

.offer h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.offer p {
    color: var(--bark-soft);
    font-size: 15.5px;
    margin-bottom: 20px;
}

.pills span {
    display: inline-block;
    font-size: 12.5px;
    background: var(--sand-deep);
    color: var(--bark-soft);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 0 6px 6px 0;
}

.pills span.hot {
    background: var(--clay);
    color: #fff;
}

/* skills */
.skills-wrap {
    background: var(--panel);
    border-radius: var(--r-xl);
    padding: 44px 40px;
    border: 1px solid var(--hair);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
}

.skill {
    margin-bottom: 20px;
}

.skill-top {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin-bottom: 8px;
}

.skill-top b {
    font-weight: 600;
}

.skill-bar {
    height: 9px;
    background: var(--sand-deep);
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--clay), var(--ochre));
    transition: width 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-col h4,
.cloud h4 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 22px;
}

.cloud span {
    display: inline-block;
    font-size: 14px;
    border: 1px solid var(--hair-strong);
    border-radius: 999px;
    padding: 7px 16px;
    margin: 0 8px 9px 0;
    color: var(--bark-soft);
    transition: all 160ms ease;
}

.cloud span:hover {
    border-color: var(--clay);
    color: var(--clay);
    transform: translateY(-2px);
}

.cloud span.hot {
    background: var(--clay);
    color: #fff;
    border-color: var(--clay);
}

/* zeitstrahl */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clay), var(--sage), transparent);
    border-radius: 999px;
}

.tl-item {
    position: relative;
    background: var(--panel);
    border-radius: var(--r-md);
    padding: 28px 30px;
    margin-bottom: 18px;
    border: 1px solid var(--hair);
    box-shadow: var(--shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.tl-item::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 34px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--clay) 45%, var(--sand));
    border: 3px solid var(--sand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 20%, transparent);
    z-index: 1;
}

.tl-item.now {
    border-color: color-mix(in srgb, var(--clay) 30%, transparent);
}

.tl-item.now::before {
    background: var(--clay);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 26%, transparent),
                0 0 16px color-mix(in srgb, var(--clay) 38%, transparent);
}

.tl-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tl-when {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
}

.tl-item h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 3px;
}

.tl-org {
    color: var(--sage-deep);
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

.tl-item p {
    color: var(--bark-soft);
    font-size: 15.5px;
    max-width: 66ch;
}

.tl-item .pills {
    margin-top: 16px;
}

/* über mich */
.about-lead {
    background: var(--panel);
    border-radius: var(--r-lg);
    padding: 40px 38px;
    border: 1px solid var(--hair);
    margin-bottom: 22px;
}

.about-lead p {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.6;
    color: var(--bark-soft);
    max-width: 68ch;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

.life {
    background: var(--panel);
    border-radius: var(--r-md);
    padding: 28px 26px;
    border: 1px solid var(--hair);
    transition: transform 200ms ease;
}

.life:hover {
    transform: translateY(-4px);
}

.life h4 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 14px;
}

.life p {
    color: var(--bark-soft);
    font-size: 15px;
}

.life .pills {
    margin-top: 14px;
}

.lang-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
}

.lang-line b {
    font-weight: 600;
    font-size: 15px;
}

.lang-dots {
    display: flex;
    gap: 4px;
}

.lang-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand-deep);
    border: 1px solid var(--hair-strong);
}

.lang-dots i.on {
    background: var(--clay);
    border-color: var(--clay);
}

/* reisekarte */
.travel-card {
    background: var(--panel);
    border-radius: var(--r-lg);
    padding: 36px 34px;
    border: 1px solid var(--hair);
    margin-bottom: 22px;
}

.travel-card h4 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.travel-card > p {
    color: var(--bark-soft);
    max-width: 60ch;
    margin-bottom: 24px;
}

.map-holder {
    position: relative;
    min-height: 180px;
    aspect-ratio: 1 / 0.6;
}

#d3-map {
    width: 100%;
}

.map-holder.auto-h {
    aspect-ratio: auto;
    min-height: 320px;
}

.map-holder.auto-h.ready {
    min-height: 0;
}

#d3-map .ctry {
    transition: fill 140ms ease, opacity 140ms ease;
}

#d3-map:hover .ctry {
    opacity: 0.55;
}

#d3-map .ctry:hover {
    opacity: 1;
    stroke: var(--bark);
    stroke-width: 0.9;
}

.map-tip {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 12px));
    background: var(--bark);
    color: var(--sand);
    border-radius: 9px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transition: opacity 130ms ease;
}

.map-tip.show {
    opacity: 1;
}

.map-tip b {
    font-weight: 600;
}

.map-tip span {
    display: block;
    font-size: 11.5px;
    color: var(--bark-mute);
}

.map-tip.is-visited b::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clay);
    margin-right: 7px;
    vertical-align: 1px;
}

.map-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-deep);
    border-radius: var(--r-md);
    overflow: hidden;
    color: var(--bark-mute);
    font-size: 13px;
    transition: opacity 400ms ease;
}

.map-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.map-skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cream) 60%, transparent), transparent);
    animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.map-foot {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.counter {
    font-family: var(--serif);
    font-size: 60px;
    line-height: 1;
    color: var(--clay);
}

.counter-label {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bark-mute);
    font-weight: 600;
}

.country-list {
    margin-top: 18px;
}

.country-list span {
    display: inline-block;
    font-size: 12.5px;
    background: var(--sand-deep);
    color: var(--bark-soft);
    border-radius: 999px;
    padding: 3px 11px;
    margin: 0 5px 5px 0;
}

/* dokumente */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc {
    background: var(--panel);
    border-radius: var(--r-md);
    padding: 28px 26px;
    border: 1px solid var(--hair);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.doc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.doc h4 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 8px;
}

.doc h4 em {
    display: inline-block;
    font-style: normal;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
    background: color-mix(in srgb, var(--clay) 12%, transparent);
    border-radius: 999px;
    padding: 3px 9px;
    margin-left: 7px;
    vertical-align: 4px;
}

/* lebenslauf: hervorgehobene kachel ueber beide spalten */
.doc-lead {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 34px 34px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--clay) 9%, var(--panel)) 0%,
            var(--panel) 62%);
    border-color: color-mix(in srgb, var(--clay) 26%, transparent);
}

.doc-lead:hover {
    transform: translateY(-4px);
}

.doc-lead-icon {
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 18px 22px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--clay) 16%, transparent);
    color: var(--clay);
}

.doc-lead-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.6;
}

.doc-lead-body {
    flex: 1;
    min-width: 0;
}

.doc-lead-body h4 {
    font-size: 25px;
    margin-bottom: 7px;
}

.doc-lead-body p {
    max-width: 54ch;
    margin: 0;
}

.doc-lead-btn {
    flex: none;
    align-self: center;
}

.doc p {
    color: var(--bark-soft);
    font-size: 14.5px;
}

.doc-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--clay);
    font-weight: 600;
    font-size: 14.5px;
    border-bottom: 1.5px solid transparent;
    transition: border-color var(--ease);
}

.doc-link:hover {
    border-bottom-color: var(--clay);
}

/* kontakt */
.contact-card {
    background: linear-gradient(140deg, var(--deep) 0%, var(--deep-lift) 100%);
    border-radius: var(--r-xl);
    padding: 62px 52px;
    text-align: center;
    color: var(--on-deep);
    position: relative;
    overflow: hidden;
}

.contact-card::before,
.contact-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
}

.contact-card::before {
    width: 300px;
    height: 300px;
    background: color-mix(in srgb, var(--clay) 44%, transparent);
    top: -110px;
    left: -70px;
}

.contact-card::after {
    width: 260px;
    height: 260px;
    background: color-mix(in srgb, var(--sage) 36%, transparent);
    bottom: -110px;
    right: -60px;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-card p {
    color: color-mix(in srgb, var(--on-deep) 76%, transparent);
    font-size: 17.5px;
    max-width: 46ch;
    margin: 0 auto 34px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: var(--on-deep);
    color: var(--deep);
}

.btn-light:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1.5px solid color-mix(in srgb, var(--on-deep) 32%, transparent);
    color: var(--on-deep);
}

.btn-outline-light:hover {
    border-color: var(--on-deep);
    transform: translateY(-2px);
}

/* fuß */
.foot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 0 84px;
    font-size: 14px;
    color: var(--bark-mute);
}

.foot a {
    color: var(--bark-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.foot a:hover {
    color: var(--clay);
    border-bottom-color: var(--clay);
}

/* impressum-modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(24, 20, 17, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.modal:target {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    background: var(--panel);
    color: var(--bark);
    border-radius: var(--r-lg);
    padding: 44px 42px;
    max-width: 680px;
    width: 100%;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--hair);
}

.modal-content h2 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 22px;
}

.modal-content h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clay);
    margin: 24px 0 8px;
}

.modal-content p {
    color: var(--bark-soft);
    font-size: 15px;
}

.modal-content a {
    color: var(--clay);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    color: var(--bark-mute);
    transition: color var(--ease);
}

.modal-close:hover {
    color: var(--clay);
}

/* back to top */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 8000;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--bark);
    color: var(--sand);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    box-shadow: var(--shadow-soft);
    transition: all 220ms ease;
}

.back-to-top.show {
    opacity: 1;
    transform: none;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--clay);
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* motion-reduktion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .blob,
    .portrait,
    .orbit,
    .orbit .float-chip,
    .badge i,
    .map-skeleton-shimmer { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .skill-bar i { transition: none; }
    * { transition-duration: 0.01ms !important; }
}

/* responsive */
@media (max-width: 900px) {
    .wrap { padding: 0 20px; }

    .topnav { top: 10px; margin-top: 12px; }
    .topnav-inner {
        overflow-x: auto;
        max-width: calc(100vw - 28px);
        scrollbar-width: none;
    }
    .topnav-inner::-webkit-scrollbar { display: none; }

    .hero {
        grid-template-columns: 1fr;
        padding: 56px 0 46px;
        gap: 54px;
    }
    .hero-visual { max-width: 300px; margin: 0 auto; width: 100%; }
    .orbit { --radius: 9.5rem; }
    .orbit .float-chip { font-size: 13px; padding: 9px 15px; }

    section.band { padding: 54px 0; }

    .offer-grid { grid-template-columns: 1fr; }
    .offer:nth-child(even) { transform: none; }
    .offer:nth-child(even):hover { transform: translateY(-6px); }
    .offer { padding: 28px 24px; }

    .skills-wrap { grid-template-columns: 1fr; gap: 34px; padding: 32px 24px; }

    .timeline { padding-left: 30px; }
    .tl-item { padding: 24px 22px; }
    .tl-item::before { left: -30px; top: 28px; }
    .tl-item:hover { transform: none; box-shadow: var(--shadow-soft); }
    .tl-top { flex-wrap: wrap; gap: 8px; }

    .about-lead { padding: 30px 24px; }
    .about-lead p { font-size: 18px; }

    .life-grid { grid-template-columns: 1fr; }
    .docs-grid { grid-template-columns: 1fr; }
    .doc-lead {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 28px 24px;
    }
    .doc-lead-body h4 { font-size: 22px; }
    .doc-lead-btn { align-self: stretch; text-align: center; }
    .travel-card { padding: 28px 22px; }
    .counter { font-size: 48px; }

    .contact-card { padding: 44px 24px; border-radius: var(--r-lg); }

    .modal { padding: 30px 14px; }
    .modal-content { padding: 32px 24px; }

    .foot { padding: 34px 0 92px; font-size: 13px; }

    .back-to-top { right: 12px; bottom: 66px; }
}

@media (max-width: 400px) {
    .orbit { --radius: 8rem; }
    .orbit .float-chip { font-size: 12px; padding: 7px 12px; }
}
