/* ============================================
   ai.work Landing Page - Custom Styles
   Based on steuerfachangestellte-koeln.de design
   ============================================ */

/* Brand highlight for ai.work in body text */
.brand-hl {
    color: #285eaa;
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
}

.brand-hl-gold {
    color: #E1B222;
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
}

.brand-hl-white {
    color: #ffffff;
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
}

/* Font Face */
@font-face {
    font-family: 'Audiowide';
    src: url('../fonts/Audiowide-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Sans';
    src: url('../fonts/PTSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- Color Variables ---- */
:root {
    --dark-navy: #000A2D;
    --brand-blue: #255EAD;
    --brand-blue-light: #3070c4;
    --text-gray: #57667E;
    --text-dark: #212529;
    --light-gray: #f5f6f8;
    --border-gray: #E5E6E9;
    --gold: #E1B222;
    --white: #ffffff;
}

/* ---- Global ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-gray);
    background-color: var(--white);
    position: relative;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
    color: var(--dark-navy);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 50px;
    margin-bottom: 8px;
    line-height: 52px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    color: var(--text-gray);
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 30px;
}

.default-color {
	color:var(--text-gray);
}

/* ---- Navbar ---- */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 10, 45, 0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.navbar-custom .navbar-brand span {
    color: var(--brand-blue);
}

.navbar-custom .nav-link {
    color: #295eaa;
    font-weight: 700;
    font-size: 22px;
    padding: 0.5rem 1rem;
	margin-left:1em;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover {
    color: var(--brand-blue);
}

/* ---- Hero Section ---- */
.hero-section {
    background: url('../img/bild5.jpg') center / cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: var(--white);
    font-size: 120px;
    font-weight: 700;
    margin-bottom: 1.5rem;
	text-align: right;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-section .btn-hero {
    background-color: var(--dark-navy);
    color: var(--white);
    font-weight: 500;
    padding: 30px 36px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
}

.hero-section .btn-hero:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 10, 45, 0.3);
}

/* ---- Sections General ---- */
.content-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.section-white {
    background-color: rgba(255, 255, 255, 0.3);
}

.section-light {
    background-color: rgba(240, 241, 243, 0.7);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--brand-blue);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

/* Center underline for intro */
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---- Watermark Numbers ---- */
.watermark-col {
    position: relative;
    overflow: visible;
}

.watermark {
    position: absolute;
    font-size: 150px;
    font-weight: 700;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
    color: #333333;
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    top: 50%;
    left: 0;
    transform: translate(-70%, -50%);
	z-index: 0;
}

/* ---- Content Blocks ---- */
.content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem 1.5rem;
}

.content-text p {
    font-size: 22px;
}

.content-text p:last-child{
	margin-bottom: 0;
}

/* ---- Image Placeholders ---- */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 10, 45, 0.12);
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Intro Section ---- */
.intro-section {
    padding: 100px 0 60px;
    background-color: rgba(255, 255, 255, 0.3);
}

.intro-section .intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ---- Divider Bar (between sections) ---- */
.divider-bar {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0d1f5c 50%, var(--brand-blue) 100%);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
}

.divider-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 25px 25px;
}

.divider-bar p {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    max-width: none;
    line-height: 1.4;
}

/* ---- Section Header Bar ---- */
.section-header-bar {
    background: url('../img/b18.jpg') center / cover no-repeat;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.section-header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 10, 45, 0.75) 0%, rgba(13, 31, 92, 0.65) 50%, rgba(37, 94, 173, 0.7) 100%);
}

.section-header-bar p {
    color: var(--white);
    font-size: 50px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.section-header-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 0.75rem;
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .section-header-bar p {
        font-size: 1.44rem;
    }

    .section-header-number {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/* ---- Contact Section ---- */
.contact-section {
    padding: 0 0 60px;
    background: linear-gradient(135deg, var(--dark-navy), var(--brand-blue));
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 25px 25px;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 60px;
}

.contact-header p {
    color: var(--white);
    font-size: 50px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .contact-header p {
        font-size: 1.44rem;
    }
}

.contact-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    border-left: 3px solid var(--gold);
    padding-left: 1rem;
}

.contact-label {
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.contact-value {
    font-size: 22px;
    color: var(--white);
    font-weight: 500;
}

.contact-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--gold);
}

/* ---- Contact Form ---- */
.contact-form .form-label {
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.contact-form .form-control {
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'PT Sans', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 94, 173, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
}

.contact-form .btn-cta {
    margin-top: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    height: calc(1.5em + 1.5rem + 2px);
    line-height: calc(1.5em + 1.5rem);
}

.btn-cta {
    background-color: var(--white);
    color: var(--dark-navy);
    font-weight: 500;
    padding: 30px 36px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(225, 178, 34, 0.4);
}

/* ---- Footer ---- */
.footer {
    background-color: var(--dark-navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
}

/* ---- Feature Icons ---- */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 94, 173, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--brand-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Feature Cards Section ---- */
.features-section {
    padding: 60px 0;
}

.feature-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 10, 45, 0.08);
    border-top: 3px solid var(--brand-blue);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 10, 45, 0.14);
}

.feature-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark-navy), var(--brand-blue));
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.feature-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.25rem;
}

.feature-card-subtitle {
    font-size: 0.9rem;
    color: var(--brand-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    flex-grow: 1;
}

.feature-card-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.feature-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background-color: var(--brand-blue);
    border-radius: 50%;
}

.feature-card-highlight {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-gray);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-blue);
}

@media (max-width: 991.98px) {
    .features-section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ---- Floating CTA Button ---- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--dark-navy), var(--brand-blue));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 1.75rem;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 10, 45, 0.35);
    z-index: 1000;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta:hover {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 10, 45, 0.45);
}

.floating-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

@media (max-width: 575.98px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.85rem 1rem;
    }
}

/* ---- Parallax Dividers ---- */
.parallax-divider {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 10, 45, 0.2) 0%,
        rgba(0, 10, 45, 0.15) 50%,
        rgba(0, 10, 45, 0.2) 100%
    );
}

@media (max-width: 991.98px) {
    .parallax-divider {
        height: 250px;
        background-attachment: scroll;
    }
}

@media (max-width: 575.98px) {
    .parallax-divider {
        height: 180px;
    }
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .watermark-col {
        overflow: hidden;
    }

    .watermark {
        font-size: 250px;
        left: 10%;
        top: 10%;
        transform: none;
        opacity: 0.07;
    }

    .hero-section {
        min-height: 70vh;
        text-align: center;
    }

    .hero-section .lead {
        margin: 0 auto;
    }

    .content-section {
        padding: 2rem 0;
    }

    .content-text {
        padding: 2rem 0.5rem;
    }

    .divider-bar p {
        font-size: 1.3rem;
    }

    .img-placeholder {
        min-height: 280px;
        margin-bottom: 1.5rem;
    }

    /* On mobile, always show text first, image second */
    .row-reverse-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    body {
        font-size: 16px;
    }

    .watermark {
        font-size: 200px;
    }

    .content-section {
        padding: 30px 0;
    }

    .img-placeholder {
        min-height: 220px;
    }
}
