@font-face {
    font-family: 'WixMadeforDisplay';
    src: url('assets/WixMadeforDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-blue: #0558A0;
    --light-blue: #9FDEFF;
    --accent-red: #E63822;
    --dark-blue: #002d5a;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --container-width: 70%;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'WixMadeforDisplay', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h2 {
    font-size: 40px;
}

.eyebrow {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-align: center;
}

ul {
    list-style: none;
}

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

.container {
    width: var(--container-width);
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-red {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-red:hover {
    background-color: #c52e1a;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-blue:hover {
    background-color: #044680;
    transform: translateY(-2px);
}

/* Header */
header {
    width: 100%;
    z-index: 1000;
}

.top-bar {
    display: flex;
    height: 57px;
    width: 100%;
}

.top-bar-left {
    flex: 1;
    background-color: #9FDEFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0558A0;
    font-size: 16px;
    font-weight: 300;
}

.top-bar-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info img {
    height: 18px;
    width: 18px;
}

.top-bar-right {
    width: 15%;
    background-color: #0558A0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-social {
    display: flex;
    gap: 20px;
}

.top-bar-social img {
    height: 24px;
    width: 24px;
    transition: var(--transition);
}

.top-bar-social a:hover img {
    opacity: 0.8;
    transform: translateY(-2px);
}

.main-nav {
    background-color: var(--white);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.sticky .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 60px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.nav-links li a.active {
    color: #10A4DE;
}

/* Hero Section */
.hero {
    height: 700px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    /* Flip to match lady on right, text on left */
}

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    color: #0558A0;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: #0558A0;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 0px #ffffff;
}

.hero-content h1 span {
    color: #10A4DE;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 580px;
    font-weight: 300;
}

/* Booking Bar Refinement */
.booking-wrapper .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    display: block;
}

.booking-wrapper {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    z-index: 20;
}

.booking-tab {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 10px 45px;
    font-weight: 800;
    font-size: 15px;
    border-radius: 0;
    margin-left: 40px;
    /* Aligns with the 40px padding of the booking-bar */
    margin-bottom: 0;
    /* Ensure it's on top of the bar */
    position: relative;
    z-index: 30;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.booking-tab span {
    display: inline-block;
}

.booking-bar {
    background: var(--white);
    padding: 30px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 30px;
    align-items: flex-end;
}

.booking-field label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.booking-field input,
.booking-field select {
    border: 1px solid #eee;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 0;
}

.booking-action button {
    height: 52px;
    width: 150px;
    font-size: 16px;
}

.hero-star {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.6;
}

.star-1 {
    top: 10%;
    left: 5%;
}

.star-2 {
    bottom: 20%;
    right: 40%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hexagon-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: var(--bg-light);
    border: 10px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hexagon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Booking Bar */
/* Intro Section */
.intro {
    padding-top: 200px;
    padding-bottom: 60px;
    background-color: var(--white);
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 120px;
}

.intro-image-area {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Blue Frame SVG */
.hex-outer {
    position: absolute;
    width: 550px;
    height: 550px;
    z-index: 3;
    top: 50%;
    left: 50%;
    /* HIER VERSCHIEBEN: Ändere die letzten beiden Werte "translate(-20px, 20px)", 
       um das blaue Hexagon zu verschieben. */
    transform: translate(-50%, -50%) translate(-40px, -10px);
}

/* The White Border - perfectly concentric and equilateral */
.hex-inner-wrapper {
    position: absolute;
    width: 530px;
    height: 459px;
    /* 530 * 0.866025 */
    background-color: #fff;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

.hex-inner {
    width: 510px;
    height: 441.7px;
    /* 510 * 0.866025 */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    overflow: hidden;
}

.hex-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Badge - Bottom Right with Shadow */
.hex-badge-container {
    position: absolute;
    bottom: 50px;
    right: 20px;
    z-index: 10;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

.hex-badge {
    width: 160px;
    height: 138.56px;
    /* 150 * 0.866025 */
    background-color: #fff;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateX(-32px) translateY(-20px);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 38px;
    font-weight: 800;
    color: #0558A0;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    color: #0558A0;
    font-weight: 400;
    margin-top: 2px;
}

.intro-content {
    flex: 1;
}

.intro-content .subtitle {
    color: #0558A0;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.intro-content h2 {
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.1;
}

.intro-content .description {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Specificity added to override later rules causing grid layout */
.intro-content .feature-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 0;
}

.intro-content .feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    font-weight: 600;
    /* Bolded to match screenshot */
    color: #444;
}

.intro-content .feature-icon {
    width: 32px;
    height: 27.7px;
    background-color: #0558A0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}



/* Services */
.services {
    padding-top: 120px;
    padding-bottom: 120px;
    background-image: url('assets/Background1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    /* Small gaps to match the seamless grid look */
}

.service-item {
    background: var(--white);
    padding: 40px 15px;
    /* Reduced horizontal padding for more text space */
    text-align: center;
    box-shadow: none;
    /* Removed heavy shadow, the screenshot looks very flat/clean */
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle border for definition */
    transition: var(--transition);
    border-radius: 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
    /* Schwarz */
    font-weight: 800;
    /* Dick */
}

.service-item p {
    font-size: 14px;
    /* Increased back to 14px */
    font-weight: 300;
    /* Font weight 300 */
    color: #666;
    /* Grau */
    line-height: 1.6;
    letter-spacing: 0.3px;
    /* Slightly increased letter-spacing so it's not distorted/squished */
}

/* Differentiation */
.differentiation {
    padding: 120px 0;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    /* Leicht größer */
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 14px;
    /* Leicht größer */
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* Right column images */
.diff-images-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    /* slightly wider */
    height: 700px;
    /* taller to push them apart */
    margin: 0 auto;
}

.img-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    /* smaller width to distance them more */
    z-index: 1;
}

.img-top-left img {
    width: 100%;
    height: auto;
    /* Kein croppen mehr */
    display: block;
}

.img-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    /* smaller width */
    z-index: 2;
    background-color: #fff;
}

.img-bottom-right img {
    width: 100%;
    height: auto;
    /* Kein croppen mehr */
    display: block;
}

.diff-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, 30%);
    width: 160px;
    height: 138.56px;
    /* height for flat top/bottom hexagon (160 * 0.866) */
    background-color: var(--primary-blue);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /* Flache Seiten oben/unten */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.diff-badge .badge-content {
    color: #fff;
    display: flex;
    flex-direction: column;
}

.diff-badge .stat-number {
    font-size: 38px;
    font-weight: 800;
}

.diff-badge .stat-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

/* Process */
.process {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 120px 0;
}

.process-steps-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    border-bottom: 3px dotted rgba(255, 255, 255, 0.6);
    z-index: 1;
    transform: translateY(-50%);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.process-step {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.step-container {
    position: relative;
    width: 250px;
    height: 216.5px;
}

.step-hex-large {
    width: 100%;
    height: 100%;
    background: #6A9ECB;
    /* Solid blue, so dotted line doesn't show through! */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.step-hex-large h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
}

.step-badge {
    position: absolute;
    top: 25%;
    left: 12.5%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 39px;
    /* Proportions for flat top/bottom */
    background: var(--accent-red);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /* Flat top/bottom to match original! */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 19px;
    z-index: 3;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
    padding: 120px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.author-img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    background: transparent;
    border-radius: 0;
}

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

.author-info h4 {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 13px;
    color: #666;
    font-weight: 300;
}

.quote-icon {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 80px;
    color: #eee;
    font-family: Arial, sans-serif;
    line-height: 1;
    font-weight: bold;
}

.testimonial-stars {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-content {
    font-style: normal;
    color: #666;
    font-weight: 300;
    line-height: 1.6;
    font-size: 14px;
}

/* Gallery */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 120px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    pointer-events: none;
    /* no interaction */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific item placement */
.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.item-4 {
    grid-column: 4 / 6;
    grid-row: 1 / 4;
}

.item-5 {
    grid-column: 1 / 3;
    grid-row: 3 / 6;
}

.item-6 {
    grid-column: 3 / 4;
    grid-row: 3 / 6;
}

.item-7 {
    grid-column: 4 / 5;
    grid-row: 4 / 6;
}

.item-8 {
    grid-column: 5 / 6;
    grid-row: 4 / 6;
}

/* Careers */
.careers {
    padding: 120px 0;
    background-color: var(--bg-light);
}

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

.job-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.job-img-wrapper {
    position: relative;
    width: 100%;
}

.job-img {
    height: 250px;
    background: #eee;
}

.job-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.job-badge-wrapper {
    position: absolute;
    bottom: -32px;
    left: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
    z-index: 2;
}

.job-badge {
    width: 90px;
    height: 77.94px;
    background: var(--white);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.job-badge span {
    color: var(--primary-blue);
    font-weight: 500;
    line-height: 1.4;
}

.job-content {
    padding: 50px 30px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.job-type {
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 300;
}

.job-content h3 {
    margin-bottom: 15px;
    color: #222;
    font-size: 22px;
    font-weight: 800;
}

.job-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
    flex-grow: 1;
}

.job-content .btn {
    align-self: flex-start;
}

/* CTA Split Section */
.cta-split {
    display: flex;
    background-color: #0558A0;
    min-height: 400px;
}

.cta-content {
    flex: 6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 50px 80px calc(15vw + 20px);
}

.cta-text {
    max-width: 650px;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
}

.cta-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-image {
    flex: 4;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
footer {
    background-color: #002545;
    color: var(--white);
    padding: 80px 0 20px;
    font-family: 'WixMadeforDisplay', sans-serif;
    font-weight: 300;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    margin-left: -12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-hex {
    width: 39px;
    height: 33.8px;
    background-color: var(--primary-blue);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-hex:hover {
    background-color: var(--light-blue);
}

.social-hex img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.footer-col h3 {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links li a:hover {
    color: var(--white);
}

.footer-links li a.active {
    color: var(--primary-blue);
}

.contact-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-icon-white {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--white);
}

.footer-icon-blue {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: invert(24%) sepia(86%) saturate(2206%) hue-rotate(192deg) brightness(92%) contrast(101%);
}

/* Contact Form in Footer */
.footer-form input[type="text"],
.footer-form input[type="email"] {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    font-size: 14px;
    font-family: 'WixMadeforDisplay', sans-serif;
    font-weight: 300;
    transition: border-bottom-color 0.3s ease;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form input:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary-blue);
}

.checkbox-group label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group label a {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-group label a:hover {
    color: var(--white);
}

.btn-full {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.693);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.footer-legal-mobile {
    display: none;
}

/* Mobile Action Bar Base (Hidden by default) */
.mobile-action-bar {
    display: none;
}


/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    html {
        /* scroll-padding-top removed to avoid conflict with JS calculation */
    }

    body {
        overflow-x: hidden;
        padding-top: 70px;
        /* Space for fixed header */
        padding-bottom: 60px;
        /* Space for fixed action bar */
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }


    h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    /* Header */
    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    header.sticky .main-nav {
        position: fixed;
        animation: none;
        padding: 0;
    }

    .main-nav .container {
        height: 70px;
        position: relative;
        overflow-x: visible;
        /* nav menu needs to drop down */
    }

    .logo img {
        height: 45px;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .nav-container {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-container.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        width: 100%;
        text-align: right;
        align-items: flex-end;
    }

    .nav-container .btn {
        margin: 0 0 0 auto;
    }

    /* Hero Section */
    .hero {
        display: block;
        /* Fix form being pushed right by flex row */
        height: auto;
        padding: 40px 0 0;
        overflow: visible;
        /* Let form hang out */
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
        text-shadow: none;
    }

    .hero-subtitle {
        margin-bottom: 10px;
    }

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

    .hero-bg-img {
        display: none;
    }

    .hero-bg-container {
        height: calc(100% - 280px);
        /* background stops 280px before end of hero */
        background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('assets/10459.webp') center/cover no-repeat;
    }

    /* Booking Bar */
    .booking-wrapper .container {
        text-align: left;
    }

    .booking-wrapper {
        position: relative;
        bottom: auto;
        margin-top: 40px;
        /* Pull down from hero text */
        margin-bottom: 0px;
        z-index: 20;
    }

    .booking-bar {
        position: static !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 25px 20px;
    }

    #step-2 {
        grid-template-columns: 1fr;
    }

    #step-3 {
        grid-template-columns: 1fr;
    }

    .booking-tab {
        padding: 12px 30px;
        font-size: 14px;
        margin-left: 0;
    }

    .booking-action button {
        width: 100%;
        height: 50px;
    }

    /* Intro / About */
    .intro {
        padding-top: 220px;
        overflow: hidden;
    }

    .intro-flex {
        flex-direction: column;
        gap: 40px;
    }

    .intro-image-area {
        position: relative;
        left: 50%;
        margin-left: -340px;
        /* centers the 550px box */
        height: 550px;
        width: 550px;
        max-width: none;
        transform: scale(0.7);
        transform-origin: top center;
        margin-bottom: -120px;
    }

    .intro-content {
        margin-top: 280px;
    }

    .intro-content h2 {
        font-size: 32px;
    }

    .intro-content .btn {
        margin-top: 10px;
    }

    .hex-badge-container {
        transform: translateY(280px) scale(1.2);
        transform-origin: bottom right;
    }

    /* Services */
    .services {
        padding: 60px 0;
    }

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

    /* Differentiation */
    .differentiation {
        padding: 0 0 60px;
        overflow: hidden;
    }

    .diff-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .diff-images-wrapper {
        position: relative;
        width: 100vw !important;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        height: 250px !important;
        max-width: none;
        transform: none;
        overflow: visible;
        margin-bottom: 70px;
    }

    .img-bottom-right {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative;
        left: 0 !important;
        top: 0 !important;
    }

    .img-bottom-right img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .img-top-left {
        display: none !important;
    }

    .diff-badge {
        position: absolute;
        top: auto;
        left: auto;
        bottom: -40px;
        right: 25px;
        transform: scale(1.2);
        transform-origin: bottom right;
        width: 130px;
        height: 112.5px;
        z-index: 5;
    }

    .diff-badge .stat-number {
        font-size: 28px;
    }

    .diff-badge .stat-text {
        font-size: 11px;
    }

    /* Process */
    .process {
        padding: 60px 0;
    }

    .process-line {
        display: block;
        width: 2px;
        height: 100%;
        border-bottom: none;
        border-left: 3px dotted rgba(255, 255, 255, 0.6);
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }

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

    .testimonial-card {
        padding: 30px;
    }

    /* Gallery */
    .gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6,
    .item-7,
    .item-8 {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Careers */
    .careers {
        padding: 60px 0;
    }

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

    /* CTA */
    .cta-split {
        flex-direction: column;
    }

    .cta-content {
        padding: 60px 20px;
    }

    .cta-image {
        height: 300px;
    }

    /* Footer */
    footer {
        padding: 60px 0 20px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .col-form {
        order: 1;
    }

    .col-contact {
        order: 2;
    }

    .col-brand {
        order: 3;
    }

    .col-nav {
        display: none;
    }

    .footer-legal-mobile {
        display: flex;
        margin-bottom: 15px;
        gap: 20px;
        justify-content: center;
    }

    .footer-legal-mobile a {
        text-decoration: underline;
    }

    .mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(70px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background-color: #000;
        z-index: 9999;
        align-items: center;
        justify-content: space-around;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .mobile-action-bar::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 115px;
        background-color: #000;
    }


    .action-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

    .action-item:last-child {
        border-right: none;
    }

    .action-item img {
        width: 22px;
        height: 22px;
        filter: brightness(0) invert(1);
    }
}

/* Hero Stars Styling */
.hero-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.star {
    position: absolute;
    height: auto;
    opacity: 0.8;
}

/* Desktop Positions */
.star-tl-lg {
    top: 10%;
    left: 6%;
    width: 95px;
}

.star-tl-sm {
    top: 4%;
    left: 10%;
    width: 55px;
}

.star-tr-lg {
    top: 6%;
    right: 5%;
    width: 85px;
    filter: brightness(0) invert(1);
}

.star-tr-sm {
    top: 14%;
    right: 3%;
    width: 48px;
    filter: brightness(0) invert(1);
}

.star-mid-lg {
    top: 64%;
    left: 50%;
    width: 85px;
}

.star-mobile-btn {
    display: none;
}

@media (max-width: 991px) {
    .star-tl-lg {
        top: 8%;
        right: 7%;
        left: auto;
        width: 65px;
    }

    .star-tl-sm {
        top: 14%;
        right: 16%;
        left: auto;
        width: 40px;
    }

    .star-tr-lg,
    .star-tr-sm,
    .star-mid-lg,
    .star-mobile-btn {
        display: none;
    }
}