/* Inter (variable, self-hosted) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-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;
}

:root {
  --font-inter: 'Inter';
}

[hidden] {
  display: none !important;
}
/* Shared styles: global, navigation, buttons, contact footer */

/* ===== globals (app/globals.scss) ===== */
body {
  overflow-y: scroll; /* always show vertical scrollbar if needed */
  background-color: rgb(3, 3, 3);
  font-family: var(--font-inter), "Inter", sans-serif;
  margin: 0;
  padding: 0;
  /* height: 100vh; */
  overflow-x: hidden;
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #404040 transparent;
}

html, body {
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #404040 transparent;
}

/* var(--contact-bg-color, #141516) */
/* 3, 3, 3 */
body.dark-mode {
  background-color: rgb(3, 3, 3);
  color: rgb(236, 236, 236);
  --header-bg-color: rgb(3, 3, 3);
  --scroll-text-color: rgb(246, 246, 246);
  --scroll-span-color: rgb(246, 246, 246);
  --scroll-p-color: rgb(246, 246, 246);
  --scroll-h1-color: rgb(246, 246, 246);
  --scroll-h2-color: rgb(246, 246, 246);
  --scroll-h3-color: rgb(246, 246, 246);
  --scroll-h4-color: rgb(246, 246, 246);
  --scroll-h5-color: rgb(246, 246, 246);
  --scroll-navi-color: rgb(246, 246, 246);
  --cta-button-color: rgb(246, 246, 246);
  --contact-bg-color: rgb(3, 3, 3);
  --cta-ball-color: #1e1e1e;
  --location-color: rgb(246, 246, 246);
  --arrowdown-color: rgb(246, 246, 246);
  --nav-burger-color: rgb(246, 246, 246);
  --primary-text-color: rgb(246, 246, 246);
  --hover-color: rgb(204, 204, 204);
  --background-blur-color: rgba(67, 67, 67, 0.56);
  --backgroundtwo-blur-color: rgb(17, 17, 17);
  --outline-stroke-color: #17cf13;
  --center-fill-color: rgb(246, 246, 246);
  --mask-fill-color: rgb(249, 4, 208);
  --sunray-stroke-color: rgb(246, 246, 246);
  --label-bg-color: #333333;
  --label-text-color: #ffffff;
  --slidingimg-bg-color: rgb(3, 3, 3);
  --slidingimgframe-bg-color: #0f0f0f9e;
}

body.light-mode {
  background-color: rgb(246, 246, 246);
  color: rgb(13, 13, 13);
  --header-bg-color: rgb(246, 246, 246);
  --scroll-text-color: rgb(13, 13, 13);
  --scroll-span-color: rgb(13, 13, 13);
  --scroll-p-color: rgb(13, 13, 13);
  --scroll-h1-color: rgb(13, 13, 13);
  --scroll-h2-color: rgb(13, 13, 13);
  --scroll-h3-color: rgb(13, 13, 13);
  --scroll-h4-color: rgb(13, 13, 13);
  --scroll-h5-color: rgb(13, 13, 13);
  --scroll-navi-color: rgb(13, 13, 13);
  --cta-button-color: rgb(13, 13, 13);
  --cta-button-bg-background: rgb(13, 13, 13);
  --contact-bg-color: rgb(246, 246, 246);
  --cta-ball-color: #d8d8d8;
  --location-color: #18181B;
  --arrowdown-color: #18181B;
  --nav-burger-color: #18181B;
  /* New Navigation Variables */
  --primary-text-color: rgb(13, 13, 13);
  --hover-color: #505050;
  --background-blur-color: rgba(245, 245, 245, 0.9);
  --backgroundtwo-blur-color: rgb(230, 230, 230);
  --outline-stroke-color: #3a1095;
  --center-fill-color: rgb(13, 13, 13);
  --mask-fill-color: rgb(0, 0, 0);
  --sunray-stroke-color: rgb(13 13 13 / 0%);
  --label-bg-color: #333333;
  --label-text-color: #ffffff;
  --slidingimg-bg-color: rgb(246, 246, 246);
  --slidingimgframe-bg-color: #eeeeee8a;
}

body.red-mode {
  background-color: darkred;
  color: rgb(236, 236, 236);
  --header-bg-color: rgb(139, 0, 0);
  --scroll-text-color: rgb(246, 246, 246);
  --scroll-span-color: rgb(246, 246, 246);
  --scroll-p-color: rgb(246, 246, 246);
  --scroll-h1-color: rgb(246, 246, 246);
  --scroll-h2-color: rgb(246, 246, 246);
  --scroll-h3-color: rgb(246, 246, 246);
  --scroll-h4-color: rgb(246, 246, 246);
  --scroll-h5-color: rgb(246, 246, 246);
  --scroll-navi-color: rgb(246, 246, 246);
  --cta-button-color: rgb(246, 246, 246);
  --contact-bg-color: #5c0a0a;
  --location-color: rgb(246, 246, 246);
  --arrowdown-color: rgb(246, 246, 246);
  --nav-burger-color: rgb(246, 246, 246);
  /* New Navigation Variables */
  --primary-text-color: rgb(246, 246, 246);
  --hover-color: #ffb3b3;
  --background-blur-color: rgba(92, 10, 10, 0.7);
}

body.blue-mode {
  background-color: rgb(38, 109, 207);
  color: rgb(255, 255, 255);
  --header-bg-color: rgb(38, 109, 207);
  --scroll-text-color: rgb(246, 246, 246);
  --scroll-span-color: rgb(246, 246, 246);
  --scroll-p-color: rgb(246, 246, 246);
  --scroll-h1-color: rgb(246, 246, 246);
  --scroll-h2-color: rgb(246, 246, 246);
  --scroll-h3-color: rgb(246, 246, 246);
  --scroll-h4-color: rgb(246, 246, 246);
  --scroll-h5-color: rgb(246, 246, 246);
  --scroll-navi-color: rgb(246, 246, 246);
  --cta-button-color: rgb(246, 246, 246);
  --contact-bg-color: #104da1;
  --location-color: rgb(246, 246, 246);
  --arrowdown-color: rgb(246, 246, 246);
  --nav-burger-color: rgb(246, 246, 246);
  /* New Navigation Variables */
  --primary-text-color: rgb(246, 246, 246);
  --hover-color: #b0d4ff;
  --background-blur-color: rgba(16, 77, 161, 0.7);
}

p, h1, h2, h3, h4, h5, h6 {
  transition: color 0.3s ease, background-color 0.3s ease;
}

p {
  color: var(--scroll-p-color, rgb(255, 255, 255));
  font-size: 1.125rem;
  line-height: 1.61;
}

h1 {
  transition: color 0.3s ease, background-color 0.3s ease;
  color: var(--scroll-h1-color, rgb(255, 255, 255)) !important;
  font-size: clamp(1.5rem, 12vw + 2rem, 12.5rem);
  line-height: 1.2;
  margin: 0;
}

h2 {
  color: var(--scroll-h2-color, rgb(255, 255, 255)) !important;
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1.2;
  margin: 0;
}

h3 {
  color: var(--scroll-h3-color, rgb(255, 255, 255)) !important;
  font-weight: 500;
  font-size: clamp(1.5rem, 10vw, 2rem);
  line-height: 1.2;
  margin: 0;
}

h4 {
  color: var(--scroll-h4-color, rgb(255, 255, 255)) !important;
  font-size: clamp(1.55em, 2.3vw, 2.5em);
  line-height: 1.45;
}

h5 {
  color: var(--scroll-h5-color, rgb(255, 255, 255)) !important;
  font-weight: 450;
  font-style: normal;
  font-size: 0.6em;
  line-height: 1.065;
  margin-bottom: 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

span {
  color: var(--scroll-span-color, rgb(255, 255, 255)) !important;
}

.wrapper {
  padding-left: 30px;
  padding-right: 30px;
}

.spacer-lg {
  height: 160px;
  display: block;
}

.spacer-sm {
  height: 64px;
  display: block;
}

@media screen and (max-width: 500px) {
  .work-tiles ul li a h4 {
    font-size: calc(clamp(1.75em, 2.3vw, 2.5em) * 1.125);
  }
  .spacer-lg {
    height: 64px;
  }
  .spacer-sm {
    height: 32px;
  }
}
:focus-visible {
  outline: 2px solid var(--scroll-navi-color, rgb(255, 255, 255));
  outline-offset: 3px;
}

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

/* ===== rb (common/RoundedButton/style.module.scss) ===== */
.rb-roundedButton {
  border-radius: 1.5em;
  border: 1px solid rgb(136, 136, 136);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 80px 15px 80px;
  text-wrap: nowrap;
  overflow: hidden;
}
.rb-roundedButton.rb-raised {
  z-index: 100;
}
.rb-roundedButton p {
  position: relative;
  z-index: 1;
  transition: color 0.4s linear;
  text-decoration: none;
}
/* While the blue circle fills the button the text turns white (dark text on blue looked bad in the light theme).
   The change is delayed until the circle has reached the text, otherwise white text would flash on the light page. */
.rb-roundedButton svg path {
  transition: stroke 0.25s linear;
}
.rb-roundedButton:hover p {
  color: #fff !important;
  transition: color 0.15s linear 0.22s;
}
.rb-roundedButton:hover svg path {
  stroke: #fff;
  transition: stroke 0.15s linear 0.22s;
}

.rb-circle {
  width: 100%;
  height: 150%;
  position: absolute;
  border-radius: 50%;
  top: 100%;
}

/* ===== lm (common/LightMode/style.module.scss) ===== */
/* style.module.scss */
.lm-pieChartContainer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  scale: 0.8;
}

.lm-pieChart {
  cursor: pointer;
  border-radius: 50%;
  rotate: 0deg;
  transition: transform 0.3s ease, rotate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sun <-> moon: the shapes are set in ui.js (attributes); these transitions animate the change */
.lm-pieChart #centerCircle {
  transition: r 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.lm-pieChart #maskedCircle {
  transition: cx 0.8s cubic-bezier(0.22, 1, 0.36, 1), cy 0.8s cubic-bezier(0.22, 1, 0.36, 1), r 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.lm-pieChart #sunLines {
  transform-origin: 20px 20px;
  transition: opacity 0.4s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
body.light-mode .lm-pieChart {
  rotate: -25deg;
}
body.light-mode .lm-pieChart #sunLines {
  transform: rotate(70deg) scale(0.5);
}

.lm-pieChart:hover {
  transform: scale(1.1); /* Slightly enlarge the toggle on hover */
}

/* Label styling */
.lm-label {
  position: absolute;
  top: 100%; /* Position it right of the icon */
  right: 1%;
  margin-left: 10px; /* Offset from the icon */
  background-color: var(--label-bg-color, rgba(0, 0, 0, 0.75)); /* Default background */
  color: var(--label-text-color, #FFFFFF); /* Default text color */
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show label on hover */
.lm-pieChartContainer:hover .lm-label {
  opacity: 1;
}

/* Native button wrapper (keyboard accessible) without default button chrome */
.lm-toggle {
  display: flex;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.lm-toggle:focus-visible {
  outline: 2px solid var(--scroll-navi-color, rgb(255, 255, 255));
  outline-offset: 4px;
  border-radius: 50%;
}

/* ===== stt (common/ScrollToTop/style.module.scss) ===== */
/* style.module.scss */
.stt-scrollToTopButton {
  position: fixed;
  bottom: 23%;
  right: 30px;
  padding: 10px;
  /* background-color: #262525; */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 97;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  background: rgba(13, 13, 13, 0.7098039216);
}

.stt-scrollToTopButton:hover {
  background-color: #333;
  transform: translateY(-3px); /* Adds a slight "lift" effect on hover */
}

.stt-arrowIcon {
  width: 24px;
  height: 24px;
  transform: rotate(180deg); /* Rotate the arrow by 180 degrees */
}

/* ===== nav (components/NavigationTwo/style.module.scss) ===== */
.nav-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 148;
  backdrop-filter: blur(8px);
  height: 60px;
}

.nav-logo {
  font-size: 1rem !important;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  margin-left: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}
.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}
/* Only the logo mark is shown. On hover (or keyboard focus) the name slowly writes itself out next to it. */
.nav-logo .nav-logoText {
  font-size: 1.5rem;
  font-weight: 400;
  white-space: nowrap;
  margin-left: 12px;
  opacity: 0;
  clip-path: inset(-4px 100% -4px 0);
  transition: clip-path 0.5s ease, opacity 0.4s ease; /* leaving: quick */
}
.nav-logo a:hover .nav-logoText,
.nav-logo a:focus-visible .nav-logoText {
  opacity: 1;
  clip-path: inset(-4px 0 -4px 0);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, opacity 1.2s ease 0.1s; /* appearing: slow */
}

/* New container to group right-side items */
.nav-rightGroup {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 25px;
}

/* Ensure the burger & close buttons have the same dimensions */
.nav-burgerContainer,
.nav-closeButton {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 148;
}

.nav-basedInGermany {
  display: flex;
  align-items: center;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
}
.nav-basedInGermany p {
  margin-left: 10px;
  font-size: 1rem;
}
.nav-basedInGermany .nav-flagOutline {
  fill: none;
  stroke: var(--scroll-navi-color, rgb(255, 255, 255));
  stroke-width: 2;
}

.nav-navLinks {
  display: flex;
  gap: 40px;
  font-size: 1.125rem;
  font-weight: 300;
  align-items: center;
  margin-right: 30px;
}
.nav-navLinks a {
  text-decoration: none;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  position: relative;
  transition: color 0.2s ease;
}
.nav-navLinks a:hover {
  color: var(--hover-color, rgb(255, 255, 255));
}
.nav-navLinks a:hover::after {
  transform: scale(1);
}
.nav-navLinks a::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: var(--scroll-navi-color, rgb(255, 255, 255));
  border-radius: 50%;
  bottom: -5px;
  left: 50%;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-navLinks a:last-child {
  white-space: nowrap;
  max-width: 100%;
}

/* Updated light mode container as part of flex row */
.nav-lightModeContainer {
  position: relative;
}

/* Styles for the burger icon */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
.nav-burger span {
  width: 24px;
  height: 3px;
  background-color: var(--nav-burger-color, rgb(255, 255, 255));
  transition: transform 0.3s ease;
}

/* New styles for the X close icon */
.nav-closeIcon {
  width: 24px;
  height: 24px;
  position: relative;
}

.nav-closeIcon::before,
.nav-closeIcon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--nav-burger-color, rgb(255, 255, 255));
}

.nav-closeIcon::before {
  transform: rotate(45deg);
}

.nav-closeIcon::after {
  transform: rotate(-45deg);
}

.nav-navMenu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 350px;
  background-color: var(--backgroundtwo-blur-color, rgb(9, 9, 9));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 70px 30px 30px;
  z-index: 130;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}
.nav-navMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}
.nav-navMenu ul li {
  margin: 20px 0 0 0;
}
.nav-navMenu ul li a {
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  font-size: 60px;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  transition: color 0.2s ease;
}
.nav-navMenu ul li a:hover {
  color: var(--hover-color, rgb(201, 201, 201));
}

.nav-socialMedia {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.nav-socialMedia a {
  margin: 0 10px;
}
.nav-socialMedia a img {
  width: 30px;
  height: 30px;
  filter: invert(100%);
}

.nav-basedInGermanyBottom {
  position: absolute;
  bottom: 20px;
  display: flex;
  align-items: center;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  text-align: center;
}
.nav-basedInGermanyBottom svg {
  margin-right: 10px;
}
.nav-basedInGermanyBottom p {
  margin: 0;
  font-size: 1rem;
}

.nav-availability {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
}
.nav-availability p {
  font-size: 1rem;
  margin: 0;
}
.nav-availability .nav-available {
  font-weight: bold;
}
.nav-availability .nav-oct24 {
  font-size: 3rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .nav-navMenu {
    width: 100%;
  }
  .nav-navLinks {
    display: none;
  }
  .nav-burgerContainer {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-closeButton {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-availability {
    position: relative;
    text-align: center;
  }
  .nav-availability .nav-oct24 {
    font-size: 2rem;
  }
}
.nav-navHeader {
  text-align: center;
  padding-top: 20px;
  margin-bottom: 40px;
}
.nav-navHeader .nav-navTitle {
  font-size: 1.5rem;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  margin: 0;
}
.nav-navHeader hr {
  margin: 10px auto;
  width: 100%;
  border: none;
  height: 1px;
  background-color: var(--scroll-navi-color, rgb(255, 255, 255));
}

.nav-navSocials {
  margin-top: 60px;
  text-align: center;
}
.nav-navSocials .nav-navTitleSocial {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
}
.nav-navSocials hr.nav-socialLine {
  margin: 10px auto;
  width: 50px;
  border: none;
  height: 1px;
  background-color: var(--scroll-navi-color, rgb(255, 255, 255));
}

.nav-socialButtons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.nav-navButtontwo {
  display: inline-block;
  padding: 8px 1rem;
  background-color: rgb(34, 33, 33);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-right: 120px;
  display: none;
}
.nav-navButtontwo:hover {
  background-color: #1a73e8;
}

.nav-navButton {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.nav-navButton::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.nav-navButton:hover {
  color: var(--hover-color, rgb(201, 201, 201));
}
.nav-navButton:hover::after {
  width: 100%;
}

.nav-navMenu ul li a {
  position: relative;
  display: inline-block;
  padding: 0px 20px;
  color: var(--scroll-navi-color, rgb(255, 255, 255));
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-navMenu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-navMenu ul li a:hover {
  color: var(--hover-color, rgb(201, 201, 201));
}

.nav-navMenu ul li a:hover::after {
  width: 100%;
}

/* ===== contact (components/Contact/style.module.scss) ===== */
.contact-contact {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--contact-bg-color, rgb(3, 3, 3)); /* Default color is white */
  position: relative;
}
.contact-contact .contact-body {
  padding-top: 200px;
  margin: 0 auto;
  background-color: var(--contact-bg-color, rgb(3, 3, 3));
}
.contact-contact .contact-body .contact-developer__workpreheadline {
  margin: 0 auto;
  min-height: 100px;
}
.contact-contact .contact-body .contact-developer__workpreheadline h2 {
  text-transform: uppercase;
}
.contact-contact .contact-body .contact-title {
  border-bottom: 1px solid rgb(134, 134, 134);
  padding-bottom: 100px;
  position: relative;
}
.contact-contact .contact-body .contact-title span {
  display: flex;
  align-items: center;
}
.contact-contact .contact-body .contact-title span .contact-imageContainer {
  width: 100px;
  height: 100px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}
.contact-contact .contact-body .contact-title span .contact-imageContainer img {
  object-fit: cover;
}
.contact-contact .contact-body .contact-title span h2 {
  margin-left: 0em;
}
.contact-contact .contact-body .contact-title h2 {
  font-size: 5vw;
  margin: 0px;
  font-weight: 300;
}
.contact-contact .contact-body .contact-title .contact-buttonContainer {
  position: absolute;
  left: calc(100% - 400px);
  top: calc(100% - 75px);
}
.contact-contact .contact-body .contact-title .contact-button {
  box-sizing: border-box; /* width/height include the border ... */
  padding: 0; /* ... and the shared button padding must not turn the circle into an oval */
  width: 180px;
  height: 180px;
  background-color: var(--cta-ball-color, #1e1e1e);
  color: var(--cta-button-color, rgb(255, 255, 255)) !important;
  border-radius: 50%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.contact-contact .contact-body .contact-title .contact-button p {
  margin: 0px;
  font-size: 16px;
  font-weight: 300;
  z-index: 2;
  position: relative;
}
.contact-contact .contact-body .contact-title .contact-button a {
  text-decoration: none;
}
.contact-contact .contact-body .contact-title .contact-button svg {
  margin-left: 8px;
  width: 20px;
  height: 20px;
  transform: scale(1.3);
  z-index: 50;
  position: relative;
}
.contact-contact .contact-body .contact-title .contact-button svg path {
  stroke: currentColor;
}
.contact-contact .contact-body .contact-title .contact-workpredescription {
  font-size: 5vw;
  margin: 0px;
  font-weight: 300;
  margin-top: 90px;
}
.contact-contact .contact-body .contact-nav {
  display: flex;
  gap: 20px;
  margin-top: 100px;
}
.contact-contact .contact-body .contact-nav .contact-button {
  color: var(--cta-button-color, rgb(255, 255, 255));
}
.contact-contact .contact-body .contact-nav .contact-button a {
  text-decoration: none;
}
.contact-contact .contact-body .contact-nav .contact-button svg {
  margin-left: 8px;
  width: 20px;
  height: 20px;
  transform: scale(1.3);
  z-index: 50;
}
.contact-contact .contact-body .contact-info {
  display: flex;
  width: 100%;
  margin-top: 100px;
  padding: 20px 0;
  /* Ensure each section (Credits, Navigation, Socials) occupies equal space */
}
.contact-contact .contact-body .contact-info > div {
  flex: 1;
}
.contact-contact .contact-body .contact-info div span {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-contact .contact-body .contact-info div span.contact-linksRow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 15px;
}
.contact-contact .contact-body .contact-info div span.contact-linksRow .contact-infoRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px; /* no extra space between wrapped lines */
}
.contact-contact .contact-body .contact-info div .contact-infoTitle {
  color: grey;
  cursor: default;
  font-weight: 300;
  font-size: 1em;
}
.contact-contact .contact-body .contact-info div p, .contact-contact .contact-body .contact-info div h3 {
  margin: 0;
  padding: 2.5px;
  cursor: pointer;
}
/* Text lines in the footer all have the same height (no vertical padding) so wrapped lines of different columns
   (Credits, Navigation) have exactly the same line spacing */
.contact-contact .contact-body .contact-info div p {
  padding: 0 2.5px;
}
.contact-contact .contact-body .contact-info div p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* Adjust as needed */
  width: 0;
  height: 1px;
  background-color: rgb(190, 190, 190);
  transition: width 0.3s ease;
}
.contact-contact .contact-body .contact-info div p:hover::after {
  width: 100%;
}
.contact-contact .contact-body .contact-info div .contact-ano {
  margin-left: 11px;
  text-decoration: none;
}
.contact-contact .contact-body .contact-info {
  /* Adjust alignment for each section */
}
.contact-contact .contact-body .contact-info > div:nth-child(1) span.contact-linksRow { /* Credits */
  align-items: flex-start;
  text-align: left;
}
.contact-contact .contact-body .contact-info > div:nth-child(2) span.contact-linksRow { /* Navigation */
  align-items: center;
  text-align: center;
}
.contact-contact .contact-body .contact-info > div:nth-child(3) span.contact-linksRow { /* Socials */
  align-items: flex-end;
  text-align: right;
}
.contact-contact .contact-body .contact-info {
  /* New rules to center the navigation links in the middle column */
}
.contact-contact .contact-body .contact-info > div:nth-child(2) span.contact-linksRow .contact-infoRow {
  justify-content: center;
  width: 100%;
}
.contact-contact .contact-body .contact-info > div:nth-child(2) span.contact-linksRow .contact-ano {
  margin-left: 0;
}

/* Media Query for h4 in Work Tiles on smaller screens */
@media screen and (max-width: 600px) {
  .contact-body {
    padding-top: 80px !important;
  }
  .contact-body .contact-title .contact-buttonContainer {
    position: absolute;
    left: 20% !important;
    top: calc(100% - 75px);
  }
  .contact-body .contact-title .contact-button {
    width: 120px !important;
    height: 120px !important;
  }
  .contact-h2h {
    font-size: 11vw !important;
  }
  .contact-nav {
    justify-content: center;
  }
  .contact-title .contact-workpredescription {
    margin-top: 16px !important;
    margin-bottom: 32px !important;
    font-size: 1.5rem !important;
  }
}

/* Menu panel slides in from the right (was a framer-motion animation: 0.5s, ease [0.76, 0, 0.24, 1]) */
.nav-navMenu {
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.76, 0, 0.24, 1), transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.5s;
}

.nav-navMenu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.76, 0, 0.24, 1), transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s;
}

/* ===== Responsive fixes (phones and tablets) ===== */

/* Bigger touch targets (about 44px) without changing how the icons look */
@media (pointer: coarse) {
  .nav-burgerContainer,
  .nav-closeButton,
  .lm-toggle {
    position: relative;
  }

  .nav-burgerContainer::after,
  .nav-closeButton::after,
  .lm-toggle::after {
    content: '';
    position: absolute;
    inset: -8px;
  }
}

/* ===== QR code: fourth column of the footer row, next to "Socials" ===== */
.contact-contact .contact-body .contact-info > .contact-qrColumn {
  flex: 0 0 auto;
  margin-left: 56px;
}

.contact-contact .contact-body .contact-info > .contact-qrColumn span.contact-linksRow {
  align-items: flex-start;
  text-align: left;
}

/* always dark on white (the quiet zone is the padding), readable in every theme */
.contact-qrImage {
  box-sizing: content-box;
  width: 96px;
  height: 96px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.35);
}

/* Phones: two columns - Credits | Navigation on top, Socials | QR code below */
@media screen and (max-width: 600px) {
  .contact-contact .contact-body .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .contact-contact .contact-body .contact-info > .contact-qrColumn {
    margin-left: 0;
  }
}
