/* =====================
   RESET & BASE
   ===================== */
html {
  margin: 0;
  height: 100%;
  scroll-behavior:smooth;
}

@font-face {
  font-family: "Satoshi";
  src: url("Font/Satoshi-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("Font/Satoshi-Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("Font/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("Font/Satoshi-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

body {
  margin: 0;
  height: 100%;
  font-family: "Satoshi", sans-serif;
      margin: 40px;
  /* Fix 2: black body background */
  background-color: #000;
  overflow-x: hidden;
  position: relative;
}

/* =====================
   TOP BAR
   ===================== */
.top-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 53px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
  z-index: 1200;
}

/* ── Left: burger (mobile) + LH logo ── */
.bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lh-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* ── Centre: desktop text nav ── */
.bar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.bar-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
  font-weight: bold;
}

.bar-nav a:hover {
  color: #ffffff;
  font-weight: bolder;
}

/* ── Right: glass Kontakt pill ── */
.bar-right {
  display: flex;
  align-items: center;
}

.kontakt-btn {
  padding: 7px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.kontakt-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  font-weight: bolder;
}

/* =====================
   MENU BUTTON
   ===================== */
@keyframes drawLine {
  from { stroke-dashoffset: 60; }
  to   { stroke-dashoffset: 0; }
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  height: 60px;
}

svg .line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 5;
  stroke-linecap: round;
  transition: all 0.4s ease;
  transform-origin: 50% 50%;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawLine 1s ease forwards;
}

.menu-toggle .line {
  transition: transform 0.3s ease;
}

.menu-toggle:hover .top    { transform: translateY(-8px) scaleX(1.5); }
.menu-toggle:hover .bottom { transform: translateY(8px)  scaleX(1.5); }

.menu-toggle.active .top    { transform: rotate(-45deg) translate(1px, 1px); }
.menu-toggle.active .middle { opacity: 0; }
.menu-toggle.active .bottom { transform: rotate(-45deg) translate(7px, -7px); }

/* =====================
   SIDEBAR
   ===================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  overflow: hidden;
  background-color: #0a0a0a;
  transition: width 0.3s ease;
  padding-top: 80px;
  z-index: 1000;
}

.sidebar a {
  display: block;
  padding: 15px 30px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 18px;
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.sidebar.open {
  width: 250px;
}

/* =====================
   INTRO SECTION
   100 vh placeholder — gives the page its initial
   scrollable height. The background video is behind
   all parallax layers (z-index: -10).
   ===================== */
.intro-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;
}

/* =====================
   FIX 1 — HERO TEXT AS PARALLAX LAYER
   position:fixed so it lives in the viewport background.
   z-index: 0 → above image layers (-5 to -2),
   below the gallery section (z-index: 1).
   It is the SLOWEST-moving element (0.015× in JS),
   so it appears to "stay" the longest as you scroll.
   Positioned near the top so it's immediately visible.
   ===================== */
.hero-text-layer {
  position: fixed;
  top: 7dvh;    /* sits in the black sky above the parallax scene (which starts at 35vh) */
  left: 12%;
  z-index: -6; /* behind parallax layers so the mountain covers it as you scroll */
  pointer-events: none;
  color: white;
}

/* Description text — lower third of the screen, ABOVE all parallax layers */
.hero-desc-layer {
  position: fixed;
  bottom: 15dvh;
  left: 12%;
  right: 6%;
  z-index: 0;  /* above parallax layers (-2 to -5), below gallery content (1) */
  pointer-events: none;
  color: white;
  max-width: 300px;
}

.hero-desc-layer {
  max-width: 380px;
}


.Introtextoben {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.05;
}

.Introtext {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

.hero-title-row {
  align-items: flex-end;
  gap: 24px;
}

.hero-text-layer h1 {
  font-size: clamp(72px, 9vw, 130px);
  line-height: 0.85;
  letter-spacing: -0.07em;
  margin-bottom: 5px;
}

.hero-text-layer h1 span {
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.08em;
  opacity: 0.82;
}

.hero-title-row{
  display:flex;
  align-items:flex-end;
  gap:24px;
}

.hero-name{
  margin-bottom:12px;

  font-size:clamp(18px,1.8vw,30px);

  letter-spacing:.15em;
  text-transform:uppercase;

  color:rgba(255,255,255,.55);
}

/* =====================
   PARALLAX SECTION
   Zero-height placeholder — all layers are fixed.
   ===================== */
.video-gallery-section {
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
}

.parallax {
  display: contents;
}

.parallax-layer {
  position: fixed;
  top: 25vh;   /* scene starts at 35 % down — black sky above shows the title */
  left: 0;
  width: 100%;
  height: 250vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  pointer-events: none;
}

.layer-back {
  background-image: url(Images/ParallaxLayer/ParalaxBackground.webp);
  z-index: -5;
  top: 11dvh;
}

.layer-middle {
  top:5dvh;
  background-image: url(Images/ParallaxLayer/ParalaxLayerSee.webp);
  z-index: -4;
}

.layer-front {
  top: 16dvh;
  background-image: url(Images/ParallaxLayer/ParalaxElch.webp);
  z-index: -3;
}

.layer-nextLevel {
  top:27vh;
  background-image: url(Images/ParallaxLayer/ParalaxnextLevel.webp);
  z-index: -2;
}

@media (max-width: 600px) {
.parallax-layer {
  height: 120vh;
}
.layer-middle {
  top:10vh;
}

}

/* =====================
   GALLERY SECTION
   ===================== */
.gallery-section {
  position: relative;
  width: 100%;
  background: transparent;
  padding: 80px 0 100px 0;
  box-sizing: border-box;
  z-index: 1;
}

.gallery-position {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 0 10%;
  box-sizing: border-box;
}

/* =====================
   GALLERY HEADER
   ===================== */
.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.gallery-header h2 {
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  margin: 0;
}

.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-buttons button {
  position: relative;
  overflow: hidden;
  padding: 8px 18px;
  border: 1px solid rgba(181, 181, 181, 0.27);
  border-radius: 10px;
  background: rgba(45, 45, 45, 0.25);
  backdrop-filter: blur(10px) saturate(800%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.35s ease, color 0.35s ease,
              border-color 0.35s ease, box-shadow 0.35s ease;
}

.filter-buttons button span {
  position: relative;
  z-index: 2;
}

.filter-buttons button:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(5px) saturate(2000%);
}

.filter-buttons button::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
  transition: width 0.4s ease;
}

.filter-buttons button.active {
  color: rgba(10, 10, 10, 0.9);
  border-color: rgba(255, 255, 255, 0.7);
}

.filter-buttons button.active::before {
  width: 100%;
}

/* =====================
   VIDEO GALLERY GRID
   ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 20px;
  flex: 1;
  width: 100%;
  max-width: 100%;
}

/* =====================
   FIX 3 — VIDEO CARD: closer to design reference
   Very dark translucent background, subtle border,
   number label in the info row.
   ===================== */
.card-video video,
.card-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-image {
  pointer-events: none;
}
.video-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px) saturate(400%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  padding: 20px 20px 0;
  overflow: hidden;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-wrapper video {
  pointer-events: none;
}

.video-wrapper:hover {
  transform: scale(1.025);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(5px) saturate(400%);
}

.video-wrapper.playing {
  transform: scale(1.025);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(5px) saturate(400%);
}

.video-wrapper.playing .card-video video {
  transform: scale(1.04);
}

.video-wrapper.inactive {
  order: 2;
  opacity: 0.45;
  transform: scale(0.93);
}

.video-wrapper.inactive:hover {
  opacity: 1;
  transform: scale(0.96);
  backdrop-filter: blur(5px) saturate(400%);
}

.video-wrapper.active {
  order: 1;
  opacity: 1;
}

@media (max-width: 700px) {

  .video-wrapper.playing {
    transform: scale(1.06);
  }

  .video-wrapper.playing .card-video video {
    transform: scale(1.1);
  }

}

/* Video thumbnail area — square */
.card-video {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #050505;
}

.card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-wrapper:hover .card-video video {
  transform: scale(1.04);
}

/* Search/play icon overlay — only visible on hover */
.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-wrapper:hover .custom-play-button {
  opacity: 1;
}

.custom-play-button:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Info row: title + description left, number right */
.card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 14px 15px;
  gap: 10px;
}

.card-info-main {
  flex: 1;
  min-width: 0;
}

.card-info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.card-info p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Sequential number, top-right of the info area */
.card-number {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.77);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* =====================
   CONTENT SECTIONS  (Leistungen + Über mich)
   Solid black background so they paint over the
   fixed parallax layers when scrolled into view.
   ===================== */
.content-section {
  position: relative;
  z-index: 2;
  background: #000000a4;
  padding: 100px 0 80px;
  scroll-margin-top: 53px;   /* compensate for fixed top bar */
}

.content-section--alt {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8%;
  box-sizing: border-box;
}

.section-heading {
  font-size: clamp(36px, 5vw, 64px);
  color: #fff;
  margin: 0 0 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Leistungen grid ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 28px 24px 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-4px);
}

.skill-icon {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  line-height: 1;
}

.skill-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.skill-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.6;
}

/* ── Über mich layout ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin: 0 0 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.75;
}

.about-text .about-lead {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.5;
  margin-bottom: 24px;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fact-item:last-of-type {
  border-bottom: none;
}

.fact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.fact-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
}

.about-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
}

.about-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

/* =====================
   VIDEO OVERLAY
   Position is set entirely via JS for the FLIP animation.
   CSS only defines the visual appearance + which properties transition.
   ===================== */
.video-overlay {
  position: fixed;
  z-index: 3000;
  border-radius: 8px;
  overflow: hidden;

  background: rgba(67, 67, 67, 0.27);
  backdrop-filter: blur(20px) saturate(400%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);

  opacity: 0;
  pointer-events: none;

  transition:
    top    0.42s cubic-bezier(0.4, 0, 0.2, 1),
    left   0.42s cubic-bezier(0.4, 0, 0.2, 1),
    width  0.42s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.42s ease,
    opacity 0.28s ease;
}

.overlay-inner {
  display: flex;
  height: 100%;
  width: 100%;
}

/* Left: video, ~60% */
.overlay-video-side {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
}

.overlay-video-side {
  position: relative;
}

.overlay-gallery-btn {
  position: absolute;
  bottom: 15%;

  z-index: 50;

  width: 36px;
  height: 36px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;

  background: rgba(206, 206, 206, 0.5);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: rgba(255,255,255,.85);

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.overlay-gallery-btn svg{
  width: 28px;
  height: 28px;
}

.overlay-gallery-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
}

.overlay-prev {
  left: 18px;
}

.overlay-next {
  right: 18px;
}

.overlay-video-side video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Right: info, ~40% */
.overlay-info-side {
  flex: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  overflow-y: auto;
}

.overlay-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.overlay-number {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.77);
  letter-spacing: 0.06em;
}

.overlay-category-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(255, 255, 255, .77);
  border: 1px solid rgba(255, 255, 255, 0.77);
  border-radius: 20px;
  padding: 3px 10px;
}

.overlay-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.overlay-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.77);
  max-width: 380px;
}

#overlayMedia {
  width: 100%;
  height: 100%;
}

#overlayMedia video,
#overlayMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Close button — top right */
.overlay-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.overlay-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.overlay-image {
  max-width: 100%;
  max-height: 90vh;
}

/* Mobile: stack vertically */
@media (max-width: 700px) {
  .video-overlay {
    inset: 10px;
  }
  .overlay-inner {
    flex-direction: column;
  }
  .overlay-video-side {
    flex: 0 0 55%;
    border-radius: 12px 12px 0 0;
  }
  .overlay-info-side {
    padding: 24px 22px;
    gap: 14px;
  }
  .overlay-desc {
    font-size: 13px;
  }
}

/* =====================
   ZURÜCK-ZUR-GALERIE Button
   Fixed, right side — fades in once gallery is scrolled past
   ===================== */
.back-to-gallery {
  position: fixed;
  right: 35px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 500;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px 10px;

  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background 0.25s ease;
}

.back-to-gallery.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-gallery:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btg-icon {
  font-size: 16px;
  line-height: 1;
}

.btg-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* =====================
   DESKTOP – hide burger
   ===================== */
@media (min-width: 601px) {
  .menu-toggle { display: none; }
}

/* =====================
   MOBILE  ≤ 600 px
   ===================== */
@media (max-width: 600px) {
  .bar-nav   { display: none; }
  .bar-right { display: none; }

  .menu-toggle { display: flex; }

  .lh-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .gallery-position {
    flex-direction: column;
    padding: 0 16px;
    gap: 0;
  }

  .gallery-header {
    position: sticky;
    top: 53px;
    z-index: 200;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 0 -16px;
    width: calc(100% + 32px);
    box-sizing: border-box;
    margin-bottom: 16px;
  }

  .filter-buttons {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
 .hero-text-layer h1 {
    font-size: 54px;
    margin-bottom: 7px;
  }
 
  
  .hero-title-row{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .hero-name{
    margin-left:0;
    margin-bottom:0;
    font-size: 16px;
  }

  .hero-desc-layer {
    bottom: 22dvh;
    max-width: 280px;
  }
  .hero-text-layer {
    top: 5dvh;
    left: 14%;
  }

  /* Leistungen: 1 column on mobile */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Über mich: stack vertically on mobile */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-section {
    padding: 70px 0 60px;
  }
}

/* KONTAK */

.about-image{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  aspect-ratio:4/5;
  background:#111;
}

.about-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mobile-contact-float {
  display: none;
}

@media (max-width: 600px) {
  .mobile-contact-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 650;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #ffffff;
    text-decoration: none;

    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .contact-mail-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

}

#toLeistungen{
  opacity:0;
  pointer-events:none;
}

#toLeistungen.visible{
  opacity:1;
  pointer-events:auto;
}

@media (max-width: 600px) {

  #kontakt .about-layout{
    display:flex;
    flex-direction:column-reverse;
    gap:40px;
  }

  #kontakt .about-image{
    width:100%;
    max-width:420px;

    margin:0 auto;

    display:flex;
    justify-content:center;
  }

  #kontakt .about-image img{
    width:100%;
    height:auto;
    display:block;
  }

}

.card-video video,
.card-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}