@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;
  --paper: #f5f6f4; --white: #fff; --line: #e1e4e6; --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;
  --font-head: var(--font);
  --shell: min(1160px, calc(100vw - 48px)); --radius: 18px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); background: var(--white); 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-family: var(--font-head); 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); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

/* Header */
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; color: white; transition: background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled, .page .site-header { background: rgb(11 21 33 / 86%); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.lang > * { padding: 0 8px; line-height: 1.1; }
.lang a { color: rgb(255 255 255 / 50%); text-decoration: none; transition: color .2s ease; }
.lang a:hover { color: white; }
.lang span { color: white; }
.lang > * + * { border-left: 1px solid rgb(255 255 255 / 25%); }
.nav-cta { padding: 9px 18px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 999px; transition: background .2s ease, border-color .2s ease; }
.nav-cta:hover { background: white; border-color: white; color: var(--night); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 14px; padding: 15px 24px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; transition: transform .25s var(--ease), background .25s ease, border-color .25s ease; }
.button span { transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translateX(4px); }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-bright); }
.button-ghost { border: 1px solid rgb(255 255 255 / 28%); }
.button-ghost:hover { border-color: white; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(680px, min(100svh, 940px)); overflow: hidden; color: white; background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-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 80% 70% at 70% 40%, black 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 10%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.orb-red { top: calc(-12% - 100px); right: calc(6% - 100px); width: 720px; height: 720px; 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(-25% - 100px); left: calc(30% - 100px); width: 760px; height: 760px; 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; }
.hero-bars { position: absolute; top: 50%; right: 7%; display: flex; gap: 46px; transform: translateY(-50%) skew(-17deg); }
.hero-bars i { display: block; width: 58px; height: 400px; border: 1px solid rgb(255 255 255 / 10%); background: linear-gradient(180deg, rgb(232 71 90 / 16%), transparent); }
.hero-inner { padding-top: 120px; padding-bottom: 52px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; color: var(--mint); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .sep { color: var(--red-bright); letter-spacing: -.05em; }
h1 { margin-bottom: 28px; font-size: clamp(50px, 7.6vw, 100px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; }
.dot { margin-left: -.07em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--mint), #c6f0e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; margin: 0 0 34px; color: rgb(255 255 255 / 72%); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { padding-bottom: 34px; }
.hero-facts dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-dark); }
.hero-facts dl > div { display: flex; align-items: baseline; gap: 16px; padding: 26px 24px 0 0; }
.hero-facts dl > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts dt { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.hero-facts dd { margin: 0; color: rgb(255 255 255 / 62%); font-size: 15px; white-space: nowrap; }

/* Sections */
.section { position: relative; padding-block: 120px; color: white; background: var(--night); border-top: 1px solid var(--line-dark); }
.kicker { margin: 0 0 18px; color: var(--mint); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker-light { color: var(--mint); }
.section-head { margin-bottom: 56px; }
.section-head h2, .about-copy h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); }

/* Leistungen */
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); counter-reset: none; }
.service { position: relative; display: grid; grid-template-columns: 70px 1.4fr 1fr; column-gap: 40px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line-dark); transition: background .4s ease; }
.service::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service-no { color: var(--red-bright); font-size: 14px; font-weight: 700; }
.service-cat { margin: 0 0 8px; color: rgb(255 255 255 / 50%); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.service h3 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; transition: transform .4s var(--ease); }
.service:hover h3 { transform: translateX(8px); }
.service > p { margin: 0; color: rgb(255 255 255 / 62%); }

/* Über mich */
.about { overflow: hidden; isolation: isolate; }
.about::before { content: ""; position: absolute; z-index: -1; top: 10%; left: -10%; width: 520px; height: 520px; background: radial-gradient(circle, rgb(47 143 127 / 35%), transparent 70%); filter: blur(80px); }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 90px; align-items: center; }
.portrait { margin: 0; }
.portrait-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.portrait figcaption { display: flex; flex-direction: column; margin-top: 18px; color: rgb(255 255 255 / 55%); font-size: 14px; }
.portrait figcaption strong { color: white; font-size: 17px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p:not(.kicker) { max-width: 600px; margin: 0 0 40px; color: rgb(255 255 255 / 70%); font-size: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.values li { position: relative; padding: 18px 0 18px 26px; color: rgb(255 255 255 / 62%); border-bottom: 1px solid var(--line-dark); }
.values li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 4px; height: 16px; background: var(--red-bright); transform: skew(-17deg); }
.values strong { display: block; color: white; font-weight: 700; }

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: 140px; border-top: 1px solid var(--line-dark); color: white; background: var(--night); }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg .orb-red { top: auto; bottom: calc(-40% - 100px); right: calc(-10% - 100px); }
.contact h2 { margin-bottom: 18px; font-size: clamp(44px, 7vw, 92px); letter-spacing: -.05em; }
.contact p:not(.kicker) { max-width: 560px; margin: 0 0 44px; color: rgb(255 255 255 / 70%); font-size: 19px; }
.contact-mail { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; font-family: var(--font-head); font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; text-decoration: none; background: linear-gradient(var(--red-bright), var(--red-bright)) left bottom / 100% 2px no-repeat; transition: background-size .4s var(--ease); }
.contact-mail span { color: var(--red-bright); transition: transform .3s var(--ease); }
.contact-mail:hover span { transform: translateX(8px); }

/* Footer */
.site-footer { color: rgb(255 255 255 / 60%); background: var(--night); border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 34px; }
.footer-inner .brand img { height: 44px; }
.footer-inner p { margin: 0; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover, .legal-links a[aria-current] { color: white; }

/* Unterseiten */
.page-header { padding: 160px 0 70px; color: white; background: var(--night); }
.page-header h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); }
.legal-page { padding-block: 80px 120px; }
.legal-text { max-width: 760px; }
.legal-text h2 { margin: 48px 0 14px; font-size: 26px; letter-spacing: -.02em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { margin: 28px 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: 48px; color: var(--muted); font-size: 14px; }

/* Animationen */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
.hero-in { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 100ms); }
h1 .hero-in { animation-duration: 1.1s; }
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--stagger, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .main-nav > a:not(.nav-cta) { display: none; }
  .main-nav { gap: 18px; }
  .hero-bars { right: -60px; opacity: .6; }
  .hero-facts dl { grid-template-columns: 1fr; }
  .hero-facts dl > div, .hero-facts dl > div + div { padding: 16px 0; border-left: 0; }
  .hero-facts dl > div + div { border-top: 1px solid var(--line-dark); }
  .section { padding-block: 90px; }
  .section-head { margin-bottom: 40px; }
  .service { grid-template-columns: 50px 1fr; row-gap: 10px; padding: 30px 0; }
  .service > p { grid-column: 2; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .portrait { max-width: 260px; }
  .contact { padding-block: 100px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  :root { --shell: calc(100vw - 32px); }
  body { font-size: 16px; }
  .header-inner { min-height: 66px; }
  .brand img { height: 32px; }
  .hero-inner { padding-top: 120px; padding-bottom: 40px; }
  .hero-bars { display: none; }
  .orb-red { width: 500px; height: 500px; }
  .hero-actions .button { justify-content: space-between; width: 100%; }
  .hero-facts { padding-bottom: 24px; }
  .hero-facts dt { min-width: 64px; font-size: 28px; }
  .section { padding-block: 72px; }
  .service { grid-template-columns: 1fr; }
  .service > p { grid-column: 1; }
  .portrait { max-width: 200px; }
  .values { grid-template-columns: 1fr; }
  .contact p:not(.kicker) { font-size: 17px; }
  .contact-mail { font-size: 24px; }
  .page-header { padding: 120px 0 50px; }
  .legal-page { padding-block: 55px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
