/* ==========================================================================
   PLANUNGSGRUPPE STRUNZ — Design System
   Aesthetic: Precision Engineering — geometric, confident, warm concrete tones
   ========================================================================== */

/* --- Tokens --- */
:root {
    --green: #28a745;
    --green-dark: #1e8e3a;
    --green-light: #e8f5eb;
    --green-subtle: #f0faf2;

    --ink: #1a1a1a;
    --ink-secondary: #4a4a4a;
    --ink-muted: #7a7a7a;
    --ink-faint: #a0a0a0;

    --surface: #ffffff;
    --surface-warm: #fafaf8;
    --surface-alt: #f2f1ef;
    --surface-dark: #1a1f1a;
    --surface-dark-alt: #242a24;

    --border: #e4e3e0;
    --border-light: #eeedeb;

    --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

    --header-h: 72px;
    --container: 1200px;
    --gap: 24px;
    --radius: 6px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-secondary);
    background: var(--surface);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
address {
    font-style: normal;
}

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

/* --- Section scaffolding --- */
.section {
    padding: 100px 0;
}
.section--alt {
    background: var(--surface-alt);
}
.section--dark {
    background: var(--surface-dark);
    color: #e0e0e0;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}
.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--green);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 20px;
}
.section--dark .section-title {
    color: #fff;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--ink-muted);
    max-width: 560px;
    line-height: 1.7;
}
.section--dark .section-subtitle {
    color: #b0b0b0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background 0.3s var(--ease),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}
.site-header.scrolled,
.site-header.header-solid {
    background: var(--green);
    border-bottom-color: var(--green-dark);
    box-shadow: 0 2px 24px rgba(0,0,0,.15);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    flex-shrink: 0;
}
.header-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.logo-text small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: var(--radius);
    transition:
        color 0.2s var(--ease),
        background 0.2s var(--ease);
}
.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.main-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition:
        transform 0.3s var(--ease),
        opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 64px;
    overflow: hidden;
    background: var(--surface-dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 31, 26, 0.95) 0%,
        rgba(26, 31, 26, 0.6) 40%,
        rgba(26, 31, 26, 0.35) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    max-width: 720px;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--green);
}
.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--green);
    color: #fff;
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}
.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border);
}
.btn-outline-dark:hover {
    border-color: var(--green);
    color: var(--green);
}
.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}
.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}
.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}
@keyframes float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ==========================================================================
   FACHBEREICHE — The showpiece
   ========================================================================== */
.fachbereiche-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 2px;
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
/* Bento: first card spans 2 columns */
.fb-card:first-child {
    grid-column: span 2;
}
.fb-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-dark);
}
.fb-card:first-child {
    aspect-ratio: 8 / 3;
}
.fb-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fb-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s var(--ease),
        opacity 0.4s var(--ease);
    opacity: 0.3;
}
.fb-card:hover .fb-card-bg img {
    transform: scale(1.08);
    opacity: 0.5;
}
.fb-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 31, 26, 0.92) 0%,
        rgba(26, 31, 26, 0.4) 100%
    );
    z-index: 1;
    transition: background 0.4s var(--ease);
}
.fb-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(26, 31, 26, 0.85) 0%,
        rgba(26, 31, 26, 0.2) 100%
    );
}
.fb-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 28px;
}
.fb-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: var(--green);
    transition: transform 0.3s var(--ease-spring);
}
.fb-card:hover .fb-icon {
    transform: translateY(-4px);
}
.fb-card h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.fb-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    transition: color 0.3s var(--ease);
}
.fb-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}
.fb-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.3s var(--ease);
}
.fb-arrow svg {
    width: 14px;
    height: 14px;
    color: #fff;
}
.fb-card:hover .fb-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    background: var(--green);
    padding: 56px 0;
    overflow: hidden;
    position: relative;
}
.stats-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 25%,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.06) 25.5%
    );
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    color: #fff;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   PROJEKTE
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-light);
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.project-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.project-card:hover .project-card-image img {
    transform: scale(1.04);
}
.project-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    background: rgba(26, 31, 26, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.project-card-body {
    padding: 28px;
}
.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.25;
}
.project-card .project-location {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}
.project-card p {
    font-size: 14px;
    color: var(--ink-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    transition: gap 0.2s var(--ease);
}
.project-link:hover {
    gap: 10px;
}
.project-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   KARRIERE TEASER
   ========================================================================== */
.karriere-section {
    position: relative;
}
.karriere-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
    align-items: start;
}
.karriere-why {
    padding: 40px;
    background: var(--surface-dark);
    border-radius: var(--radius-lg);
    color: #fff;
}
.karriere-why h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}
.karriere-perks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.karriere-perk {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.karriere-perk-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: rgba(40, 167, 69, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.karriere-perk-icon svg {
    width: 20px;
    height: 20px;
}
.karriere-perk h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.karriere-perk p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* Job cards */
.job-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.job-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition:
        border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.job-card:hover {
    border-color: var(--green);
    box-shadow:
        0 0 0 1px var(--green),
        var(--shadow-sm);
}
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.job-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
}
.job-card-type {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    flex-shrink: 0;
}
.job-card-type--vollzeit {
    background: var(--green-light);
    color: var(--green-dark);
}
.job-card-type--ausbildung {
    background: #eef0ff;
    color: #4a5aba;
}
.job-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--ink-muted);
}
.job-card-meta svg {
    width: 14px;
    height: 14px;
    color: var(--ink-faint);
}
.job-card .btn {
    width: 100%;
    justify-content: center;
}
.karriere-initiative {
    margin-top: 16px;
    padding: 20px 28px;
    background: var(--surface-warm);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.karriere-initiative p {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 8px;
}
.karriere-initiative a {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}
.karriere-initiative a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CONTACT / CTA SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-block h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-block p,
.contact-block a {
    font-size: 15px;
    color: var(--ink-secondary);
    line-height: 1.65;
}
.contact-block a:hover {
    color: var(--green);
}
.contact-map {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--green);
    color: rgba(255, 255, 255, 0.7);
}
.footer-top {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo {
    width: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}
.footer-company {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 6px;
}
.footer-tagline {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s var(--ease);
}
.footer-col li a:hover {
    color: var(--green);
}
.footer-col address {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}
.footer-col address a:hover {
    color: var(--green);
}
.footer-bottom {
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}
.footer-memberships {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-memberships span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}
.footer-memberships span:first-child {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* ==========================================================================
   JOB DETAIL PAGE
   ========================================================================== */
.job-hero {
    background: var(--surface-dark);
    padding: calc(var(--header-h) + 60px) 0 60px;
}
.job-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
}
.job-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}
.job-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}
.job-breadcrumb a:hover {
    color: var(--green);
}
.job-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.2);
}
.job-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.job-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.job-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}
.job-hero-meta svg {
    width: 16px;
    height: 16px;
    color: var(--green);
}

/* Job detail body */
.job-detail {
    padding: 60px 0 100px;
}
.job-detail-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}
.job-main section {
    margin-bottom: 48px;
}
.job-main h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}
.job-main .job-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-secondary);
    margin-bottom: 40px;
    padding: 24px;
    background: var(--surface-warm);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.job-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.job-list li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-secondary);
}
.job-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 8px;
    background: var(--green);
    border-radius: 50%;
}

/* Job sidebar */
.job-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.job-apply-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}
.job-apply-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}
.job-apply-card p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}
.job-apply-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}
.job-apply-card .btn:last-child {
    margin-bottom: 0;
}

/* Other jobs */
.job-other-card {
    padding: 24px;
    background: var(--surface-warm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}
.job-other-card h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}
.job-other-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.job-other-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.job-other-item a {
    display: block;
}
.job-other-item h5 {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 2px;
    transition: color 0.2s;
}
.job-other-item a:hover h5 {
    color: var(--green);
}
.job-other-item span {
    font-size: 12px;
    color: var(--ink-muted);
}

/* ==========================================================================
   PLACEHOLDER PAGE
   ========================================================================== */
.placeholder-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 60px) var(--gap) 60px;
}
.placeholder-page h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.placeholder-page p {
    color: var(--ink-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   TEASER / SALES PLACEHOLDER
   ========================================================================== */
.teaser-page {
    padding: calc(var(--header-h) + 60px) 0 0;
}
.teaser-hero {
    text-align: center;
    padding: 80px var(--gap) 60px;
    background: var(--surface-dark);
    position: relative;
    overflow: hidden;
}
.teaser-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 120%,
        rgba(40, 167, 69, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
}
.teaser-hero .container {
    position: relative;
    z-index: 1;
}
.teaser-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}
.teaser-hero h1 span {
    color: var(--green);
}
.teaser-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}
.teaser-pages {
    padding: 80px 0;
}
.teaser-pages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.teaser-page-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition:
        border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.teaser-page-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}
.teaser-page-card .tp-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 20px;
}
.teaser-page-card .tp-icon svg {
    width: 22px;
    height: 22px;
}
.teaser-page-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.teaser-page-card p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}
.teaser-page-card .tp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tp-status--live {
    color: var(--green);
}
.tp-status--live::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}
.tp-status--planned {
    color: var(--ink-faint);
}
.tp-status--planned::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--ink-faint);
    border-radius: 50%;
}
.teaser-cta {
    background: var(--surface-alt);
    padding: 80px 0;
    text-align: center;
}
.teaser-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}
.teaser-cta p {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Homepage CTA / Sales section */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section .cta-bg {
    position: absolute;
    inset: 0;
    background: var(--surface-dark);
}
.cta-section .cta-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 30% 50%,
            rgba(40, 167, 69, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 70% 50%,
            rgba(40, 167, 69, 0.06) 0%,
            transparent 50%
        );
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.cta-text h2 span {
    color: var(--green);
}
.cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cta-feature {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: border-color 0.25s var(--ease);
}
.cta-feature:hover {
    border-color: rgba(40, 167, 69, 0.3);
}
.cta-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(40, 167, 69, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 12px;
}
.cta-feature-icon svg {
    width: 18px;
    height: 18px;
}
.cta-feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.cta-feature p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================================================
   MEGA MENU
   ========================================================================== */
.nav-item {
    position: relative;
}
.nav-item > a {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: var(--radius);
    transition:
        color 0.2s var(--ease),
        background 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item > a .nav-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition:
        transform 0.25s var(--ease),
        opacity 0.25s var(--ease);
}
.nav-item:hover > a .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}
.nav-item > a:hover,
.nav-item:hover > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-item > a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

/* Mega dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 560px;
    background: var(--green-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s var(--ease),
        transform 0.25s var(--ease),
        visibility 0.25s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    z-index: 100;
}
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.mega-menu-grid--single {
    grid-template-columns: 1fr;
    max-width: 280px;
}
.mega-link {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    transition: background 0.2s var(--ease);
    align-items: flex-start;
}
.mega-link:hover {
    background: rgba(255, 255, 255, 0.06);
}
.mega-link-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.mega-link-icon svg {
    width: 16px;
    height: 16px;
}
.mega-link-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1px;
    line-height: 1.3;
}
.mega-link-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}
.mega-menu-header {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    padding: 0 12px;
}

/* Prevent mega menu from disappearing when moving mouse to it */
.nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}
.reveal-delay-5 {
    transition-delay: 0.5s;
}
.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .fachbereiche-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fb-card:first-child {
        grid-column: span 2;
        aspect-ratio: 8 / 3;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .karriere-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .teaser-pages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-detail-layout {
        grid-template-columns: 1fr;
    }
    .job-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
        --gap: 16px;
    }

    .section {
        padding: 64px 0;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        flex-direction: column;
        align-items: stretch;
        background: var(--green);
        backdrop-filter: none;
        padding: calc(var(--header-h) + 24px) 24px 24px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        gap: 0;
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav > a,
    .nav-item > a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
    }
    .nav-item > a .nav-chevron {
        display: none;
    }
    .mega-menu {
        position: static;
        transform: none;
        min-width: 0;
        background: transparent;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 4px 0 12px 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
    }
    .nav-item:hover .mega-menu {
        transform: none;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
    .mega-link {
        padding: 6px 0;
    }
    .mega-link-icon {
        display: none;
    }
    .mega-link-text p {
        display: none;
    }
    .mega-link-text h4 {
        font-size: 14px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.55);
    }
    .mega-link:hover .mega-link-text h4 {
        color: var(--green);
    }
    .mega-menu-header {
        display: none;
    }

    /* Mobile mega menu toggle */
    .nav-item .mega-menu {
        display: none;
    }
    .nav-item.mobile-open .mega-menu {
        display: block;
    }
    .nav-item > a .nav-chevron {
        display: inline-block !important;
        transition: transform 0.25s var(--ease);
    }
    .nav-item.mobile-open > a .nav-chevron {
        transform: rotate(180deg);
    }

    .teaser-pages-grid {
        grid-template-columns: 1fr;
    }
    .cta-features {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 65vh;
        padding-bottom: 48px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-scroll {
        display: none;
    }

    .fachbereiche-grid {
        grid-template-columns: 1fr;
    }
    .fb-card,
    .fb-card:first-child {
        grid-column: span 1;
        aspect-ratio: 5 / 3;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-memberships {
        justify-content: center;
    }

    .job-hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================================================
   JOB BENEFITS VISUAL SECTION
   ========================================================================== */
.job-benefits-section {
    background: var(--surface-alt);
    padding: 80px 0;
}
.job-benefits-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
}
.job-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.job-benefit-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition:
        border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.job-benefit-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}
.job-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 16px;
}
.job-benefit-icon svg {
    width: 24px;
    height: 24px;
}
.job-benefit-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.job-benefit-card p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .job-benefits-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .job-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
