/* Daniel Wulf – Visitenkarte danielwulf.de · 11/2026 */
@font-face { font-family: "Albert Sans"; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 500; font-display: swap; src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 800; font-display: swap; src: url("../fonts/albert-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

:root { --cyan: #00E5F0; --ink: #161616; --night: #101214; --stone: #F3F3F1; --soft: #3A3A3A; --muted: #6B6B6B;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.card { container-type: inline-size; min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip; }
.card { --m: clamp(20px, 5.6cqi, 80px); --g: clamp(16px, 1.7cqi, 24px); --px: max(var(--m), calc((100cqi - 1280px) / 2)); }

.main { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--g); padding: clamp(32px, 5svh, 72px) var(--px) 0; align-items: end; }
.text { display: flex; flex-direction: column; gap: clamp(16px, 3svh, 36px); padding-bottom: clamp(24px, 6svh, 96px); position: relative; z-index: 1; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #5C5C5C; }
h1 { margin-left: -0.03em; font-family: var(--serif); font-weight: 500; font-size: clamp(72px, min(15cqi, 19svh), 216px); line-height: 0.82; letter-spacing: -0.025em; white-space: nowrap; }
h1 em { font-style: italic; }
.role { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3cqi, 44px); line-height: 1.1; }
.lead { max-width: 34ch; padding-top: 20px; border-top: 2px solid var(--ink); font-size: 18px; color: var(--soft); text-wrap: balance; }

.btns { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-size: 17px; transition: background-color .25s, border-color .25s, color .25s; }
.btn svg { width: 20px; height: 20px; transition: transform .25s; }
.btn-primary { background: var(--ink); color: #fff; font-weight: 700; }
.btn-primary:hover { background: #000; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500; }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-ghost:hover { background: var(--cyan); border-color: var(--cyan); }
.btn-ghost:hover svg { transform: translate(2px, -2px); }
.lines { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.lines a { color: var(--ink); text-decoration: none; }
.lines a:hover { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.visual .field { position: absolute; left: 4%; right: calc(-1 * var(--px)); bottom: 0; height: 88%; background: var(--cyan); }
.visual img { position: relative; width: min(118%, calc((100svh - 120px) * 0.92 * 1254 / 989)); max-width: none; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 32px; padding: 8px var(--px); background: var(--night); color: #9EA3A8; font-size: 13px; }
.foot nav { display: flex; gap: 0 28px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: #B4B9BE; text-decoration: none; font-size: 15px; font-weight: 500; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.foot a:hover, .foot a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); }

@container (max-width: 760px) {
  .main { grid-template-columns: 1fr; row-gap: 32px; padding-top: 40px; }
  h1 { font-size: clamp(72px, 24cqi, 160px); }
  .text { padding-bottom: 0; }
  .visual { min-height: 0; }
  .visual .field { left: 0; height: 90%; }
  .visual img { width: 100%; }
}
