/**
 * @file
 * Subtheme specific CSS.
 */
/*// Basics*/
:root {
    --font-size-body: 18px;
    --line-height-body: 1.44;
    /* entspricht 26px, basierend auf der font-size */
    --font-size-h1: 32px;
    --line-height-h1: 1.41;
    /* entspricht 45px, basierend auf der font-size */
    --font-size-h2: 28px;
    --line-height-h2: 1.14;
    /* entspricht 32px, basierend auf der font-size */
    --font-size-h3: 24px;
    --line-height-h3: 1.38;
    /* entspricht 33px, basierend auf der font-size */
    --font-size-h4: 18px;
    --font-size-h5: 14px;
    --font-size-h6: 12px;
    --line-height-h6: 1.5;
    /* entspricht 18px, basierend auf der font-size */
}

/* Transition for smooth resizing */
* {
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

/* Allgemeine Stile für body und html */
BODY, HTML {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

/* Detaillierte Stile für body */
BODY {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    font-weight: 400;
    color: #0D0D0D;
    background-color: #FFF;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
}

/* HTML-Tag-Stile */
HTML {
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Überschriftenstile */
H1, H2, H3, H4, H5, H6 {
    color: #333;
    margin-top: 0;
    /* Standardmäßig oberen Rand entfernen */
}

/* Spezifische Stile für h1 */
H1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    margin: 40px 0 32px;
    font-weight: 700;
}

/* Spezifische Stile für h2 */
H2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    margin: 27px 0 18px !important;
    font-weight: 700 !important;
}

/* Spezifische Stile für h3 */
H3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    margin: 26px 0 16px;
    font-weight: 700;
}

/* Spezifische Stile für h4 */
H4 {
    font-size: var(--font-size-h4);
    margin: 21px 0 19px;
    font-weight: 700;
}

/* Spezifische Stile für h5 */
H5 {
    font-size: var(--font-size-h5);
    font-weight: 700;
}

/* Spezifische Stile für h6 */
H6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-h6);
    font-weight: 700;
}

/* Stile für Links */
A {
    color: #333;
    text-decoration: underline;
}

/* Stile für Absätze */
P {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: #333;
    transition: all 500ms ease-in-out;
}

/* Ohne !important: sonst können Bausteine auf dunklem Grund (Hero,
   Branchen, Kontakt) ihre Listen nicht weiß färben. Die Animation auf
   allen Listenpunkten war unnötig und ist entfernt. */
.page UL LI {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: #333;
}

/*// Header*/
.header {
    transition: all 500ms ease-in-out;
}

.header .container-fluid {
    background: #FFF !important;
    padding: 0 5%;
    max-height: 100px;
    position: relative;
    left: 0;
    right: 0;
    transition: all 500ms ease-in-out;
    width: 100%;
    z-index: 99;
    box-shadow: 0 0 5px 1px #B7B7B9;
}

.header .container-fluid .site-name-slogan {
    font-size: 13px;
}

.header A.navbar-brand IMG {
    width: auto;
    max-height: 70px;
    margin-top: 5px;
    transition: all 500ms ease-in-out;
}

.site-header .region-logo .site-name-slogan {
    font-size: 13px;
    padding: 0;
}

/*// Main Menu*/
/*// Burger Icon*/
.bar1 {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 0 0 5px 0;
    transition: 0.4s;
}

.bar2 {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 0 0 5px 0;
    transition: 0.4s;
}

.bar3 {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 0 0 5px 0;
    transition: 0.4s;
}

/*// Slider*/
.slider {
    padding: 0;
}

/*// Main Content*/
.page .main-container .main-content {
    padding: 0 0 50px 0;
    position: relative;
}

.node--type-article .main-content {
    padding-right: 5% !important;
}

@media screen and (max-width: 767px) {
    .node--type-article .main-content {
        padding-right: 0 !important;
    }
}

/*// Sidebar Right*/
.main-container ASIDE {
    padding: 45px 0 0;
}

.main-container ASIDE H2 {
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 24px;
    padding-bottom: 25px;
}

@media screen and (max-width: 767px) {
    .main-container ASIDE {
        padding: 45px 15px 0;
    }
}

/*// Content Fullwidth*/
.content-fullwidth-inner .block-block-content H2 {
    text-align: center;
}

/*// Footer Top*/
.footer-top {
    text-align: center;
    padding-bottom: 25px;
}

.footer-top .footer-top-inner .region-footer-top A IMG {
    width: auto;
    max-height: 75px;
}

.footer-top .footer-top-inner .region-footer-top .site-name-slogan {
    font-size: 16px;
}

@media screen and (max-width: 640px) {
    .footer-top .footer-top-inner .region-footer-top .block-content-basic {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        margin: auto;
    }
}

/*// Footer*/
.site-footer {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #FFF;
}

.footer {
    padding: 25px 4% 50px;
    margin: auto;
    background: #FFF !important;
    color: #4B4E53 !important;
    border-top: 1px solid #EEEEEE;
}

.footer H2 {
    color: #4B4E53;
    padding: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer A.navbar-brand {
    padding-bottom: 0;
}

.footer A.navbar-brand IMG {
    max-width: 70px;
    width: 100%;
}

.footer .site-name-slogan {
    padding-bottom: 25px;
    font-size: 13px !important;
}

.footer P {
    color: #555555;
    font-size: 16px;
}

.footer .footer-second P {
    line-height: 28px;
    font-weight: 700;
}

.footer A {
    color: #555555 !important;
    text-decoration: none;
    transition: all 500ms ease-in-out;
}

.footer A:hover {
    color: #101010 !important;
    text-decoration: none;
}

.footer-bottom {
    padding: 30px 0;
    height: 50px;
    background: #FFF;
}

.footer-bottom P {
    font-size: 16px !important;
    color: #555555 !important;
    text-align: center !important;
}

@media screen and (max-width: 767px) {
    .footer {
        padding: 75px 3% 50px;
        margin: auto;
        background: #FFF !important;
        color: #4B4E53 !important;
    }
}

/****

//  Brands CSS 

****/
#block-hetzenterprises-brandblock {
    margin: auto;
    text-align: center;
}

#block-hetzenterprises-brandblock IMG {
    max-width: 150px !important;
    width: 100%;
}

/****

//  Hetz Enterprises CSS - 2027 

****/
/*// Views - Insights
 * @file
 * Insights: Startseiten-Block und Übersicht /insights.
 * Kontraste geprüft auf Weiß: Text #1A1A1A (17,4:1), Meta #595C61 (6,7:1).
 */
/* Farben kommen zentral aus colors.css (--insights-bg = Pantheon-Marmor). */

.view-insights .view-header,
.view-insights .view-header p {
    color: var(--meta-on-stone, #4A4D52);
}
.view-insights .view-header h2 {
    color: var(--ink, #1A1A1A);
}

.view-insights {
    position: relative;
    padding: 4rem 15px;
    background: var(--insights-bg);
    /* Hintergrund läuft auch aus einem Container heraus bis zum Rand */
    box-shadow: 0 0 0 100vmax var(--insights-bg);
    clip-path: inset(0 -100vmax);
}

.view-insights .view-header H2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 1rem auto 0;
    background: var(--roman-red);
}

.insight-card__tags .field__item, .insight-card__tags A {
    border-color: var(--roman-red);
    color: var(--roman-red);
}

.view-insights .view-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insights-grid__item {
    display: flex;
}

.insight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #FFF;
    border: 1px solid #DDD;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.insight-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Rahmen nur bei Tastatur-Fokus (:focus-visible), nicht beim Klicken. */
.insight-card:has(.stretched-link:focus-visible) {
    outline: 3px solid #1A1A1A;
    outline-offset: 3px;
}

.insight-card .stretched-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.insight-card__media IMG {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.insight-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.insight-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    color: #595C61;
    font-size: 0.875rem;
}

.insight-card__date {
    display: inline-flex;
    gap: 0.3em;
    font-weight: 600;
}

.insight-card__tags .field__item, .insight-card__tags A {
    display: inline-block;
    margin: 0 0.35rem 0.35rem 0;
    padding: 0.15rem 0.6rem;
    color: #595C61;
    font-size: 0.8rem;
    text-decoration: none;
}

.insight-card__tags A {
    position: relative;
    z-index: 2;
    border: 1px solid #595C61;
}

.insight-card__title {
    margin: 0 0 0.75rem !important;
    font-size: 1.35rem;
    line-height: 1.3;
}

.insight-card__title A {
    color: #1A1A1A;
    text-decoration: none;
}

.insight-card:hover .insight-card__title A {
    text-decoration: none;
}

.insight-card__teaser, .insight-card__teaser P {
    margin: 0 0 1rem;
    color: #1A1A1A;
    font-size: 1rem;
}

.insight-card__more {
    margin-top: auto;
    color: #1A1A1A;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.insight-card__more::after {
    content: " \2192";
}

.view-insights .view-footer {
    margin-top: 2rem;
    text-align: center;
}

.view-insights .view-footer A {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: 2px solid #1A1A1A;
    background: #1A1A1A;
    color: #FFF;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.view-insights .view-footer A:hover {
    background: transparent;
    color: #1A1A1A;
}

.view-insights .views-exposed-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-end;
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.view-insights .views-exposed-form LABEL {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #595C61;
}

.view-insights .bef-links UL {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.view-insights .bef-links A {
    display: inline-block;
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border: 1px solid #1A1A1A;
    background: #FFF;
    color: #1A1A1A;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.view-insights .bef-links A:hover {
    border-color: var(--roman-red, #A82824);
    color: var(--roman-red, #A82824);
}

.view-insights .bef-links A.bef-link--selected, .view-insights .bef-links A[aria-current] {
    border-color: #1A1A1A;
    background: #1A1A1A;
    color: #FFF;
}

.view-insights .views-exposed-form .form-select {
    min-width: 260px;
    min-height: 44px;
    border: 1px solid #1A1A1A;
    border-radius: var(--radius, 0);
}

.view-insights .views-exposed-form .form-submit, .view-insights .views-exposed-form .btn {
    min-height: 44px;
    padding: 0.6rem 1.5rem;
    border: 2px solid #1A1A1A;
    border-radius: var(--radius, 0);
    background: #1A1A1A;
    color: #FFF;
    font-weight: 600;
}

.path-insights H1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 1rem;
    background: var(--roman-red, #A82824);
}

.view-insights.view-display-id-page_1 .view-header {
    max-width: 760px;
    margin: 0 0 2.5rem 0;
    padding-top: 0;
    text-align: left;
}

.view-insights.view-display-id-page_1 .view-header P {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1A1A1A;
}

.view-insights .views-exposed-form .form-submit:hover, .view-insights .views-exposed-form .btn:hover {
    background: transparent;
    color: #1A1A1A;
}

.view-insights .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0 1rem;
    padding: 0;
    list-style: none;
}

.view-insights .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 0 0.9rem;
    border: 1px solid #1A1A1A;
    border-radius: var(--radius, 0);
    background: #FFF;
    color: #1A1A1A;
    font-family: var(--font-heading, serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.view-insights .pagination .page-item:first-child .page-link, .view-insights .pagination .page-item:last-child .page-link {
    border-radius: var(--radius, 0);
}

.view-insights .pagination A.page-link:hover {
    border-color: var(--roman-red, #A82824);
    background: #FFF;
    color: var(--roman-red, #A82824);
}

.view-insights .pagination .page-item.active .page-link, .view-insights .pagination .page-link[aria-current="page"] {
    border-color: #1A1A1A;
    background: #1A1A1A;
    color: #FFF;
}

.view-insights .pagination .page-item--ellipsis .page-link, .view-insights .pagination LI[role="presentation"] .page-link {
    min-width: auto;
    border-color: transparent;
    background: transparent;
}

.view-insights .pagination .page-link:focus {
    box-shadow: none;
}
