
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/hanken-latin-600.woff2") format("woff2"); }

.cv {
  --ink: #141414; --faint: #6f6f6f; --line: #e6e6e6; --paper: #fff;
  --cv-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Yu Gothic UI", sans-serif;
  --in: 24px;
  --sw: 400px;
  position: fixed; inset: 0; z-index: 40; display: block; box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: none; overflow: hidden; overflow: clip; touch-action: pinch-zoom; color: var(--ink); font: 600 16px/1.5 var(--cv-sans); font-synthesis: none; -webkit-font-smoothing: antialiased; text-align: left;
}
html[data-lang="ja"] .cv { --cv-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", sans-serif; }
.cv:not([open]) { display: none; }
.cv::backdrop { background: none; }
.cv .loch { position: absolute; left: var(--kx, 0); top: var(--ky, 0); width: var(--kb, 0); height: var(--kh, 0); box-shadow: 0 0 0 6000px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .19s linear; }
.cv.auf .loch { opacity: 1; transition-duration: .3s; }

.cv .schlitz { position: absolute; right: var(--r, 48px); bottom: var(--b, 140px); width: var(--sw); max-width: calc(100% - 16px); clip-path: inset(-100px -100px 0 -100px); }
.cv .blatt { display: flex; flex-direction: column; max-height: var(--mh, none); background: var(--paper); box-shadow: 0 24px 64px rgba(0, 0, 0, .32); transform: translateY(calc(100% + 2px)); transition: transform .19s cubic-bezier(.5, 0, .8, .4); }
.cv.auf .blatt { transform: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }

.cv header { flex: none; display: flex; align-items: flex-end; justify-content: space-between; margin: 0 var(--in); padding: 14px 0 8px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.cv h2 { margin: 0; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
html[data-lang="zh"] .cv h2, html[data-lang="ja"] .cv h2 { font-size: 13px; }
.cv .zu { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -13px -15px -13px 3px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cv svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.25; }
.cv .zu svg { width: 12px; height: 12px; }
.cv .zu:hover { color: var(--faint); }
.cv .zu:focus { outline: 0; }
.cv.tasten .zu:focus { outline: 2px solid var(--ink); outline-offset: -8px; }

.cv ul { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: -1px 0 0; padding: 1px 0 0; }
.cv ul.rollt, .cv ul.rollt * { touch-action: pan-y pinch-zoom; }
.cv li { position: relative; background: var(--paper); }
.cv li + li::before { content: ""; position: absolute; left: var(--in); right: var(--in); top: 0; height: 0; border-top: 1px solid var(--line); }
.cv a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; box-sizing: border-box; padding: 8px var(--in); color: inherit; text-decoration: none; touch-action: inherit; font-size: 20px; line-height: 26px; -webkit-tap-highlight-color: transparent; }
.cv a svg { flex: none; width: 16px; height: 10px; color: var(--faint); transition: transform .18s ease; }
.cv a:focus { outline: 0; }
.cv.tasten a:focus { z-index: 1; outline: 2px solid transparent; outline-offset: -2px; background: var(--ink); color: var(--paper); box-shadow: 0 -1px 0 var(--ink), 0 1px 0 var(--ink); }
.cv.tasten a:focus svg { color: var(--paper); transform: translateX(4px); }
.cv a:active { z-index: 1; background: var(--ink); color: var(--paper); box-shadow: 0 -1px 0 var(--ink), 0 1px 0 var(--ink); }
.cv a:active svg { color: var(--paper); transform: translateX(4px); }
@media (hover: hover) {
  .cv:not(.tasten) a:hover { z-index: 1; background: var(--ink); color: var(--paper); box-shadow: 0 -1px 0 var(--ink), 0 1px 0 var(--ink); }
  .cv:not(.tasten) a:hover svg { color: var(--paper); transform: translateX(4px); }
}

.cv .wand { position: absolute; inset: 0; background: var(--paper); clip-path: inset(100%); }
.cv.geht .blatt { box-shadow: none; }
.cv.geht .blatt > * { opacity: 0; transition: opacity .12s linear; }

.cv.gleich .loch, .cv.gleich .blatt { transition: none; }
@media (prefers-reduced-motion: reduce) { .cv .loch, .cv .blatt, .cv.auf .blatt, .cv a svg { transition: none; } }

@media (max-width: 899px) {
  .cv { --in: 16px; }
  .cv a { min-height: 56px; font-size: 18px; line-height: 24px; }
  .cv header { padding: 16px 0 10px; }
}
@media print { .cv { display: none; } }
