@font-face{
    font-family:"DIN Next LT W01 Light";
    src:url("../fonts/5563268/14aba99e-8c97-4daa-a8df-67920a051402.woff2") format("woff2"),url("Fonts/5563268/96fd6d6f-fad6-4dd9-ab70-29547a56cacd.woff") format("woff");
}

@font-face {
  font-family: "DIN Next LT W01 Medium";
  src: url("../fonts/5563051/afabdfcf-432c-49b4-a496-0e5051e87fa9.woff2") format("woff2");
  font-weight: normal;
}

@font-face {
  font-family: "DIN Next LT W01 Bold";
  src: url("../fonts/5563063/03008527-67bd-478e-98e3-3b56dd9a6520.woff2") format("woff2");
  font-weight: normal;
}

@font-face {
  font-family: "DIN Next LT W01 Regular";
  src: url("../fonts/5563279/6b4d4830-9c7d-43d2-b5d3-c73f739561b9.woff2") format("woff2");
}

:root {
  --text-color: #1E1E1E;
  --white-color: #fff;
  --accent-color: rgb(53, 168, 73);
  --background-color: rgb(244, 244, 239);

  --spacing-8: 8px;
  --spacing-20: 20px;
  --spacing-40: 40px;
  --spacing-64: 64px;
  --spacing-120: 120px;

  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 1px 3px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ============================================ */
/* ACCESSIBILITY UTILITIES */
/* ============================================ */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
    outline: 4px solid rgba(53, 168, 73, 0.5);
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid rgba(53, 168, 73, 0.6);
    outline-offset: 2px;
}

html, body {
    font-family: "DIN Next LT W01 Regular", sans-serif;
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

h1 {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 56px;
    line-height: 76px;
    margin: 16px 0;
}

h2, h2 b {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 42px;
    line-height: 52px;
    margin: 0;
}

h2.fact {
    color: var(--accent-color);
    font-weight: normal;
}

h3, h3 b {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 30px;
    line-height: 38px;
    margin: 0;
}

h4, h4 b {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    margin: 0;
}

.subtitle, .subtitle b {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 32px;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

p, span, li {
    font-family: "DIN Next LT W01 Regular", sans-serif;
    font-size: 22px;
    line-height: 32px;
    margin: 0;
}

a {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 30px;
    margin: 0;
    color: var(--accent-color);
    text-decoration: none;      
}

a:hover {
    text-decoration: underline;
}

small {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 30px;
    margin: 0;
}

.button {
    font-family: "DIN Next LT W01 Medium", system-ui, sans-serif;
    font-weight: normal;
    transition-duration: .2s;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--shadow-soft), var(--shadow-strong);
    height: 56px;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.button:hover {
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.button.primary {
    background-color: var(--white-color);
    color: var(--text-color);
}

.button.secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
    display: inline-flex;
}

section {
    padding-top: var(--spacing-120);
    padding-bottom: var(--spacing-120);
}

section.bg {
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1240px;
    padding-left: var(--spacing-20);
    padding-right: var(--spacing-20);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header */

header {
    width: 100%;
    background-color: var(--accent-color);
    padding: 16px 0px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

header img {
    max-width: 205px;
    height: auto;
}

/* Sticky header job title - hidden by default */
header .job-title-sticky {
    color: var(--white-color);
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    flex: 1;
    text-align: center;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header.scrolled .job-title-sticky {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow animation in buttons - only on hover */
.button svg {
    transition: transform 0.3s ease;
}

.button:hover svg {
    transform: translateX(4px);
}

/* Title Section */
.job {
    padding-top: 100px;
    padding-bottom: 100px;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-8);
}

.title h1, .title h2 {
    margin-left: var(--spacing-40);
}

.job-metas {
    margin-left: var(--spacing-40);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
}

.item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    font-family: "DIN Next LT W01 Regular", sans-serif;
}

.item b {
    font-weight: 400;
    font-family: "DIN Next LT W01 Regular", sans-serif;
}

.item .icon {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-8);
    border-radius: 999px;
    background-color: var(--white-color);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

.item .icon svg * {
    fill: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 700px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;
    will-change: opacity;
}

.hero .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 36%, rgba(0, 0, 0, 0) 100%), linear-gradient(to top, rgba(0, 0, 0, 0.4) 36%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    gap: var(--spacing-20);
    padding-bottom: var(--spacing-64);
}

.hero .container h2, 
.hero .container p {
    color: var(--white-color);
    margin: 0;
    max-width: 600px;
}

/* Tasks/Profile Section */
.grid.role {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-40);
    gap: var(--spacing-40);
    margin-top: var(--spacing-64);
    border: solid 1px var(--accent-color);
    padding: var(--spacing-8);
}

.grid.role .col {
    padding: var(--spacing-40) 32px;
    display: flex;
    flex-direction: column;
    font-family: "DIN Next LT W01 Light", sans-serif;
}

.grid.role .col h3 {
    margin-bottom: 32px;
}

.grid.role .col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 32px 0px;
}

.grid.role .col li {
    font-family: "DIN Next LT W01 Light", sans-serif;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-40);
}

.grid.role .col li::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-image: url('../images/CheckFilled.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.grid.role .col.tasks li::before {
        background-image: url('../images/BulletCheck.png');
}

.grid.role .col.profile li::before {
        background-image: url('../images/BulletCheckFilled.png');
}

.grid.role .col.profile {
    background-color: var(--background-color);
}

/* About Section */
.grid.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-40);
    gap: var(--spacing-40);
}

.grid.about .col.text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-40);
}

.grid.about .col.video {
    position: relative;
}

.grid.about .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    overflow: hidden;
    cursor: pointer;
}

.grid.about .video-wrapper iframe,
.grid.about .video-wrapper .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    width: 170px;
    height: 170px;
}

/* Benefit Section */
.slick-list {
    margin-left: -20px;
    margin-right: -20px;
}

.slider {
    position: relative;
    margin-top: var(--spacing-64);
}

.slide {
    display: grid !important;
    grid-template-columns: 440px 1fr;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 400px;
    outline: none;
    margin: 20px;
}

.slide .image {
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-64);
}

.slide .image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.slide .text {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: var(--spacing-40);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-40);
}

.slide .text h3 {
    color: var(--white-color);
    margin: 0;
}

.slide .text p {
    color: var(--white-color);
    margin: 0;
}

.slide .text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slide .text li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-20);
    color: var(--white-color);
}

.slide .text li::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-image: url('../images/BenefitCheck.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 2px;
}

/* Slick Carousel Customization */
.slider .slick-arrow {
    width: 48px;
    height: 48px;
    z-index: 10;
    background-color: var(--white-color);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: -60px;
    transition: opacity 0.2s;
}

.slider .slick-arrow:hover {
    opacity: 0.7;
}

.slider .slick-arrow::before {
    display: none;
}

.slider .slick-prev {
    left: 0;
    top: auto;
    bottom: -80px;
}

.slider .slick-next {
    right: 0;
    top: auto;
    bottom: -80px;
}

.slider .slick-prev,
.slider .slick-next {
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.slider .slick-prev {
    background-image: url('../images/ArrowPrev.svg');
}

.slider .slick-next {
    background-image: url('../images/ArrowNext.svg');
}

.slider .slick-dots {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0 70px;
}

.slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.slider .slick-dots li button {
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--white-color);
    border: solid 2px var(--text-color);
    font-size: 0;
}

.slider .slick-dots li button::before {
    display: none;
}

.slider .slick-dots li.slick-active button {
    background-color: var(--text-color);
}

.slick-dotted.slick-slider {
    margin-bottom: 100px;
}

.slider + p {
    text-align: center;
}

/* Location Section */
.grid.location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-40);
    gap: var(--spacing-40);
    margin-top: var(--spacing-64);
    border: solid 1px var(--accent-color);
    padding: var(--spacing-8);
    background-color: var(--white-color);
}

.grid.location .col.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: var(--spacing-40);
}

.grid.location .col.info h3 {
    margin: 0;
}

.grid.location .col.info p {
    margin: 0;
}

.grid.location .col.info .button {
    margin-top: 40px;
}

.grid.location .col.map {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 400px;
}

.grid.location .col.map #map {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 400px;
}

/* Contact Section */
section.contact {
    position: relative;
    padding-top: 0;
    padding-bottom: var(--spacing-120);
    overflow: hidden;
}

.contact-background {
    background-color: var(--background-color);
    height: 700px;
    width: 100vw;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
}

section.contact .container {
    margin-top: -156px;
    position: relative;
    z-index: 2;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-40);
    gap: var(--spacing-40);
    width: 100%;
}

.contact-card {
    background-color: var(--white-color);
    padding: var(--spacing-40);
    box-shadow: var(--shadow-soft), var(--shadow-strong);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-40);
    justify-content: space-between;
}

.contact-card .flex {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.contact-card .flex div {
    flex: 1;
}

.contact-info {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: var(--spacing-40) var(--spacing-20);
    display: flex;
    gap: var(--spacing-20);
    align-items: flex-start;
}

.contact-photo {
    flex-shrink: 0;
}

.contact-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    height: 100%;
}

.contact-details h4 {
    color: var(--white-color);
    margin: 0;
    font-size: 22px;
}

.contact-details p {
    color: var(--white-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.contact-details a {
    color: var(--white-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

p.contact-email,
p.contact-phone {
    margin-top: 4px;
}

.contact-email img,
.contact-phone img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.contact-email a,
.contact-phone {
    font-size: 16px;
    line-height: 16px;
}

/* More About Section */

.grid.more-about, .grid.additional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-40);
    gap: var(--spacing-40);
    margin-top: var(--spacing-64);
}

.grid.additional {
   margin-top: 0px; 
}

/* Stats Section */
.container.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0;
    gap: 0;
    text-align: center;
}

.container.stats .stat:not(:last-child) {
    border-right: 1px solid var(--accent-color);
    padding-right: var(--spacing-20);
    margin-right: var(--spacing-20);
}

.container.stats .stat h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
}

/* CTA Section */

.cta {
    width: 100%;
    background-image: url(../images/cta.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;    
    color: var(--white-color)!important;
    overflow: hidden;
    will-change: opacity;
}

.cta .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-64);
}

.cta .container svg * {
    stroke: var(--accent-color);
}

/* Similar Jobs Section */

.similar-jobs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 24px;
}

.similar-job {
    padding: 24px;
    color: var(--text-color);
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);   
    display: flex;
    flex-direction: column;
    gap: var(--spacing-20); 
}

.similar-job:hover {
    text-decoration: none;
    box-shadow: var(--shadow-hover);
}

.bereich {
    font-family: "DIN Next LT W01 Medium", sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: var(--accent-color);
}

.similar-job .job-metas{
    margin: 0px;
}


/* Footer */

footer {
    background-color: var(--background-color);
    padding: var(--spacing-64) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 80px;
    gap: 80px;
}

.footer-share {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content h3 {
    font-size: 28px;
    line-height: 38px;
}

.social-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: var(--spacing-40);
}

.social-icons a {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    outline: 4px solid rgba(53, 168, 73, 0);
    outline-offset: 0px;
}

.social-icons a:hover {
    border-color: var(--accent-color);
    outline-color: rgba(53, 168, 73, 0.3);
}

.social-icons a img {
    width: 20px;
    height: 20px;
    filter: brightness(0);
    transition: filter 0.2s;
}

.social-icons a:hover img {
    filter: invert(48%) sepia(79%) saturate(452%) hue-rotate(85deg) brightness(98%) contrast(87%);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-40);
}

#jobabo-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-40);
}

#jobabo-form input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--accent-color);
    font-family: "DIN Next LT W01 Regular", sans-serif;
    font-size: 16px;
    background-color: var(--white-color);
    box-sizing: border-box;
    outline: 4px solid rgba(53, 168, 73, 0);
    outline-offset: 0px;
    transition: outline-color 0.2s ease;
}

#jobabo-form input[type="email"]:focus {
    outline-color: rgba(53, 168, 73, 0.3);
    border-color: var(--accent-color);
}

#jobabo-form button {
    align-self: flex-start;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

#jobabo-success {
    font-weight: bold;
    color: var(--accent-color);
    margin-top: var(--spacing-20);
}

.footer-bottom {
    display: flex;
    gap: var(--spacing-40);
    margin-top: auto;
}

.footer-bottom a {
    color: var(--text-color);
    text-decoration: none;
    font-family: "DIN Next LT W01 Regular", sans-serif;
    font-size: 16px;
    line-height: 16px;
    transition: all 0.2s;
}

.footer-bottom a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

/* ============================================ */
/* RESPONSIVE STYLES - TABLET AND MOBILE */
/* ============================================ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Typography adjustments */
    h1 {
        font-size: 42px;
        line-height: 52px;
    }
    
    h2, h2 b {
        font-size: 32px;
        line-height: 42px;
    }
    
    h3, h3 b {
        font-size: 24px;
        line-height: 32px;
    }
    
    .subtitle, .subtitle b {
        font-size: 18px;
        line-height: 28px;
    }
    
    p, span, li, a {
        font-size: 18px;
        line-height: 28px;
    }
    
    /* Spacing adjustments */
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    /* Header */
    header img {
        max-width: 180px;
    }
    
    /* Job title section */
    .job {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .job-metas {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* Hero section */
    .hero {
        height: 448px;
        
    }
    
    .hero .container {
        padding-bottom: var(--spacing-40);
    }
    
    /* Keep 2-column grids on tablet */
    .grid.role {
        margin-top: var(--spacing-40);
    }

    .grid.role .col {
        padding: var(--spacing-20)
    }

    .grid.role .col li {
        gap: var(--spacing-20);
    }
    
    /* Slider adjustments */
    .slick-dotted.slick-slider {
        margin-bottom: var(--spacing-64);
    }

    .slider {
        margin-top: var(--spacing-20);
    }

    .grid.location,
    .grid.more-about,
    .grid.additional {
        margin-top: var(--spacing-40);
    }

    /* Keep 2-column layout for benefits on tablet */
    .slide .image {
        padding: var(--spacing-40);
    }
    
    /* Contact section */
    .contact-background {
        height: 500px;
    }
    
    section.contact .container {
        margin-top: -100px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .video-play-button svg {
        width: 115px;
        height: 115px;
    }

    .slider + p {
        margin-top: 88px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Typography for mobile */
    html, body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    h2, h2 b {
        font-size: 24px;
        line-height: 32px;
    }
    
    h3, h3 b {
        font-size: 22px;
        line-height: 28px;
    }
    
    h4, h4 b {
        font-size: 22px;
        line-height: 26px;
    }
    
    .subtitle, .subtitle b {
        font-size: 16px;
        line-height: 24px;
        align-items: flex-start;
    }

    .subtitle img {
        position: relative;
        top: 8px;
    }
    
    p, span, li, a {
        font-size: 16px;
        line-height: 24px;
    }
    
    /* Spacing */
    :root {
        --spacing-40: 24px;
        --spacing-64: 40px;
        --spacing-120: 60px;
    }
    
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Buttons */
    .button {
        height: 44px;
        font-size: 12px;
        padding: 0 16px;
        gap: 8px;
    }
    
    .button svg {
        width: 16px;
        height: 16px;
    }
    
    /* Header */
    header {
        padding: 12px 0;
    }
    
    header img {
        max-width: 120px;
    }
    
    header .job-title-sticky {
        display: none !important;
    }
    
    header .button {
        white-space: nowrap;
    }
    
    /* Job title section */
    .job {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .title h1, .title h2 {
        margin-left: 0;
    }
    
    .job-metas {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    /* Hero */
    .hero {
        height: 400px;
    }
    
    .hero .overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 70%);
    }
    
    .hero .container {
        padding-bottom: 24px;
    }
    
    /* Role/Tasks grid */
    .grid.role {
        padding: 0;
        border: none;
        grid-template-columns: 1fr;
    }
    
    .grid.role .col {
        padding: 24px;
        border: 1px solid var(--accent-color);
    }
    
    .grid.role .col h3 {
        margin-bottom: 20px;
    }
    
    .grid.role .col ul {
        gap: 20px;
        margin: 20px 0;
    }
    
    .grid.role .col li {
        gap: 16px;
    }
    
    .grid.role .col li::before {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    /* About section */
    .grid.about {
        grid-template-columns: 1fr;
    }
    
    .grid.about .col.text {
        gap: 24px;
    }
    
    /* Slider */
    .slider {
        margin-top: 40px;
    }
    
    .slide {
        margin: 10px;
        grid-template-columns: 1fr;
        min-height: 600px;
    }
    
    .slide .image {
        min-height: 250px;
    }
    
    .slide .text {
        padding: 24px;
        gap: 24px;
    }
    
    .slider .slick-arrow {
        width: 40px;
        height: 40px;
        bottom: -70px;
    }
    
    .slider .slick-prev {
        left: 0;
    }
    
    .slider .slick-next {
        right: 0;
    }
    
    .slider .slick-dots {
        bottom: -35px;
        padding: 0 50px;
        gap: 16px;
    }    
    
    /* Location section */
    .grid.location {
        padding: 0;
        grid-template-columns: 1fr;
    }
    
    .grid.location .col.info {
        padding: 24px;
    }
    
    .grid.location .col.map {
        height: 300px;
        min-height: 300px;
    }
    
    .grid.location .col.map #map {
        height: 300px;
        min-height: 300px;
    }
    
    /* Contact section */
    .contact-background {
        height: 300px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    section.contact .container {
        margin-top: -60px;
    }
    
    .contact-cards {
        display: block;
    }
    
    .contact-card {
        padding: 24px;
        gap: 24px;
        margin-top: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    
    .contact-photo img {
        width: 100px;
        height: 100px;
    }
    
    .contact-details {
        gap: 12px;
    }
    
    .contact-details h4 {
        font-size: 22px;
    }
    
    /* Stats */
    .container.stats {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .container.stats .stat {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* CTA Section */
    .cta .container {
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    
    /* Similar Jobs */
    .similar-job {
        padding: 20px;
        gap: 16px;
    }
    
    .similar-job .job-metas {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* More About */
    .grid.more-about, .grid.additional {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content h3 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .social-icons {
        margin-top: 24px;
        gap: 12px;
    }
    
    .social-icons a {
        width: 48px;
        height: 48px;
    }
    
    .footer-newsletter {
        gap: 24px;
    }
    
    #jobabo-form {
        gap: 20px;
    }
    
    #jobabo-form input[type="email"] {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    h2 {
        font-size: 24px;
        line-height: 32px;
    }
    
    h3 {
        font-size: 22px;
        line-height: 26px;
    }
    
    .hero {
        height: 350px;
    }
    
    .slide .text {
        padding: 20px;
    }
    
    .contact-background {
        height: 250px;
    }
    
    section.contact .container {
        margin-top: -40px;
    }
}

/* ============================================ */
/* SCROLL ANIMATIONS */
/* ============================================ */

/* Keyframes for slide up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for scale animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Keyframes for hero scale animation - animates entire div */
@keyframes heroScaleIn {
    from {
        opacity: 0;
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Keyframes for background image zoom animation - only image scales, not the div */
@keyframes backgroundZoomIn {
    from {
        opacity: 0;
        background-size: 105%;
    }
    to {
        opacity: 1;
        background-size: 110%;
    }
}

/* Keyframes for stat fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Keyframes for arrow pulse animation */
@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

/* Initial state - hidden before animation */
section.animate-on-scroll,
.hero.animate-on-scroll,
.contact-background.animate-on-scroll,
.cta.animate-on-scroll,
.stat.animate-on-scroll,
.contact-card.animate-on-scroll {
    opacity: 0;
}

/* Slide up animation for sections */
section.animate-on-scroll.in-view {
    animation: slideUp 0.8s ease-out forwards;
}

/* Scale animation for full-width images */
/* Hero and CTA use scale animation on entire element */
.hero.animate-on-scroll.in-view,
.cta.animate-on-scroll.in-view {
    animation: heroScaleIn 1.2s ease-out forwards;
}

/* Contact background uses background zoom animation */
.contact-background.animate-on-scroll.in-view {
    animation: backgroundZoomIn 1.2s ease-out forwards;
}

/* Scale in animation for stats with stagger */
.stat.animate-on-scroll.in-view {
    animation: scaleIn 0.6s ease-out forwards;
}

.stat.animate-on-scroll:nth-child(1).in-view {
    animation-delay: 0s;
}

.stat.animate-on-scroll:nth-child(2).in-view {
    animation-delay: 0.15s;
}

.stat.animate-on-scroll:nth-child(3).in-view {
    animation-delay: 0.3s;
}

.stat.animate-on-scroll:nth-child(4).in-view {
    animation-delay: 0.45s;
}

/* Slide up animation for contact cards with stagger */
.contact-card.animate-on-scroll.in-view {
    animation: slideUp 0.6s ease-out forwards;
}

.contact-card.animate-on-scroll:nth-child(1).in-view {
    animation-delay: 0.1s;
}

.contact-card.animate-on-scroll:nth-child(2).in-view {
    animation-delay: 0.25s;
}

/* Stagger animation delays for consecutive sections */
section.animate-on-scroll:nth-of-type(2).in-view {
    animation-delay: 0.1s;
}

section.animate-on-scroll:nth-of-type(3).in-view {
    animation-delay: 0.15s;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    section.animate-on-scroll,
    .hero.animate-on-scroll,
    .contact-background.animate-on-scroll,
    .cta.animate-on-scroll,
    .stat.animate-on-scroll,
    .contact-card.animate-on-scroll {
        opacity: 1;
        animation: none !important;
    }
}

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

.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.contact-modal.is-open {
    display: flex;
}

body.contact-modal-open {
    overflow: hidden;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.contact-modal__dialog {
    position: relative;
    background: var(--background-color);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-40);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-20);
    z-index: 1;
    box-sizing: border-box;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-color);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.contact-modal__close:hover {
    opacity: 0.7;
}

.contact-modal__title {
    font-size: 28px;
    line-height: 36px;
    margin: 0;
    padding-right: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-20);
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--accent-color);
    font-family: "DIN Next LT W01 Regular", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color);
    background-color: var(--white-color);
    box-sizing: border-box;
    outline: 4px solid rgba(53, 168, 73, 0);
    outline-offset: 0;
    transition: outline-color 0.2s ease;
    resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline-color: rgba(53, 168, 73, 0.3);
    border-color: var(--accent-color);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-20);
}

.contact-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.contact-form__submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.contact-form__success {
    text-align: center;
    padding: var(--spacing-40) 0;
    flex-direction: column;
    gap: var(--spacing-20);
}

.contact-form__success:not([hidden]) {
    display: flex;
}

.contact-form__success-title {
    color: var(--accent-color);
    margin: 0;
}

.contact-form__success-text {
    margin: 0;
}

@media (max-width: 600px) {
    .contact-modal__dialog {
        max-height: 100vh;
        height: 100%;
        padding: 24px 16px;
    }

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

.printOnly {
    display: none;
}

.grecaptcha-badge {
    display: none !important;
}
