/* =====================================================
   arch-jobs.ch – Homepage Styles
   Kombiniert Stile aus style_index.css & style_ausschreiben.css
   ===================================================== */

/* ---------- 1) Base Styles & Variablen ---------- */
:root {
    --primary-color: #0021A7;
    --bg-color: #f0f0f0;
    --card-bg: #ffffff;
    --text-color: #333;
    --light-text-color: #666666;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

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

section {
    margin-bottom: 40px;
    padding: 40px 30px;
    text-align: center;
}


/* ---------- 2) Header & Footer (aus style_index.css) ---------- */
header {
    background-color: var(--card-bg);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo-link {
    display: inline-block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.site-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.header-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-link:hover {
    background-color: #e7ebff;
    color: var(--primary-color);
    text-decoration: none;
}

.header-link.primary {
    background-color: var(--primary-color);
    color: #fff;
}

.header-link.primary:hover {
    background-color: #001a85;
}

.header-link.icon-link {
    padding: 8px;
}

.header-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.footer {
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
}

.footer nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer nav a {
    color: var(--text-color);
    font-weight: 500;
}
.footer nav a:hover {
    text-decoration: underline;
}


/* ---------- 3) Hero Sektion ---------- */
.hero-section {
    padding-top: 60px;
    padding-bottom: 50px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

/* ---------- 4) City Selection & Buttons (aus style_ausschreiben.css) ---------- */
.city-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.city-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    min-width: 120px;
    box-sizing: border-box;
}

.city-btn:hover {
    background-color: #001a85;
    transform: translateY(-2px);
    text-decoration: none;
}


/* ---------- 5) Approach Sektion (Kartenstil) ---------- */
.approach-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.approach-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 0 2.5rem 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
}

.approach-card {
    padding: 20px;
}

.prop-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.approach-card p {
    font-size: 1rem;
    color: var(--light-text-color);
    margin: 0;
    line-height: 1.6;
}

/* ---------- 5b) Homepage Job Listing ---------- */
.homepage-hero {
    text-align: center;
    padding-top: 38px;
    padding-bottom: 12px;
    margin-bottom: 8px;
}

.title-cta {
    color: var(--text-color);
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.title-cta h1,
.title-cta h2 {
    margin: 0;
    overflow-wrap: anywhere;
}

.homepage-hero h1 {
    font-size: 2.2rem;
    margin: 0 0 0.35rem 0;
    color: var(--primary-color);
}

.instagram-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #ebf5ff;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    margin-bottom: 12px;
}

.instagram-pill:hover {
    background: #d1e9ff;
}

.instagram-pill-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    color: inherit;
}

.instagram-pill-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.homepage-hero .hero-subline {
    margin: 0.2rem auto 0.6rem auto;
    color: #3b3b3b;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    white-space: normal;
    max-width: 900px;
    overflow-wrap: anywhere;
}

.homepage-hero h2 {
    margin: 0 0 0.8rem 0;
    color: var(--light-text-color);
    font-weight: 500;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 1050px;
    margin-top: 10px;
    margin-bottom: 4px;
    justify-items: center;
}

.hero-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 6px;
    box-shadow: none;
    text-align: center;
    max-width: 320px;
}

.hero-highlight-icon {
    width: 38px;
    height: 38px;
    color: var(--primary-color);
}

.hero-highlight-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-highlight-heading {
    margin: 0;
    color: #1f2933;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.25;
}

.hero-highlight-text {
    margin: 0;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.96rem;
    line-height: 1.45;
}

.region-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.region-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.region-btn:hover {
    background-color: #001a85;
    transform: translateY(-1px);
}

.cta-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: #001a85;
    transform: translateY(-1px);
}

.cta-note {
    margin-top: 8px;
    color: var(--light-text-color);
    font-size: 0.95rem;
}

.job-listing {
    margin: 0 auto 40px;
    width: 100%;
    max-width: 1200px;
    text-align: left;
    padding-top: 16px;
}

.job-card-link {
    display: block;
    color: inherit;
}

.job-card {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 16px;
    background-color: #fff;
    border-radius: 20px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    min-width: 0;
}

.job-card:hover {
    background-color: #fafafa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.job-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.job-header {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
}

.job-info h2 {
    margin: 5px 0;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.job-info h3 {
    margin: 0;
    font-weight: 700;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.job-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:2px;
}

.job-meta h3{
    margin:0;
    font-weight:700;
    color:var(--text-color);
    flex:1;
    min-width:0;
}

.job-city{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 12px;
    border-radius:999px;
    background:#e8edff;
    color:var(--primary-color);
    font-weight:700;
    font-size:0.95rem;
    margin-left:auto;
}

@media (max-width: 640px){
    .job-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
    }
    .job-city{
        margin-left:0;
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 6px;
}

.tags span {
    color: var(--primary-color);
    background-color: #f1f1f1;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 20px;
}

.value-props-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 24px;
    text-align: left;
}

.value-props-section h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.prop-item {
    background: #fff;
    border: 1px solid #eef1f7;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.prop-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.prop-item h3 {
    margin: 0 0 6px 0;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.prop-item p {
    margin: 0;
    color: var(--light-text-color);
}

.testimonial-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 24px;
}

.testimonial-section h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #eef1f7;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--text-color);
}

.testimonial-card footer {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--light-text-color);
}

.logo-strip {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 24px;
    text-align: center;
}

.logo-strip h2 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.logo-subline {
    margin: 0 0 12px 0;
    color: var(--light-text-color);
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-row img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    border: 1px solid #eef1f7;
}

.offer-page main {
    max-width: 1000px;
}

.offer-hero {
    background-color: #fff;
    border: 1px solid #e5e7ee;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.offer-hero p {
    max-width: 760px;
    margin: 0 0 0.8rem 0;
}

.offer-testimonials .testimonials-grid {
    gap: 14px;
}

.offer-final {
    text-align: center;
}

.offer-final h2 {
    margin-top: 0;
}

.offer-page .founders-section {
    margin-top: 10px;
    box-shadow: none;
    border: 1px solid #e5e7ee;
    background-color: #fff;
}

.offer-page .founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

.offer-page .founder-photo-wrap {
    order: 2;
    justify-self: end;
    max-width: 260px;
}

.offer-page .founders-text {
    order: 1;
}

@media only screen and (min-width: 769px) {
    .offer-page .founders-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 24px;
    }
}


/* ---------- 6) Final CTA Sektion ---------- */
.final-cta-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.final-cta-section p {
    font-size: 1rem;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* ---------- 6b) Founders Sektion ---------- */
.founders-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.founder-photo-wrap {
    max-width: 220px;
}

.founder-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.founder-caption {
    margin: 6px 0 0 0;
    font-weight: 700;
    color: var(--text-color);
}

.founders-text h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0 0 0.8rem 0;
}

.founders-text p {
    font-size: 1rem;
    color: var(--light-text-color);
    margin: 0 0 0.7rem 0;
    line-height: 1.6;
}

.founders-contact {
    margin-top: 8px;
}

.founders-contact .contact-label {
    margin: 0 0 4px 0;
    color: var(--text-color);
}

.founders-contact .contact-email {
    margin: 0;
    color: var(--primary-color);
}

/* ---------- 6c) About Page Layout Tweaks ---------- */
.about-page main {
    max-width: 880px;
}

.about-page section {
    margin-bottom: 20px;
    padding: 20px 18px;
    text-align: left;
}

.about-page .hero-section {
    padding-top: 28px;
    padding-bottom: 20px;
}

.about-page .hero-section h1 {
    margin-bottom: 0.4rem;
    font-size: 2rem;
}

.about-page .hero-section p {
    max-width: 640px;
    margin: 0;
}

.about-page .approach-section,
.about-page .founders-section {
    box-shadow: none;
    border: 1px solid #e5e7ee;
    background-color: #fff;
}

.about-page .approach-grid {
    gap: 14px;
}

.about-page .approach-card {
    padding: 0;
}

.about-page .prop-icon {
    margin-bottom: 0.4rem;
}

.about-page .founder-photo-wrap {
    max-width: 260px;
}

.about-page .founders-section {
    padding-top: 18px;
}

@media only screen and (min-width: 769px) {
    .about-page .founders-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 20px;
    }
}


/* ---------- 7) Responsive Design ---------- */
@media only screen and (min-width: 769px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    section {
        margin-bottom: 60px;
        padding: 60px 50px;
    }

    .homepage-hero .hero-subline {
        white-space: nowrap;
    }

    .job-listing {
        padding: 0 30px;
    }

    .tags span {
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 768px) {
    header {
        width: 100%;
        padding: 12px 0;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        flex-wrap: nowrap;
        padding: 0 12px;
    }

    .logo-container {
        gap: 8px;
        flex-shrink: 0;
    }

    .site-title {
        font-size: 0.95rem;
    }

    .header-links {
        flex: 1;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
        min-width: 0;
    }

    .header-link {
        padding: 6px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .header-link.icon-link {
        padding: 6px;
    }

    .header-icon {
        width: 18px;
        height: 18px;
    }

    main {
        padding: 10px;
    }
    
    section {
        padding: 24px 16px;
    }

    .hero-section {
        padding-top: 32px;
    }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .homepage-hero {
        padding-top: 28px;
        padding-bottom: 8px;
        margin-bottom: 2px;
    }

    .homepage-hero h1 {
        font-size: 1.7rem;
        margin-bottom: 0.2rem;
    }

    .homepage-hero .hero-subline {
        font-size: 0.94rem;
        line-height: 1.35;
        max-width: 100%;
    }

    .hero-highlights {
        gap: 8px;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .hero-highlight {
        gap: 6px;
        padding: 4px 4px;
    }

    .hero-highlight-icon {
        width: 30px;
        height: 30px;
    }

    .hero-highlight-heading {
        font-size: 0.96rem;
    }

    .hero-highlight-text {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .job-listing {
        padding-top: 6px;
    }

    .logo {
        height: 35px;
    }

    .city-btn {
        width: 100%;
        max-width: 280px;
    }

    .job-card {
        align-items: flex-start;
        padding: 14px;
    }

    .posting-date {
        display: none;
    }

    .tags span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}
