/* =========================================================
    FYNEX GmbH
       MAIN CSS
       ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

/* =========================================================
HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  width: min(1180px, 90%);
  height: 82px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #ddd;
  transition: 0.3s;
}

.desktop-nav a:hover {
  color: #ffffff;
}

/* HAMBURGER */

.menu-button {
  display: none;
  width: 48px;
  height: 48px;

  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);

  cursor: pointer;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
}

/* MOBILE MENU */

.mobile-menu {
  display: none;
}

/* =========================================================
HERO
========================================================= */

.hero {
  min-height: 1080px;

  position: relative;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      145deg,
      #00bfff84 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 81, 255, 0.35) 100%
    ),
    url("images/hero.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(1180px, 90%);
  margin: auto;

  padding-top: 140px;
}

.hero-badge,
.section-label {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #aaa;

  margin-bottom: 18px;
}

.hero h1 {
  max-width: 850px;

  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -3px;

  margin-bottom: 28px;
}

.hero h1 span,
h2 span {
  color: #bdbdbd;
}

.hero p {
  max-width: 650px;

  font-size: 19px;
  color: #d0d0d0;

  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* =========================================================
 BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 28px;

  font-size: 14px;
  font-weight: 700;

  transition: 0.3s;

  border: 1px solid transparent;
}

.btn-primary {
  background: #4aa8df;
  color: #000000;
}

.btn-primary:hover {
  background: #258dcc;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
}

/* =========================================================
INTRO
========================================================= */

.intro {
  background: #ffffff;
  color: #111111;
  padding: 120px 0;
}

.intro .section-label,
.contact-section .section-label {
  color: #777;
}

.intro h2,
.contact-section h2 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -2px;

  margin-bottom: 30px;
}

.intro h2 span,
.contact-section h2 span {
  color: #777;
}

.intro-text {
  max-width: 720px;

  font-size: 19px;
  color: #555;

  margin-bottom: 60px;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  padding: 45px;

  border: 1px solid #ddd;

  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: #999;
}

.card-number {
  font-size: 13px;
  color: #888;
  margin-bottom: 30px;
}

.info-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.info-card p {
  color: #666;
  margin-bottom: 25px;
}

.info-card a {
  font-weight: 700;
}

/* =========================================================
JOBS
========================================================= */

.jobs-section {
  padding: 120px 0;
  background: #101010;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;

  margin-bottom: 60px;
}

.section-heading h2,
.why-section h2,
.bewerber-section h2,
.company-box h2,
.application-section h2 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
}

.section-heading p {
  max-width: 400px;
  color: #999;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.job-card {
  display: flex;
  gap: 24px;

  padding: 30px;

  border: 1px solid #292929;
  background: #151515;

  transition: 0.3s;
}

.job-card:hover {
  border-color: #666;
  transform: translateY(-3px);
}

.job-icon {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #444;

  font-weight: 700;
}

.job-type {
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 7px;
}

.job-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.job-content p {
  color: #888;
  font-size: 14px;
  margin-bottom: 15px;
}

.job-content a {
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
WHY FYNEX
========================================================= */

.why-section {
  padding: 120px 0;
  background: #050505;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  margin-top: 70px;
}

.feature {
  padding-top: 25px;
  border-top: 1px solid #333;
}

.feature > span {
  color: #777;
  font-size: 13px;
}

.feature h3 {
  font-size: 23px;
  margin: 25px 0 12px;
}

.feature p {
  color: #888;
  font-size: 14px;
}

/* =========================================================
BEWERBER
========================================================= */

.bewerber-section {
  background: #ffffff;
  color: #111111;
  padding: 120px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.bewerber-section .section-label {
  color: #777;
}

.bewerber-section h2 {
  margin-bottom: 30px;
}

.bewerber-section h2 span {
  color: #777;
}

.split-text p {
  color: #555;
  max-width: 570px;
  margin-bottom: 20px;
}

.split-text .btn {
  margin-top: 20px;
}

.process {
  border-top: 1px solid #ddd;
}

.process-item {
  display: flex;
  gap: 25px;

  padding: 28px 0;

  border-bottom: 1px solid #ddd;
}

.process-item strong {
  color: #999;
}

.process-item h3 {
  font-size: 19px;
  margin-bottom: 5px;
}

.process-item p {
  color: #777;
  font-size: 14px;
}

/* =========================================================
UNTERNEHMEN
========================================================= */

.company-section {
  padding: 120px 0;
  background: #151515;
}

.company-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
}

.company-box p {
  max-width: 650px;
  color: #999;
  font-size: 18px;
  margin-top: 30px;
}

.company-list {
  border-left: 1px solid #333;
  padding-left: 40px;
}

.company-list > div {
  padding: 15px 0;
  border-bottom: 1px solid #292929;
  color: #ddd;
}

.company-list .btn {
  margin-top: 30px;
}

/* =========================================================
APPLICATION
========================================================= */

.application-section {
  padding: 120px 0;
  background: #ffffff;
  color: #111111;
}

.application-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.application-text p {
  color: #666;
  margin: 25px 0;
}

.whatsapp-button {
  display: inline-flex;

  min-height: 54px;
  padding: 0 22px;

  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #fff;

  font-size: 14px;
  font-weight: 700;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;

  border: 1px solid #ddd;
  background: #fafafa;

  padding: 17px;

  font-family: inherit;
  font-size: 14px;

  outline: none;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: #111;
}

.application-form textarea {
  resize: vertical;
}

.application-form .btn {
  border: none;
  cursor: pointer;
}

/* =========================================================
CONTACT
========================================================= */

.contact-section {
  background: #f4f4f4;
  color: #111;
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  margin-top: 60px;
}

.contact-item {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.contact-item span {
  display: block;

  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 10px;
}

.contact-item a {
  font-size: 20px;
  font-weight: 700;
}

.contact-item p {
  color: #555;
}

/* =========================================================
FOOTER
========================================================= */

.footer {
  background: #050505;
  padding: 35px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo img {
  width: 120px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #888;
  font-size: 13px;
}

.copyright {
  color: #666;
  font-size: 12px;
}

/* =========================================================
WHATSAPP FLOAT
========================================================= */

.whatsapp-float {
  position: fixed;

  right: 22px;
  bottom: 22px;

  width: 58px;
  height: 58px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #fff;

  font-size: 26px;

  z-index: 999;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);

  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    display: none;

    flex-direction: column;

    background: #090909;

    border-top: 1px solid #222;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a {
    padding: 20px 5%;

    border-bottom: 1px solid #222;

    font-size: 16px;
    font-weight: 600;
  }

  .intro-cards,
  .jobs-grid,
  .split-section,
  .company-box,
  .application-box {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-list {
    border-left: none;
    border-top: 1px solid #333;
    padding-left: 0;
    padding-top: 20px;
  }

  .application-box {
    gap: 50px;
  }
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 600px) {
  .container,
  .nav-container {
    width: 92%;
  }

  .nav-container {
    height: 70px;
  }

  .logo img {
    width: 120px;
    max-height: 42px;
    object-fit: contain;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 290px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .intro,
  .jobs-section,
  .why-section,
  .bewerber-section,
  .company-section,
  .application-section,
  .contact-section {
    padding: 80px 0;
  }

  .intro h2,
  .section-heading h2,
  .why-section h2,
  .bewerber-section h2,
  .company-box h2,
  .application-section h2,
  .contact-section h2 {
    font-size: 42px;
  }

  .intro-cards {
    gap: 12px;
  }

  .info-card {
    padding: 30px;
  }

  .jobs-grid {
    gap: 12px;
  }

  .job-card {
    padding: 22px;
    gap: 16px;
  }

  .job-content h3 {
    font-size: 19px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .split-section {
    gap: 55px;
  }

  .company-box {
    gap: 50px;
  }

  .application-box {
    gap: 45px;
  }

  .contact-grid {
    margin-top: 40px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;

    width: 54px;
    height: 54px;
  }
}

/* =========================================================
VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 40px;
  }

  .intro h2,
  .section-heading h2,
  .why-section h2,
  .bewerber-section h2,
  .company-box h2,
  .application-section h2,
  .contact-section h2 {
    font-size: 36px;
  }
}

/* =========================================================
   EXPANDABLE JOBS
========================================================= */

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* JOB ITEM */

.job-item {
  background: #151515;
  border: 1px solid #292929;

  transition: border-color 0.3s ease;
}

.job-item:hover {
  border-color: #555;
}

/* HEADER */

.job-header {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  padding: 28px 30px;

  border: none;
  background: transparent;

  color: #fff;

  text-align: left;

  cursor: pointer;

  font-family: inherit;
}

/* TITLE */

.job-title {
  display: flex;
  align-items: center;
  gap: 22px;
}

.job-title h3 {
  margin: 0;

  font-size: 22px;
  line-height: 1.3;
}

.job-icon {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #444;

  font-size: 15px;
  font-weight: 700;
}

/* JOB TYPE */

.job-header .job-type {
  margin-bottom: 5px;

  color: #777;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

/* PLUS */

.job-arrow {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #444;

  color: #aaa;

  font-size: 24px;
  font-weight: 300;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

/* DESCRIPTION */

.job-description {
  max-height: 0;

  overflow: hidden;

  padding: 0 30px;

  color: #999;

  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    padding 0.35s ease;
}

/* OPEN JOB */

.job-item.active {
  border-color: #555;
}

.job-item.active .job-description {
  max-height: 1200px;

  padding: 0 30px 35px 35px;

  opacity: 1;
}

.job-item.active .job-arrow {
  transform: rotate(45deg);

  background: #fff;
  color: #000;
}

/* DESCRIPTION TEXT */

.job-description > p {
  max-width: 800px;

  margin-bottom: 30px;

  color: #bbb;

  font-size: 15px;
  line-height: 1.7;
}

/* HEADINGS */

.job-description h4 {
  margin-top: 28px;
  margin-bottom: 12px;

  color: #fff;

  font-size: 16px;
}

/* LIST */

.job-description ul {
  max-width: 800px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.job-description li {
  position: relative;

  padding-left: 20px;
  margin-bottom: 8px;

  color: #999;

  font-size: 14px;
  line-height: 1.6;
}

.job-description li::before {
  content: "—";

  position: absolute;
  left: 0;

  color: #666;
}

/* APPLY BUTTON */

.job-apply {
  display: inline-flex;

  margin-top: 30px;

  min-height: 50px;

  padding: 0 24px;

  align-items: center;
  justify-content: center;

  background: #fff;
  color: #000;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s ease;
}

.job-apply:hover {
  background: #d8d8d8;

  transform: translateY(-2px);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .job-header {
    padding: 22px 18px;
  }

  .job-title {
    gap: 15px;
  }

  .job-icon {
    width: 42px;
    height: 42px;
  }

  .job-title h3 {
    font-size: 18px;
  }

  .job-header .job-type {
    font-size: 9px;
  }

  .job-arrow {
    width: 35px;
    height: 35px;

    font-size: 20px;
  }

  .job-item.active .job-description {
    padding: 0 18px 25px 25px;
  }

  .job-description > p {
    font-size: 14px;
  }

  .job-description li {
    font-size: 13px;
  }
}
