﻿/*
Theme Name: EFARO Corporate
Theme URI: https://www.efaro.de
Description: Corporate Theme for EFARO Industrial Software Engineering
Author: EFARO
Version: 1.0.0
Template: blocksy
Text Domain: efaro-corporate
*/

/* EFARO Corporate Design System */



/* =========================================================
   EFARO – LOCAL FONTS
   ========================================================= */

@font-face {
    font-family: 'EFARO Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EFARO Inter';
    src: url('fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EFARO Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EFARO Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   EFARO – GLOBAL TYPOGRAPHY
   ========================================================= */

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'EFARO Inter', Arial, sans-serif;
}


/* =========================================================
   EFARO CORPORATE – DESIGN TOKENS
   ========================================================= */

:root {
    --efaro-dark: #38322F;
    --efaro-dark-deep: #292725;

    --efaro-light: #F6F2EA;
    --efaro-light-secondary: #E8E0D5;

    --efaro-accent: #B79A6A;

    --efaro-text: #38322F;
    --efaro-text-muted: #655D55;
    --efaro-text-inverse: #F6F2EA;

    --efaro-font: 'EFARO Inter', Arial, sans-serif;

    --efaro-content-width: 1200px;
    --efaro-reading-width: 760px;

    --efaro-radius: 8px;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

body {
    font-family: var(--efaro-font);
    color: var(--efaro-text);
    background-color: var(--efaro-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--efaro-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.3rem);
}

h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
}

p {
    line-height: 1.7;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
    text-underline-offset: 0.2em;
}

/* =========================================================
   EFARO SECTION STYLES
   ========================================================= */

.efaro-section-light {
    background-color: var(--efaro-light);
    color: var(--efaro-text);
}

.efaro-section-secondary {
    background-color: var(--efaro-light-secondary);
    color: var(--efaro-text);
}

.efaro-section-dark {
    background-color: var(--efaro-dark);
    color: var(--efaro-text-inverse);
}

.efaro-section-deep {
    background-color: var(--efaro-dark-deep);
    color: var(--efaro-text-inverse);
}

/* =========================================================
   ACCENT ELEMENTS
   ========================================================= */

.efaro-eyebrow {
    color: var(--efaro-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
    h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

/* =========================================================
   EFARO – HOMEPAGE HERO
   ========================================================= */

.efaro-hero {
    background: var(--efaro-dark);
    color: var(--efaro-text-inverse);
    padding: clamp(90px, 11vw, 160px) 24px;
}

.efaro-hero .efaro-hero-inner {
    max-width: var(--efaro-content-width);
    margin-inline: auto;
}

.efaro-hero .efaro-eyebrow {
    color: var(--efaro-accent);
    margin-bottom: 28px;
}

.efaro-hero .efaro-hero-title {
    color: var(--efaro-text-inverse);
    max-width: 950px;
    font-size: clamp(42px, 5.5vw, 78px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 32px;
}

.efaro-hero .efaro-hero-description {
    color: #E8E0D5;
    max-width: 750px;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.65;
    margin-bottom: 40px;
}

.efaro-hero .efaro-hero-actions {
    display: flex;
    gap: 16px;
}

.efaro-hero .efaro-button-primary
.wp-block-button__link {
    background: var(--efaro-light);
    color: var(--efaro-dark);
    border: 1px solid var(--efaro-light);
    border-radius: 5px;
    padding: 15px 26px;
}

.efaro-hero .efaro-button-secondary
.wp-block-button__link {
    background: transparent;
    color: var(--efaro-light);
    border: 1px solid var(--efaro-accent);
    border-radius: 5px;
    padding: 15px 26px;
}

.efaro-hero .efaro-button-primary
.wp-block-button__link:hover {
    background: var(--efaro-light-secondary);
    color: var(--efaro-dark);
}

.efaro-hero .efaro-button-secondary
.wp-block-button__link:hover {
    background: var(--efaro-accent);
    color: var(--efaro-dark);
}

@media (max-width: 767px) {
    .efaro-hero {
        padding: 80px 22px;
    }

    .efaro-hero .efaro-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   EFARO – HERO REFINEMENT
   ========================================================= */

.efaro-hero {
    padding-top: clamp(85px, 8vw, 125px);
    padding-bottom: clamp(85px, 8vw, 125px);
}

.efaro-hero .efaro-hero-inner {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
}

.efaro-hero .efaro-hero-inner > * {
    margin-left: 0;
    margin-right: 0;
}

.efaro-hero .efaro-eyebrow {
    margin-bottom: 28px;
}

.efaro-hero .efaro-hero-title {
    margin-top: 0;
    margin-bottom: 28px;
}

.efaro-hero .efaro-hero-description {
    margin-top: 0;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .efaro-hero {
        padding-top: 75px;
        padding-bottom: 75px;
    }
}

/* EFARO – einheitliche Hero-Ausrichtung */

.efaro-hero .efaro-hero-inner {
    max-width: 1120px;
    margin-inline: auto;
}

.efaro-hero .efaro-hero-inner > * {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.efaro-hero .efaro-hero-description {
    max-width: 750px;
}

/* =========================================================
   EFARO – CORPORATE FOOTER
   ========================================================= */

.ct-footer {
    border-top: 1px solid rgba(56, 50, 47, 0.12);
}

.ct-footer [data-row="bottom"] {
    background: #E9E1D6;
}

.ct-footer .ct-copyright {
    font-size: 13px;
    line-height: 1.6;
}

.ct-footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-footer a:hover {
    color: #A58453;
}

/* =========================================================
   EFARO – SERVICES
   Engineering / Consulting / Training
   ========================================================= */

.efaro-services {
    background: #F5F1E9;
    padding: clamp(80px, 8vw, 125px) 24px;
}

.efaro-services .efaro-services-inner {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
}

.efaro-services .efaro-services-inner > * {
    margin-left: 0;
    margin-right: 0;
}

.efaro-services .efaro-section-eyebrow {
    color: #A58453;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.efaro-services .efaro-section-title {
    color: #38322F;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    max-width: 850px;
    margin-bottom: 24px;
}

.efaro-services .efaro-section-intro {
    color: #635B54;
    font-size: 18px;
    line-height: 1.7;
    max-width: 780px;
    margin-bottom: 55px;
}

.efaro-services .efaro-service-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.efaro-services .efaro-service-grid > .wp-block-column {
    min-width: 0;
    display: flex;
}

.efaro-services .efaro-service-card {
    background: #FFFFFF;
    border: 1px solid rgba(56, 50, 47, 0.10);
    border-radius: 6px;
    padding: 36px 30px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.efaro-services .efaro-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(56, 50, 47, 0.08);
}

.efaro-services .efaro-service-number {
    color: #A58453;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.efaro-services .efaro-service-card h3 {
    color: #38322F;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 22px;
}

.efaro-services .efaro-service-card p:not(.efaro-service-number) {
    color: #635B54;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 781px) {
    .efaro-services {
        padding: 75px 22px;
    }

    .efaro-services .efaro-service-grid {
        flex-direction: column;
        gap: 18px;
    }

    .efaro-services .efaro-service-card {
        padding: 30px 26px;
    }

    .efaro-services .efaro-section-intro {
        margin-bottom: 36px;
    }
}

/* EFARO – Services: unified layout */

.efaro-services .efaro-services-inner {
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}

.efaro-services .efaro-section-eyebrow,
.efaro-services .efaro-section-title,
.efaro-services .efaro-section-intro {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.efaro-services .efaro-section-title,
.efaro-services .efaro-section-intro {
    max-width: 820px;
}

.efaro-services .efaro-service-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: none !important;
    margin-inline: 0 !important;
}

.efaro-services .efaro-service-grid > .wp-block-column {
    min-width: 0;
    margin: 0 !important;
}

.efaro-services .efaro-service-card {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 36px 34px;
}

.efaro-services .efaro-service-card h3 {
    font-size: 25px;
    line-height: 1.3;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.efaro-services .efaro-service-card p {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 900px) {
    .efaro-services .efaro-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .efaro-services .efaro-services-inner {
        width: calc(100% - 32px);
    }

    .efaro-services .efaro-service-card {
        padding: 30px 26px;
    }
}
/* EFARO – einheitliche Inhaltsbreite für Hero und Services */

.efaro-services .efaro-services-inner {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 767px) {
    .efaro-services .efaro-services-inner {
        width: calc(100% - 32px);
        padding-left: 0;
        padding-right: 0;
    }
}

/* =========================================================
   EFARO – ARCHITECTURE BENEFITS
   ========================================================= */

.efaro-benefits {
    background: #ffffff;
    padding: 110px 0 120px;
}

.efaro-benefits .efaro-benefits-inner {
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 40px;
}

.efaro-benefits .efaro-section-eyebrow {
    margin-bottom: 36px;
}

.efaro-benefits-title {
    max-width: 850px;
    margin: 0 0 28px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #302b28;
}

.efaro-benefits-intro {
    max-width: 780px;
    margin: 0 0 65px;
    font-size: 19px;
    line-height: 1.65;
    color: #625b55;
}

.efaro-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 65px;
    margin: 0 !important;
}

.efaro-benefits-grid > .wp-block-column {
    min-width: 0;
    margin: 0 !important;
}

.efaro-benefit-item {
    border-top: 1px solid #d9d0c6;
    padding-top: 28px;
}

.efaro-benefit-index {
    margin-bottom: 28px;
    color: #b17e43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.efaro-benefit-item h3 {
    margin: 0 0 18px;
    font-size: clamp(23px, 2.3vw, 29px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: #302b28;
    overflow-wrap: normal;
    hyphens: none;
}

.efaro-benefit-item p:not(.efaro-benefit-index) {
    margin: 0;
    color: #625b55;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .efaro-benefits {
        padding: 75px 0 85px;
    }

    .efaro-benefits .efaro-benefits-inner {
        width: calc(100% - 32px);
        padding: 0;
    }

    .efaro-benefits-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .efaro-benefits-intro {
        margin-bottom: 45px;
        font-size: 17px;
    }
}

/* EFARO – Benefits: einheitliche Ausrichtung und Rasterbreite */

.efaro-benefits .efaro-benefits-inner > .wp-block-group__inner-container,
.efaro-benefits .efaro-benefits-inner {
    max-width: 1200px;
}

.efaro-benefits .efaro-benefits-inner > .efaro-section-eyebrow,
.efaro-benefits .efaro-benefits-inner > .efaro-benefits-title,
.efaro-benefits .efaro-benefits-inner > .efaro-benefits-intro,
.efaro-benefits .efaro-benefits-inner > .efaro-benefits-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.efaro-benefits .efaro-benefits-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
    .efaro-benefits .efaro-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* EFARO – einheitliche Abschnittskennzeichnungen */

.efaro-benefits .efaro-section-eyebrow {
    color: #b17e43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
