/*
Theme Name: One Impulse
Version: 1.0
Author: Luis Rusko
Description: One Impulse is a simple and clean WordPress theme designed for One Impulse, a company that sells electricity. The theme features a modern and minimalist design, with a focus on showcasing the company's products and services. It includes a homepage with a hero section, product listings, and a contact form, as well as a blog section for sharing news and updates. One Impulse is fully responsive and optimized for performance, making it a great choice for any business looking to establish an online presence. 
*/
@import './assets/css/header.css';
@import './assets/css/front-page.css';
@import './assets/css/footer.css';
@import './assets/css/timeline.css';
@import './assets/css/form.css';
@import './assets/css/legal-page.css';

@font-face {
    font-family: 'Bilmond Medium';
    src: url('./assets/fonts/Bilmond-Medium.ttf') format('truetype'),
         url('./assets/fonts/Bilmond-Medium.woff2') format('woff2');
    font-style: normal;
}

@font-face {
    font-family: 'JUSTSansRegular';
    src: url('./assets/fonts/JUSTSansRegular.woff2') format('woff2');
    font-style: normal;
}

@font-face {
    font-family: 'JUSTSansSemiBold';
    src: url('./assets/fonts/JUSTSansSemiBold.woff') format('woff');
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 400;
    letter-spacing: 0%;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
    overflow-x: hidden;
}

:root {
    --color-headline: #0D0D0D;
    --color-white: #F3F3F3;
    --color-gray: #8C8C8C; 
    --color-linear-gradient: linear-gradient(90deg, #B31F8D 0%, #9012A8 100%);

    --button-bg: linear-gradient(90deg, #B31F8D 0%, #9012A8 100%);
}

section.section-content {
    width: 100dvw;
    display: flex;
    padding: var(--section-padding);
}

section.section-full-content {
    width: 100dvw;
    display: flex;
    flex-direction: column;
    height: 480px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

section.section-full-image {
    width: 100dvw;
    height: fit-content;
}

section.section-full-image img {
    width: 100%;
    height: auto;
}

section.section-content .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--section-gap);
    padding: var(--container-padding);
}

section.section-full-content .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1080px;
    align-items: center;
    justify-content: center;
    gap: var(--container-gap);
}

section.section-content .container .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 1080px;
    text-align: center;
}

section.section-content .container .container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--container-gap);
    width: 100%;
}

h1,
h1 span,
h1 i  {
    font-size: 66px;
    font-family: 'JUSTSansSemiBold', sans-serif;
    font-weight: 600;
    letter-spacing: 0%;
    line-height: 140%;
    text-transform: capitalize;
}

h1 i {
    background: var(--color-linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

h1 img {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

h2 {
    font-size: 56px;
    font-family: 'JUSTSansSemiBold', sans-serif;
    font-weight: 600;
    line-height: 125%;
    text-transform: capitalize;
}

h3 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    font-family: 'Bilmond Medium', sans-serif;
}

h3.subtitle {
    font-size: 22px;
    font-weight: 600;
}

h4 {
    font-size: 16px;
}

h1, h2, h3, h4 {
    color: var(--color-headline);
}

p, a {
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

h3, h4, p, a {
    letter-spacing: 1.2%;
}

p, a, span, ul, ol, li {
    font-family: 'Bilmond Medium', sans-serif;
}

h1, h2, h3, h4, p, span, a {
    vertical-align: middle;
}

a.btn {
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: fit-content;
    border-radius: 8px;
    gap: 8px;
    background: var(--button-bg);
    color: var(--color-white);
    text-align: center;
    transition: all 0.3s ease;
}

a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 31, 141, 0.3);
}

a.btn:active {
    transform: translateY(0);
}

a.btn span {
    display: inline;
    font-family: 'Bilmond Medium', sans-serif;
    letter-spacing: 0.5px;
}

a.btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

a.btn:hover svg {
    transform: translateX(2px);
}

span.text-large {
    font-family: 'JUSTSansSemiBold', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 1.4;
    letter-spacing: 0%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

span.text-large img {
    height: 1em;
    width: auto;
    vertical-align: -0.12em;
    margin: 0 0.2em;
}

ul {
    list-style: none;
}

.accordion {
    max-width: 800px;
    width: 100%;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    padding: 24px 0;
    transition: background-color 0.7s ease;
    border-bottom: 1px dashed var(--color-gray);
}

.icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 8px;
}

.accordion-item input {
    display: none;
}

.accordion-item input:checked ~ .accordion-content {
    max-height: 200px;
}

.accordion-item input:checked + .accordion-header {
    border-bottom: 0;
}

.accordion-item input:checked + .accordion-header .icon {
    transform: rotate(45deg);
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-context {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-context .map-embed {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    border: var(--container-border);
    box-shadow: var(--card-shadow);
}

.section-context .map-embed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-context iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 32px 16px;
        --section-gap: 32px;
        --container-gap: 32px;
    }
    h1,
    h1 span,
    h1 i {
        font-size: 56px;
        line-height: 135%;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 46px;
        line-height: 122%;
        letter-spacing: -0.3px;
    }

    h3 {
        font-size: 21px;
        line-height: 28px;
    }

    h4 {
        font-size: 15px;
        line-height: 22px;
    }

    p {
        font-size: 15px;
        line-height: 24px;
    }

    span.text-large {
        font-size: 46px;
        line-height: 1.38;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 768px) {
    h1,
    h1 span,
    h1 i {
        font-size: 52px;
        line-height: 130%;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 42px;
        line-height: 120%;
        letter-spacing: -0.3px;
    }

    h3 {
        font-size: 20px;
        line-height: 28px;
    }

    h4 {
        font-size: 15px;
        line-height: 22px;
    }

    p {
        font-size: 15px;
        line-height: 24px;
    }

    span.text-large {
        font-size: 38px;
        line-height: 1.35;
    }

    .cta-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-context a.btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    h1,
    h1 span,
    h1 i {
        font-size: 36px;
        line-height: 120%;
        letter-spacing: -0.3px;
    }

    h2 {
        font-size: 28px;
        line-height: 118%;
        letter-spacing: -0.2px;
    }

    h3 {
        font-size: 18px;
        line-height: 26px;
    }

    h4 {
        font-size: 14px;
        line-height: 20px;
    }

    p {
        font-size: 14px;
        line-height: 22px;
    }

    a:not(.btn) {
        font-size: 14px;
    }

    span.text-large {
        font-size: 24px;
        line-height: 1.45;
        letter-spacing: -0.1px;
    }

    section.section-content .container .section-header {
        width: 80vw;
    }
}

.full-width-job {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.job-article {
    width: 100%;
}

.job-content {
    width: 100%;
}

/* optional schöner */
.job-header {
    text-align: center;
    margin-bottom: 40px;
}

.full-width-job .container {
    max-width: 100%;
    padding: 0;
}

/* Single job article */
.job-single-main {
    width: 100%;
}

.job-single-section {
    background:
        radial-gradient(1200px 600px at 95% -10%, rgba(179, 31, 141, 0.08), transparent 55%),
        radial-gradient(900px 500px at -10% 110%, rgba(144, 18, 168, 0.1), transparent 60%);
}

.job-single-container {
    align-items: stretch !important;
    max-width: 1080px !important;
}

.job-single-card {
    width: 100%;
    border: 1px solid #d5d8de;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.12);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.job-single-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.job-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #566174;
}

.job-single-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: linear-gradient(90deg, #b31f8d 0%, #9012a8 100%);
}

.job-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-single-tags span {
    border: 1px solid #d6dbe6;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    color: #455065;
    background: #f8fafe;
}

.job-single-image-wrap {
    width: 100%;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.job-single-image {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.job-single-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #111827;
}

.job-single-content h2,
.job-single-content h3,
.job-single-content h4 {
    margin-top: 10px;
}

.job-single-content ul,
.job-single-content ol {
    margin: 0;
    padding-left: 22px;
}

.job-single-content ul {
    list-style: disc;
}

.job-single-content ol {
    list-style: decimal;
}

.job-single-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.job-single-back {
    color: #3f4b62;
    border-bottom: 1px solid #3f4b62;
}

.job-related {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.job-related-card {
    border: 1px solid #d8dde8;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.job-related-card a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 18px;
    color: inherit;
}

.job-related-date {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #677387;
}

@media (max-width: 1024px) {
    .job-single-card {
        border-radius: 22px;
        padding: 30px;
        gap: 22px;
    }

    .job-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .job-single-card {
        border-radius: 18px;
        padding: 24px;
    }

    .job-single-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-related-grid {
        grid-template-columns: 100%;
    }
}

@media (max-width: 480px) {
    .job-single-card {
        border-radius: 16px;
        padding: 16px;
        gap: 16px;
    }

    .job-single-badge,
    .job-single-tags span,
    .job-related-date {
        font-size: 11px;
    }

    .job-single-image-wrap {
        border-radius: 14px;
    }
}