@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
}

:root {
  --night: #0b1521; --navy: #101d2d; --navy-2: #172739; --ink: #131c26; --muted: #5d6974;
  --white: #fff; --line-dark: rgb(255 255 255 / 12%);
  --red: #c8283a; --red-bright: #e8475a; --mint: #8fdccb;
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: min(1000px, calc(100vw - 48px)); --radius: 18px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; color: white; background: var(--night); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 99; padding: 10px 16px; transform: translateY(-150%); color: white; background: var(--navy); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

/* Hintergrund */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, black 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, black 10%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; opacity: .5; will-change: transform; }
.orb-red { top: calc(-18% - 100px); right: calc(-6% - 100px); width: 760px; height: 760px; background: radial-gradient(circle closest-side, rgb(200 40 58 / 70%), rgb(200 40 58 / 38%) 35%, rgb(200 40 58 / 12%) 68%, transparent); animation: drift 22s ease-in-out infinite alternate; }
.orb-mint { bottom: calc(-30% - 100px); left: calc(-8% - 100px); width: 800px; height: 800px; background: radial-gradient(circle closest-side, rgb(47 143 127 / 70%), rgb(47 143 127 / 38%) 35%, rgb(47 143 127 / 12%) 68%, transparent); opacity: .35; animation: drift 28s ease-in-out infinite alternate-reverse; }

/* Visitenkarte */
.card { flex: 1; display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: center; padding-block: 80px; }
.portrait { position: relative; margin: 0; }
.portrait::before { content: ""; position: absolute; inset: 12% -8% -8% 12%; z-index: -1; background: radial-gradient(circle at 60% 60%, rgb(232 71 90 / 35%), transparent 70%); filter: blur(40px); }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--line-dark); border-radius: var(--radius); }
h1 { margin-bottom: 22px; font-size: clamp(46px, 6.6vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
h1 span { display: block; }
.motto { margin: 0 0 48px; color: rgb(255 255 255 / 72%); font-size: clamp(20px, 2.3vw, 26px); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.smile { position: relative; display: inline-block; color: white; }
.smile svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .5em; overflow: visible; }
.smile path { fill: none; stroke: var(--red-bright); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) 1.1s forwards; }

/* Links */
.links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.links a { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.links a::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.links a:hover::before { transform: scaleX(1); }
.links svg { display: block; width: 48px; height: 48px; }
.links strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; transition: transform .4s var(--ease); }
.links small { display: block; color: rgb(255 255 255 / 55%); font-size: 14px; }
.links a:hover strong { transform: translateX(6px); }
.arrow { color: var(--red-bright); font-size: 20px; transition: transform .3s var(--ease); }
.links a:hover .arrow { transform: translate(4px, -4px); }

/* Footer */
.site-footer { color: rgb(255 255 255 / 50%); border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; }
.footer-inner p { margin: 0; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { text-decoration: none; transition: color .2s ease; }
.legal-links a:hover, .legal-links a[aria-current] { color: white; }

/* Unterseiten */
.page main { flex: 1; display: flex; flex-direction: column; }
.page-top { padding-top: 30px; }
.back { display: inline-flex; align-items: center; gap: 10px; color: rgb(255 255 255 / 70%); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.back span { color: var(--red-bright); transition: transform .3s var(--ease); }
.back:hover { color: white; }
.back:hover span { transform: translateX(-4px); }
.page-header { padding: 70px 0 60px; }
.page-header h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); }
.legal-page { flex: 1; padding-block: 70px 110px; color: var(--ink); background: var(--white); }
.legal-text > * { max-width: 760px; }
.legal-text h2 { margin: 44px 0 12px; font-size: 24px; letter-spacing: -.02em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { margin: 26px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.legal-text p, .legal-text li { color: #3d4853; }
.legal-text ul { padding-left: 20px; }
.legal-text a { color: var(--red); text-underline-offset: 3px; }
.legal-text .stand { margin-top: 44px; color: var(--muted); font-size: 14px; }

/* Animationen */
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
.in { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }

@media (max-width: 820px) {
  .card { grid-template-columns: 1fr; gap: 44px; align-content: center; padding-block: 56px; }
  .portrait { max-width: 240px; }
  .motto { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  :root { --shell: calc(100vw - 32px); }
  body { font-size: 16px; }
  .card { padding-block: 40px; }
  .portrait { max-width: 200px; }
  .orb-red { width: 520px; height: 520px; }
  .links a { grid-template-columns: 44px 1fr auto; gap: 16px; }
  .links svg { width: 44px; height: 44px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header { padding: 50px 0 44px; }
  .legal-page { padding-block: 50px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .smile path { stroke-dashoffset: 0; }
}
