@charset "UTF-8";
@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000000;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  color: #ffffff;
}

/* Scrollbar — styleguide aligned */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border) transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.loading-overlay.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}
.loading-overlay__content {
  text-align: center;
  max-width: 80%;
}
.loading-overlay__title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1rem, 8vw, 8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.loading-overlay__subtitle {
  font-size: clamp(0.7rem, 3vw, 1.5rem);
  color: #cccccc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.loading-overlay__progress {
  /* Entfernt – jetzt progress-container */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}
.loading-overlay .progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.loading-overlay .progress-text {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.loading-overlay .progress-bar {
  width: min(200px, 50vw);
  height: 8px;
  background: #111;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}
.loading-overlay .progress-fill {
  height: 100%;
  background: #d3564d;
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px #d3564d;
}

.medium-zoom-overlay,
.medium-zoom-image--opened {
  z-index: 100; /* or whatever value beats your other layers */
}

@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

/* ───── NAVBAR ───── */
#nav-bar {
  top: 0px;
  height: 56px;
  width: 100%;
  position: sticky;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 0 15px;
  height: 56px;
  width: 100%;
  position: relative;
  z-index: 1000;
  /* Left side container */
}
.navbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1001;
}
.navbar {
  /* Logo */
}
.navbar__logo {
  background-color: #d3564d;
  padding: 5px 15px;
  border-radius: 5px;
}
.navbar__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar__logo img {
  height: 30px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 3px;
}
.navbar {
  /* Controls container */
}
.navbar__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar {
  /* Hamburger */
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}
.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.navbar {
  /* Center nav links */
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.navbar__links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.navbar__links li a:hover {
  color: #d3564d;
}
.navbar__links li a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 10%;
  background: #d3564d;
  transform: translateX(-50%);
}
.navbar {
  /* Right CTA */
}
.navbar__cta a {
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 14px;
  border: transparent 1px solid;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  color: #000000;
  font-weight: 1200;
  background-color: rgba(255, 255, 255, 0.8);
}
.navbar__cta a:hover {
  color: #ffffff;
  font-weight: 1200;
  background-color: transparent;
  border-color: #ffffff;
}
.navbar__cta.active {
  opacity: 1;
  pointer-events: all;
}
.navbar {
  /* ───── MOBILE RESPONSIVE ───── */
}
@media (max-width: 768px) {
  .navbar__hamburger {
    display: flex;
  }
  .navbar__controls {
    gap: 10px;
  }
  .navbar__links {
    position: fixed;
    left: 0;
    top: 0;
    flex-direction: column;
    background-color: #0a0a0a;
    width: 100%;
    height: 100vh;
    padding: 100px 0;
    gap: 28px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .navbar__links.active {
    transform: translateX(0);
  }
  .navbar__links li a {
    font-size: 13px;
  }
  .navbar__cta {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .navbar__cta.active {
    opacity: 1;
    pointer-events: all;
  }
  .navbar__cta a {
    font-size: 13px;
    padding: 10px 20px;
  }
}

.page-content {
  position: relative;
  top: -56px; /* Höhe der Navbar */
}

/* Audio toggle button */
.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
  border-radius: 50%;
}
.control-btn.nudge {
  animation: audioIconNudge 1.4s ease-out 7;
}
.control-btn:hover {
  opacity: 0.7;
}

@keyframes audioIconNudge {
  0%, 100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.75);
    opacity: 1;
    background-image: radial-gradient(circle farthest-corner at 50% 50%, rgba(255, 255, 255, 0.15), transparent);
  }
  45% {
    transform: scale(1);
  }
}
.audio-icon {
  width: 18px;
  height: 18px;
  position: relative;
}
.audio-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 10px;
  background: #ffffff;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%);
}
.audio-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 10px;
  border: 2px solid #ffffff;
  border-left: none;
  border-radius: 0 4px 4px 0;
}
.audio-icon.muted::after {
  opacity: 0.2;
}

/* Online status */
.online-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.online-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff00;
  box-shadow: 0 0 8px #00ff00;
  animation: navbar-pulse 1s infinite;
}
.online-status .status-text {
  font-size: 9px;
  color: #cccccc;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* FPS Counter */
.fps-counter {
  font-size: 9px;
  color: #cccccc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Keyframes (global namespace → besser eindeutig benennen) */
@keyframes navbar-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 768px) {
  .online-status .status-text,
  .fps-counter {
    font-size: 8px;
  }
}
.site-footer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: "Rajdhani", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px;
}
.site-footer .footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .footer-inner > :first-child {
  padding: 10px;
  border-radius: 6px;
  border: 1px #333 solid;
  width: 50%;
  height: 70px;
  flex-direction: row !important;
}
.site-footer .footer-inner > :first-child span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer .footer-inner > :first-child img {
  align-self: flex-start;
  -o-object-fit: contain;
     object-fit: contain;
  height: 30px;
  padding-right: 5px;
  transform: translateY(-2px);
}
.site-footer .footer-inner .footer-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-right: 10%;
}
.site-footer .footer-brand-name {
  color: var(--text-secondary);
  font-weight: 900;
}
.site-footer .footer-brand-role {
  color: var(--border);
  font-size: 10px;
}
.site-footer .footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease-out;
}
.site-footer .footer-nav a:hover {
  color: var(--accent-hover);
}
.site-footer .footer-social .footer-label {
  color: var(--dim);
  font-size: 10px;
}
.site-footer .footer-social a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease-out;
}
.site-footer .footer-social a:hover {
  color: var(--accent-hover);
}
.site-footer .footer-bottom {
  max-width: 1300px;
  margin: 14px auto 0;
  padding-top: 10px;
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.site-footer .footer-bottom .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer .footer-bottom .footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease-out;
}
.site-footer .footer-bottom .footer-legal a:hover {
  color: var(--accent-hover);
}
.site-footer .footer-bottom .footer-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--dim);
  font-size: 8px;
}
.site-footer .footer-bottom .footer-credits a {
  color: var(--text-secondary);
  text-decoration: none;
}
.site-footer .footer-bottom .footer-credits a:hover {
  color: var(--accent-hover);
}
.site-footer .footer-bottom .footer-credits .footer-divider {
  color: var(--border);
}

@media (max-width: 640px) {
  .site-footer .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .site-footer .footer-inner > :first-child {
    width: 100%;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

.page {
  display: flex;
  max-width: max(70vw, 1300px);
  margin: 0 auto;
  padding: 40px 24px;
  gap: 50px;
  align-items: flex-start;
}
@media (max-width: 820px) {
  .page {
    flex-direction: column;
  }
  .page .sidebar {
    width: 100%;
    position: static;
  }
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 95px;
}
.sidebar .sb-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Press Start 2P", monospace;
}
.sidebar .sb-date {
  font-size: 9px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 4px 0 18px;
}
.sidebar .sb-desc {
  font-size: 12.5px;
  hyphens: auto;
  text-align: justify; /* für Edge */
  -moz-text-align-last: right; /* für Firefox vor 58.0 */
  text-align-last: left;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 28px;
}
.sidebar .links {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sidebar .links .lnk {
  background: #111;
  border: 1px solid #333;
  padding: 11px 14px;
  color: #999;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}
.sidebar .links .lnk:hover {
  color: #ffffff;
  border-color: #0a0a0a;
}

.project-description {
  padding: 14px;
  padding-top: 6px;
  hyphens: auto;
  text-align: justify; /* für Edge */
  -moz-text-align-last: left; /* für Firefox vor 58.0 */
  text-align-last: left;
  color: #999;
  font-size: 0.75em;
}

.project-content-toggle {
  position: relative;
  height: auto;
}
.project-content-toggle .toggle-bar {
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}
.project-content-toggle .toggle-bar svg,
.project-content-toggle .toggle-bar img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}
.project-content-toggle .toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cccccc;
  border-radius: 6px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.project-content-toggle .toggle-btn:hover {
  background: #d3564d;
  color: #ffffff;
  border-color: #d3564d;
}
.project-content-toggle .toggle-btn:hover svg {
  fill: #ffffff;
}
.project-content-toggle .toggle-btn.active {
  border-color: #d3564d;
  color: #ffffff;
}
.project-content-toggle .toggle-btn.active svg {
  fill: #ffffff;
}
.project-content-toggle .content-panel {
  display: none;
}
.project-content-toggle .content-panel.active {
  display: block !important;
}
.project-content-toggle .content-panel img,
.project-content-toggle .content-panel video {
  width: 100%;
  height: auto;
  border-radius: 0 0 10px 10px;
}
.project-content-toggle .content-panel .breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px;
}
.project-content-toggle .content-panel .breakdown-grid img {
  border-radius: 8px;
}
.project-content-toggle .content-panel .hda-info {
  padding: 20px;
  background: var(--bg-secondary);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.main .block-img {
  border-radius: var(--border-radius, 10px);
  overflow: hidden;
  width: 100%;
  background-image: linear-gradient(45deg, #202020 10%, #0a0a0a 35%, #0a0a0a 65%, #202020 90%);
  margin-bottom: 8px;
  height: auto;
}
.main .block-img video,
.main .block-img img {
  width: 100%;
  height: auto;
  display: block;
}
.main .block-img {
  border: 1px solid var(--border, #333);
}
.main .caption {
  padding: 14px 2px;
  padding-top: 6px;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  text-align: center;
}
.main .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.main .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.main .before-after-slider {
  position: relative;
  display: block;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius, 10px);
  overflow: hidden;
  cursor: col-resize;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid var(--border, #333);
}
.main .before-after-slider .before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}
.main .before-after-slider .after-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 73%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}
.main .before-after-slider .after-img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
}
.main .before-after-slider .slider-handle {
  position: absolute;
  top: 0;
  left: 27%;
  width: 50px;
  height: 100%;
  background: transparent;
  z-index: 999 !important;
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: auto !important;
}
.main .before-after-slider .slider-handle::before {
  content: "◄ ►";
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background: #0a0a0a;
  border: 1px solid #cccccc;
  padding: 2px 6px;
  border-radius: 16px;
}
.main .block-img.blueprints {
  height: auto;
  background-color: #00ff00;
}
.main .block-img.blueprints iframe {
  width: 100%;
  height: 500px;
  border: 1px solid var(--border) !important;
  border-radius: 8px;
}

#strip {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #333;
  scrollbar-width: none;
}
#strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) calc(100% - 30px), rgb(0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
  height: 52px;
  margin: 10px 0px;
}
#strip::-webkit-scrollbar {
  display: none;
}
#strip span {
  height: 52px;
  display: flex;
  border: 1px solid transparent;
  border-radius: 7px;
  align-items: center;
}
#strip span.on {
  border-color: #333;
}
#strip .yr {
  font-size: 9px;
  font-weight: 700;
  color: #999;
  min-width: 48px;
  letter-spacing: 1px;
  padding-right: 4px;
  padding-left: 6px;
  flex-shrink: 0;
  text-align: end;
}
#strip a {
  width: 50px;
  height: 50px;
}
#strip .thmb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  flex-shrink: 0;
  margin: 1px;
  -o-object-fit: cover;
     object-fit: cover;
}

#globalTooltip {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(14px, 18px);
  opacity: 0;
  pointer-events: none;
  z-index: 999999;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  white-space: nowrap;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.15s ease;
}

#globalTooltip.is-visible {
  opacity: 1;
}

.code-block {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.code-block pre {
  margin: 0;
  padding: 18px 20px;
  padding-top: 42px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-primary);
  white-space: pre;
}
.code-block code {
  display: block;
  min-width: -moz-max-content;
  min-width: max-content;
}
.code-block .code-copy-btn {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  padding: 0;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}
.code-block .code-copy-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.code-block .code-copy-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.code-block {
  /* syntax colors */
}
.code-block .c-keyword {
  color: #ff8a65;
}
.code-block .c-string {
  color: #a5d6a7;
}
.code-block .c-number {
  color: #ffd54f;
}
.code-block .c-function {
  color: #81d4fa;
}
.code-block .c-comment {
  color: var(--text-muted);
  font-style: italic;
}
.code-block .c-operator {
  color: var(--text-primary);
}
.code-block .c-variable {
  color: #ce93d8;
}

.block-img-scroll {
  position: relative;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 1rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}
.block-img-scroll::-webkit-scrollbar {
  width: 8px;
}
.block-img-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.block-img-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.block-img-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  position: sticky;
  left: max(min((100vw - 1300px) / 2 + 20px, 15vw + 20px), 24px);
  bottom: 24px;
  margin-bottom: 24px;
  z-index: 50;
  width: 148px;
  background: #111;
  border: 1px solid #333;
  padding: 11px 14px;
  color: #999;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}
.back-to-top:hover {
  color: #ffffff;
  border-color: #0a0a0a;
}
.back-to-top {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:focus-visible {
  outline: none;
  border-color: var(--border);
  box-shadow: 0 0 0 2px rgba(230, 59, 46, 0.2);
}
.back-to-top__icon {
  font-size: 12px;
  transform: translateY(-1px);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.yt-consent {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  overflow: hidden;
}
.yt-consent__media {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
  height: 100%;
}
.yt-consent__media img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.yt-consent__media iframe {
  position: absolute;
  inset: 0;
  border: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.yt-consent__overlay {
  aspect-ratio: 16/9;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
}
.yt-consent__panel {
  width: min(100%, 520px);
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  text-align: center;
}
.yt-consent__eyebrow {
  margin: 0 0 10px;
  color: var(--dim);
  font-family: "Rajdhani", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.yt-consent__title {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-family: "Rajdhani", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
}
.yt-consent__text {
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.65;
}
.yt-consent__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.yt-consent__cta, .yt-consent__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 14px;
  font-family: "Rajdhani", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.yt-consent__cta {
  background: var(--btn-bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.yt-consent__cta:hover {
  background: var(--cta-hover-bg);
  color: #000;
  border-color: var(--cta-hover-bg);
  transform: translateY(-1px);
}
.yt-consent__link {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.yt-consent__link:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (max-width: 520px) {
  .page {
    width: 100%;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item,
  .portfolio-item--wide {
    grid-column: span 1;
    aspect-ratio: 1/1;
  }
  .toggle-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .sidebar .links {
    display: none;
  }
}
@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

.hero-video-section {
  height: 200vh; /* Genug Raum für Scroll-Effekt */
  position: relative;
}

.hero-video-sticky {
  position: sticky;
  top: 0;
  height: calc(100vh + 56px);
  width: 100%;
  z-index: 1;
  background-color: linear-gradient(to-bottom, transparent 90%, #000);
}

.hero-video-sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 85%, var(--bg-primary) 95%);
  pointer-events: none; /* Text anklickbar halten */
}

.hero-video-sticky::after {
  content: "▾"; /* Oder '⬇️' / SVG-Icon als background-image */
  transform: rotate(180deg);
  position: absolute;
  bottom: 5rem;
  left: 50%;
  z-index: 3;
  color: var(--text-primary); /* #ffffff aus Styleguide */
  font-family: Rajdhani, monospace;
  font-size: 1.5rem; /* ~16px, skaliert */
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  animation: bounce 2s infinite; /* Subtiler Loop */
  pointer-events: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
    opacity: 0.9;
  }
}
.hero-video-sticky video {
  z-index: 0;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.hero-video-overlay-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 10;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%); /* Start-Pos */
}
.hero-video-overlay-sticky div {
  text-align: center;
  padding: 2rem;
  animation: fadeInUp 1.5s ease-out;
}
.hero-video-overlay-sticky h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #cccccc;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  line-height: 0.9;
}
.hero-video-overlay-sticky h3 {
  font-size: 1.5rem;
  font-weight: 100;
  color: #cccccc;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================
   PORTFOLIO TEASER – BRICK OVERFLOW
   ======================================== */
.portfolio-teaser {
  padding: 100px 0 20px;
  background: var(--bg-primary);
  border-top: 1px solid rgba(51, 51, 51, 0.5);
  overflow: hidden;
}

.portfolio-teaser__wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

/* --- LEFT: TEXT CONTENT --- */
.portfolio-teaser__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 480px;
  align-self: center;
  justify-self: center;
  transform: translateY(-25%);
}

.portfolio-teaser__heading {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  font-family: "Rajdhani", monospace;
  letter-spacing: -0.02em;
  margin: 0;
}

.portfolio-teaser__description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Rajdhani", monospace;
  margin: 0;
}

/* --- RIGHT: BRICK GRID (OVERFLOW) --- */
.portfolio-teaser__grid-wrapper {
  overflow: visible;
  position: relative;
  width: 100%;
}

.portfolio-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: auto;
  gap: 10px;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  transition: all 0.4s ease;
  padding-right: 10%;
  transform: translateX(10%);
  /* Ermöglicht Overflow nach rechts */
}
.portfolio-teaser__grid:has(.teaser-item--h2) {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}
.portfolio-teaser__grid:hover {
  padding-left: 10%;
  padding-right: 0%;
  gap: 16px;
}

.row1 {
  transform: translateX(40%);
}

.row3 {
  transform: translateX(60%);
}

.row4 {
  transform: translateX(-20%);
}

@media (max-width: 640px) {
  .portfolio-teaser__wrapper {
    display: block;
  }
  .portfolio-teaser__grid {
    gap: 4px;
  }
}
@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

.introduction {
  position: relative;
  display: flex;
  padding: 40px 24px;
  gap: 50px;
  background-color: #000000;
  max-width: 1300px;
  margin-top: 60px;
  justify-self: center;
}
.introduction .introduction_text_box .primary-button {
  opacity: 0;
  transform: translateX(-20px);
  text-align: left;
}
.introduction .introduction_Bilderrahmen {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #d3564d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.introduction .introduction_Bilderrahmen:hover {
  filter: brightness(1.1) saturate(1.2) hue-rotate(-8deg);
}
.introduction img {
  width: 295px;
  height: 295px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
}
.introduction .introduction_text_box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  justify-content: center;
  max-width: 850px;
}
.introduction .introduction_text_box h1 {
  display: block;
  height: auto;
  font-family: "Press Start 2P", monospace;
  margin: 0;
  font-size: 2.5rem;
  color: var(--text-primary);
  line-height: 3.5rem;
}
.introduction .introduction_text_box h1 span {
  border-bottom: 5px solid var(--accent-hover);
  transition: all 0.1s ease;
}
.introduction .introduction_text_box h1 span:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--text-primary);
}
.introduction .introduction_text_box .introduction_text {
  color: var(--text-secondary);
  font-size: 1.2em;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: none;
  text-align: justify;
}

.introduction:hover .primary-button,
.introduction_Bilderrahmen:hover .primary-button,
.introduction_text_box:hover .primary-button {
  opacity: 1;
  transform: translateX(0);
}

/* Optional: Erweitert Hover auf alle Children dynamisch */
.introduction * {
  pointer-events: none;
}

.introduction:hover * {
  pointer-events: auto;
}

.backgroundimg {
  position: relative;
  background-color: #000;
  background-image: linear-gradient(to bottom, transparent 0%, transparent 92%, #000), url("/projects/HotH/Renders/MainShot1 - Moody.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.backgroundimg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.backgroundimg > * {
  position: relative;
  z-index: 2;
}

#Softskills #toggleAllSkills,
#Softwareskills #toggleAllSkills {
  margin: 24px 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 1200;
  text-transform: uppercase;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: transparent 1px solid;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  color: #000000;
  font-weight: 1200;
  background-color: rgba(255, 255, 255, 0.8);
}
#Softskills #toggleAllSkills:hover,
#Softwareskills #toggleAllSkills:hover {
  color: #ffffff;
  font-weight: 1200;
  background-color: transparent;
  border-color: #ffffff;
  cursor: pointer;
}
#Softskills div,
#Softwareskills div {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
}
#Softskills .line,
#Softwareskills .line {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
#Softskills .softskillbox,
#Softskills .softwareskillbox,
#Softwareskills .softskillbox,
#Softwareskills .softwareskillbox {
  padding: 5px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: auto;
  border-radius: 10px;
  border: 1px solid transparent;
  margin: 12px;
  position: relative;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(5px);
}
#Softskills .softwareskillbox,
#Softwareskills .softwareskillbox {
  height: 210px;
  margin-bottom: 20px;
  margin-top: 10px;
  transition: all 0.5s ease, transform 0.35s ease, margin 0.5s ease-out;
}
#Softskills .softwareskillbox img,
#Softwareskills .softwareskillbox img {
  width: 100px;
  height: 100px;
  margin-top: 15px;
  margin-bottom: 10px;
}
#Softskills .softwareskillbox .hidden,
#Softwareskills .softwareskillbox .hidden {
  transition: all 0.5s ease;
  display: none !important;
}
#Softskills .softwareskillbox .line span,
#Softwareskills .softwareskillbox .line span {
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  margin: 0 3px;
}
#Softskills .softwareskillbox .line .stroke,
#Softwareskills .softwareskillbox .line .stroke {
  background-color: #5a5a5a;
}
#Softskills .softwareskillbox .line .strokemarked,
#Softwareskills .softwareskillbox .line .strokemarked {
  background-color: #cccccc;
}
#Softskills .softwareskillbox p,
#Softwareskills .softwareskillbox p {
  margin-bottom: 0;
  font-size: 0.8rem;
}
#Softskills .softwareskillbox:hover,
#Softwareskills .softwareskillbox:hover {
  border-color: var(--accent-hover);
  background: rgba(17, 17, 17, 0.7);
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
  margin: 8px 30px 8px;
  cursor: pointer;
}
#Softskills .softwareskillbox:hover .strokemarked,
#Softwareskills .softwareskillbox:hover .strokemarked {
  background-color: #d3564d;
}
#Softskills .softskillbox,
#Softwareskills .softskillbox {
  border: none;
  transition: all 0.8s ease-out;
  margin-bottom: 20px;
  margin-top: 20px;
  width: 160px;
  height: 170px;
}
#Softskills .softskillbox img,
#Softwareskills .softskillbox img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  filter: invert(100%);
}
#Softskills .softskillbox:hover,
#Softwareskills .softskillbox:hover {
  border-color: var(--accent-hover);
  background: rgba(17, 17, 17, 0.7);
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
  transform: scale(1.01);
  animation: jumpAndBounce 1.5s ease;
}
#Softskills .softskillbox h3,
#Softwareskills .softskillbox h3 {
  color: var(--text-primary);
  font-size: 1.1em;
  text-align: center;
}

@keyframes jumpAndBounce {
  0%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(10px);
  }
  60%, 91% {
    transform: translateY(5px);
  }
  35% {
    transform: translateY(-35px);
    filter: brightness(1.75);
  }
  72.5% {
    transform: translateY(-20px);
  }
}
.skills-marquee {
  position: relative;
  margin: 40px 0 20px 0;
  width: 100%;
  height: 30px;
  background: transparent;
  overflow: hidden;
}
.skills-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  position: absolute;
  width: -moz-max-content;
  width: max-content;
  height: 100%;
  top: 0;
  will-change: transform;
  animation: scroll-right 40s linear infinite;
}

@keyframes scroll-right {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.skills-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 30px;
  margin: auto 20px;
  background: transparent;
  border: 2px solid #cccccc;
  border-radius: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
}

.skills-text {
  font-size: 15px;
  font-weight: 700;
  color: #cccccc;
  text-transform: uppercase;
}

.projects-strips {
  display: flex;
  height: min(90vh, 120vw);
  width: 100%;
  background: transparent;
  overflow: hidden;
  margin-bottom: 4px;
  overflow-x: auto; /* Horizontales Scrollen bei Overflow */
  overflow-y: hidden; /* Kein vertikales Scrollen */
  scroll-behavior: smooth; /* Sanftes Scrollen */
}

.projects-panel {
  position: relative;
  flex: 1; /* Panels stay equal size */
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.8s ease;
  filter: grayscale(0.15) brightness(0.95);
  margin: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(16.6666666667vw - 10px);
  min-width: 200px;
}

.projects-panel img {
  transition: all 0.8s ease;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 10px;
}

.projects-panel-explore {
  border-radius: 10px;
  height: 100%;
  width: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.projects-panel-explore h2 {
  color: var(--text-primary);
  font-size: 18px;
  font-family: "Press Start 2P", monospace, monospace;
  text-transform: uppercase;
}
.projects-panel-explore img {
  margin-bottom: 20px;
  width: 48px;
  height: 48px;
  filter: invert(1);
}
.projects-panel-explore:hover {
  filter: brightness(1.2);
}
.projects-panel-explore:hover img {
  animation: arrowbounce 1s ease-out infinite;
}

@keyframes arrowbounce {
  0% {
    transform: translateX(0px);
  }
  33% {
    transform: translateX(5px);
  }
  66% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0px);
  }
}
/* Fixed size on hover - NO GROW */
.projects-panel-bg-explore,
.projects-panel-bg {
  position: absolute;
  border-radius: 10px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
}

.projects-panel-bg:hover {
  filter: grayscale(0) brightness(1.1);
  height: calc(100% - 40px);
}

.projects-label {
  color: var(--text-primary);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.projects-panel:hover .projects-label {
  transform: translateY(0px);
  opacity: 1;
}

.projects-label h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}

.section-label {
  font-family: "Rajdhani", monospace;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cccccc;
  margin: 24px 0;
  text-align: center;
}

.experience-section {
  margin-top: 20px;
  padding-bottom: 120px;
}
.experience-section .experience-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.experience-section .experience-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
  padding-left: 15px;
  -o-border-image: linear-gradient(to bottom, transparent, #333 25%, #333 75%, transparent) 1 100%;
     border-image: linear-gradient(to bottom, transparent, #333 25%, #333 75%, transparent) 1 100%;
  border-width: 0 0 0 2px;
  border-style: dashed;
  gap: 14px;
}
.experience-section .experience-item {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(5px);
  width: min(1200px, 90vw);
  border-radius: 10px;
  border: 1px solid var(--bg-secondary);
  padding: 14px 16px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 4px;
  perspective: 8px; /* Tiefe-Effekt */
  perspective-origin: center; /* Vanishing Point */
  transform-style: preserve-3d;
  transition: all 2s ease, border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out, background 160ms ease-out;
}
.experience-section .experience-item:hover {
  border-color: var(--accent-hover);
  background: rgba(17, 17, 17, 0.7);
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
  transform: scale(1.01);
}
.experience-section .experience-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.experience-section .experience-meta .experience-year {
  font-weight: 700;
}
.experience-section .experience-role {
  font-family: "Rajdhani", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 4px;
}
.experience-section .experience-company {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.experience-section .experience-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 8px;
  margin-bottom: 8px;
}
.experience-section .experience-desc li {
  margin-left: 20px;
}
.experience-section .experience-desc a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 160ms ease-out;
}
.experience-section .experience-desc a:hover {
  color: var(--accent-hover);
}
.experience-section .experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.experience-section .experience-tags .tag {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px 3px;
  border-radius: 999px;
  background: var(--btn-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: border-color 140ms ease-out, color 140ms ease-out, background 140ms ease-out;
}
.experience-section .experience-summary:hover {
  cursor: pointer;
}

@media (max-width: 1300px) {
  .introduction {
    flex-direction: column;
    padding: 24px 16px;
    gap: 30px;
    text-align: center;
    padding-bottom: 40px;
  }
  .introduction .introduction_Bilderrahmen {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  .introduction img {
    width: 245px;
    height: 245px;
  }
  .introduction .introduction_text_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .introduction .introduction_text_box h1 {
    font-size: 2rem;
    align-self: center;
  }
  .introduction .introduction_text_box .introduction_text {
    font-size: 1.1em;
    max-width: 100%;
    padding: 0 8px;
  }
  .skills-marquee {
    height: 50px;
  }
  .skills-item {
    height: 36px;
    padding: 0 15px;
    margin: auto 10px;
  }
  .skills-text {
    font-size: 11px;
  }
  .experience-section .experience-item {
    padding: 12px 12px 10px;
  }
  .experience-section .experience-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .experience-section .experience-role {
    font-size: 12px;
  }
}
.experience-section .experience-item summary {
  list-style: none;
}

.experience-section .experience-item summary::-webkit-details-marker {
  display: none;
}

.experience-section .experience-item summary::marker {
  content: "";
}

#Softwareskills .softwareskillbox {
  height: auto;
  min-height: 210px;
  overflow: hidden;
}

#Softwareskills .softwareskillbox[open] {
  border-color: var(--accent-hover);
  width: 260px;
}

#Softwareskills .softwareskill-details {
  width: 250px;
  overflow: hidden;
  padding: 0 12px;
  transition: all 0.5s ease;
}

#Softwareskills .softwareskill-details p,
#Softwareskills .softwareskill-details ul {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: block;
}

.typewriter {
  transition: color 0.35s ease;
}

@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/Press_Start_2P/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #5a5a5a;
  --accent-hover: #d3564d;
  --cta-hover-bg: rgba(255, 255, 255, 0.9803921569);
  --border: #333;
  --btn-bg: #111;
  --dim: #999;
}

/* --- fly-in keyframe --- */
@keyframes flyIn {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #000000;
  aspect-ratio: 1/1;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.05s ease-out, width 0.05s ease-out;
}

.portfolio-grid {
  padding: 100px 10px 0px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap, 10px);
  max-width: 1250px;
  margin: 0 auto;
  margin-bottom: 200px;
  /* --- base card --- */
}
.portfolio-grid .portfolio-item {
  transition: transform 0.05s ease-out, width 0.05s ease-out;
}
.portfolio-grid .portfolio-item .pushing-out {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  width: 0 !important;
}
.portfolio-grid .portfolio-item {
  /* fly-in defaults */
  opacity: 0;
  animation: flyIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.portfolio-grid {
  /* --- hover states --- */
}
.portfolio-grid .portfolio-item:hover .portfolio-item__image {
  transform: scale(1.06);
}

/* staggered delays – erweitere bei mehr Items */
.portfolio-item:nth-child(1) {
  animation-delay: 0.05s;
}

.portfolio-item:nth-child(2) {
  animation-delay: 0.12s;
}

.portfolio-item:nth-child(3) {
  animation-delay: 0.19s;
}

.portfolio-item:nth-child(4) {
  animation-delay: 0.26s;
}

.portfolio-item:nth-child(5) {
  animation-delay: 0.33s;
}

.portfolio-item:nth-child(6) {
  animation-delay: 0.4s;
}

.portfolio-item:nth-child(7) {
  animation-delay: 0.47s;
}

.portfolio-item:nth-child(8) {
  animation-delay: 0.54s;
}

.portfolio-item:nth-child(9) {
  animation-delay: 0.61s;
}

.portfolio-item:nth-child(10) {
  animation-delay: 0.68s;
}

.portfolio-item:nth-child(11) {
  animation-delay: 0.75s;
}

.portfolio-item--wide {
  grid-column: span 2;
  aspect-ratio: 61/30;
}

/* --- image --- */
.portfolio-item__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

/* --- always-on bottom gradient --- */
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

/* --- content: hidden until hover --- */
.portfolio-item__content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.portfolio-item__tag {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.portfolio-item__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.portfolio-item__meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* --- inset border --- */
.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 3;
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item__content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.primary-button {
  font-family: "Press Start 2P", monospace;
  padding: 11px 24px 9px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.primary-button:hover {
  background: var(--cta-hover-bg);
  color: var(--bg-primary);
  border-color: #ffffff;
}

/* Mobile font tweaks that were previously global inside @media */
@media (max-width: 768px) {
  .primary-button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}/*# sourceMappingURL=style.css.map */