/* ==========================================================================
   heikokreiter.de
   Ursprünglich als Onepage-„Vibe Section“ gebaut und 1:1 hierher übernommen.
   ========================================================================== */

/* ============ FONTS ============ */
/* Alle Schriften selbst gehostet. Überschriften: Poppins. Fließtext: Mulish
   (Nachfolger von Muli). Labels wie „// über mich“: JetBrains Mono.
   Mulish und JetBrains Mono sind variable Schriften (400–700), aufgeteilt in
   latin und latin-ext. Der Browser lädt latin-ext nur, wenn ein Zeichen daraus vorkommt. */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mulish-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mulish-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/poppins-800.woff2') format('woff2');
}

:root {
  --font-kit-header-font: 'Poppins', sans-serif;
  --font-kit-text-font: 'Mulish', sans-serif;
}

/* ============ BASE (entspricht den globalen Onepage-Styles) ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body a {
  text-decoration: none;
}

.skip-to-content {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 999999;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  outline: 2px solid #fff;
  outline-offset: 2px;
  transition: top 0.1s ease;
}

.skip-to-content:focus-visible {
  top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ STARTSEITE ============ */
.hk-root {
  /* Farben (in Onepage: „Look & Farben“) */
  --hk-bg: #0a0d12;
  --hk-surface: #11151c;
  --hk-accent: #caeb30;
  --hk-text: #e7ecf3;
  --hk-muted: #7d8696;

  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 96px 24px 0;
  font-family: var(--font-kit-text-font, 'Inter', system-ui, sans-serif);
  color: var(--hk-text, #e7ecf3);
  background: var(--hk-bg, #0a0d12);
  overflow: hidden;
}

.hk-root *,
.hk-root *::before,
.hk-root *::after {
  box-sizing: border-box;
}

.hk-root button,
.hk-root input,
.hk-root a {
  font-family: inherit;
}

.hk-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #ffffff0a 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff0a 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hk-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.32;
  border-radius: 50%;
}

.hk-glow--a {
  top: -120px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: var(--hk-accent, #caeb30);
}

.hk-glow--b {
  bottom: 200px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: #43affc;
  opacity: 0.18;
}

.hk-container {
  position: relative;
  z-index: 1;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 120px;
}

.hk-eyebrow {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--hk-accent, #caeb30);
  margin: 0 0 24px;
  text-transform: lowercase;
}

/* ============ HERO ============ */
.hk-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.hk-hero__body { min-width: 0; }

.hk-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--hk-muted, #7d8696);
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.hk-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hk-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  color: var(--hk-text, #e7ecf3);
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease, transform 200ms ease, background 200ms ease;
}

.hk-social:hover {
  border-color: var(--hk-accent, #caeb30);
  color: var(--hk-accent, #caeb30);
  transform: translateY(-2px);
}

.hk-social svg {
  width: 18px;
  height: 18px;
}

.hk-role__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hk-accent, #caeb30);
}

.hk-headline {
  font-family: var(--font-kit-header-font, 'Inter', system-ui, sans-serif);
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
}

.hk-headline__accent {
  color: var(--hk-accent, #caeb30);
  font-style: italic;
  font-weight: 600;
}

.hk-tagline {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 32px 0 0;
  max-width: 620px;
  color: var(--hk-text, #e7ecf3);
}

.hk-description {
  font-size: 17px;
  line-height: 1.65;
  margin: 20px 0 0;
  max-width: 580px;
  color: var(--hk-muted, #7d8696);
}

.hk-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--hk-surface, #11151c);
  border: 1px solid #ffffff14;
  box-shadow: 0 30px 80px -30px #000000a0, 0 0 60px -20px var(--hk-accent, #caeb30);
}

.hk-portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ============ COMPANIES ============ */
.hk-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 720px;
}

.hk-section-headline {
  font-family: var(--font-kit-header-font, 'Inter', system-ui, sans-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
}

.hk-section-subline {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  color: var(--hk-muted, #7d8696);
}

.hk-companies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hk-company {
  position: relative;
  padding: 36px;
  background: var(--hk-surface, #11151c);
  border: 1px solid #ffffff10;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease;
}

.hk-company:hover {
  border-color: var(--hk-accent, #caeb30);
  transform: translateY(-3px);
}

.hk-company__logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
}

.hk-company__logo {
  max-height: 60px;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.hk-company__name {
  font-family: var(--font-kit-header-font, 'Inter', system-ui, sans-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
}

.hk-company__desc {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: var(--hk-muted, #7d8696);
}

/* ============ EVENTS ============ */
.hk-events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hk-event {
  position: relative;
  border-radius: 20px;
  background: var(--hk-surface, #11151c);
  border: 1px solid #ffffff10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
}

.hk-event:hover {
  border-color: var(--hk-accent, #caeb30);
  transform: translateY(-3px);
}

.hk-event__logo-wrap {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, #ffffff08, transparent 60%),
    #0d1118;
  padding: 44px 48px;
  border-bottom: 1px solid #ffffff0d;
}

.hk-event__logo {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hk-event:hover .hk-event__logo {
  opacity: 1;
  transform: scale(1.04);
}

.hk-event__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hk-event__name {
  font-family: var(--font-kit-header-font, 'Inter', system-ui, sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
}

.hk-event__desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--hk-muted, #7d8696);
}

/* ============ PROJECT (ditix) ============ */
.hk-project {
  position: relative;
  padding: 48px;
  background: var(--hk-surface, #11151c);
  border: 1px solid #ffffff10;
  border-radius: 24px;
  overflow: hidden;
}

.hk-project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--hk-accent, #caeb30);
  box-shadow: 0 0 24px var(--hk-accent, #caeb30);
}

.hk-project__title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hk-project__name {
  font-family: var(--font-kit-header-font, 'Inter', system-ui, sans-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
}

.hk-project__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hk-accent, #caeb30);
  color: #0a0d12;
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hk-project__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0d12;
}

.hk-project__tagline {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: var(--hk-text, #e7ecf3);
  max-width: 640px;
}

.hk-project__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--hk-muted, #7d8696);
  margin: 20px 0 28px;
  max-width: 720px;
}

.hk-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hk-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 12px;
  background: #ffffff06;
  border: 1px solid #ffffff10;
  font-size: 15px;
  line-height: 1.4;
  color: var(--hk-text, #e7ecf3);
}

.hk-feature__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--hk-accent, #caeb30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0d12;
}

.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  background: var(--hk-accent, #caeb30);
  color: #0a0d12;
  transition: transform 160ms ease, background 160ms ease;
}

.hk-btn:hover {
  transform: translateY(-2px);
  background: #d9f255;
}

.hk-btn__arrow {
  transition: transform 160ms ease;
}
.hk-btn:hover .hk-btn__arrow {
  transform: translateX(4px);
}

/* ============ FOOTER ============ */
.hk-footer {
  border-top: 1px solid #ffffff10;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.hk-footer__text {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hk-muted, #7d8696);
  margin: 0;
}

.hk-footer__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hk-muted, #7d8696);
  margin: 0;
  max-width: 540px;
  text-align: right;
}

.hk-imprint {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ffffff10;
  font-size: 12px;
  line-height: 1.65;
  color: var(--hk-muted, #7d8696);
}

.hk-imprint__title {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hk-text, #e7ecf3);
  margin: 0 0 12px;
}

.hk-imprint__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}

.hk-imprint__line {
  margin: 0;
}

.hk-imprint__line strong {
  font-weight: 500;
  color: var(--hk-text, #e7ecf3);
}

@media (max-width: 720px) {
  .hk-imprint__body {
    grid-template-columns: 1fr;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hk-events {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .hk-root {
    padding: 72px 20px 0;
  }
  .hk-container {
    gap: 88px;
    padding-bottom: 88px;
  }
  .hk-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hk-portrait {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }
  .hk-companies {
    grid-template-columns: 1fr;
  }
  .hk-features {
    grid-template-columns: 1fr;
  }
  .hk-project {
    padding: 32px 24px;
  }
  .hk-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .hk-footer__note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hk-events {
    grid-template-columns: 1fr;
  }
}

/* ============ TERMIN BUCHEN ============ */
.termin {
  background: #fff;
  padding: 100px 32px;
}

.termin__inner {
  max-width: 1250px;
  margin: 0 auto;
  padding-bottom: 28px;
}

.termin__frame {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background-color: #fff;
}

@media (max-width: 768px) {
  .termin {
    padding: 49px 24px 50px;
  }
}
