@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hemker/assets/fonts/open-sans/OpenSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hemker/assets/fonts/open-sans/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hemker/assets/fonts/open-sans/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hemker/assets/fonts/open-sans/OpenSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hemker/assets/fonts/open-sans/OpenSans-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/*
Theme: Hemker 2026
Struktur:
01. Design Tokens / Variablen
02. Base / Reset
03. Utilities / Helper
04. Header: Top-Leiste, Navigation, Mobile Menu
05. Hero / Slider / Headerbild
06. Content / Typografie / Spalten
07. Karten / Teaser / Personen
08. Sidebar / Inhaltssektionen / Partner
09. Offcanvas / Mobile Menu
10. Kontakt-Section
11. Footer
12. Desktop Layout / Motion / Scroll-States
13. Galerie / Lightbox
14. Downloads / Links
15. Modal PopUp
*/

/* ==================================================
   01. Design Tokens / Variablen
   ================================================== */
:root{
    /* Farben */
    --color-primary: #f3ce41;
    --color-primary-soft: #f7f0d7;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-muted: #fafafa;
    --color-surface-soft: #f5f5f5;
    --color-text: #2e2e2e;
    --color-heading: #444444;
    --color-muted: #6b6b6b;
    --color-anthra: #121212;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-1: #f4f5f6;
    --color-gray-2: #d9d9d9;
    --color-border: rgba(0, 0, 0, 0.10);
    --color-border-soft: rgba(0, 0, 0, 0.08);
    --color-brand-gold: #c5a46a;
    --color-navy: #14213d;
    --color-shoplabel-bg: #6f6f6f;

    /* Kompatibilitäts-Aliase für bestehende Selektoren */
    --yellow: var(--color-primary);
    --yellow-2: var(--color-primary-soft);
    --bg: var(--color-bg);
    --text: var(--color-text);
    --muted: var(--color-muted);
    --anthra: var(--color-anthra);
    --gray-1: var(--color-gray-1);
    --gray-2: var(--color-gray-2);
    --shoplabel-bg: var(--color-shoplabel-bg);

    /* Typografie */
    --font-base: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height-base: 1.45;

    /* Layout */
    --container: 1400px;
    --container-gutter: 48px;
    --section-padding-y: clamp(56px, 8vw, 110px);

    /* Radien */
    --radius-xs: 5px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 999px;
    --radius-circle: 50%;
    --radius: var(--radius-xl);

    /* Schatten */
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-soft-hover: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.10);
    --shadow-card-hover: 0 12px 26px rgba(0, 0, 0, 0.10);
    --shadow-header: 0 6px 12px -2px rgba(0, 0, 0, 0.25);
    --shadow-dropdown: 0 20px 50px 10px rgba(0, 0, 0, 0.15);
    --shadow-contact: 0 10px 24px rgba(0, 0, 0, 0.04);
    --shadow: var(--shadow-card);

    /* Animationen */
    --transition-fast: 0.18s ease;
    --transition-base: 0.22s ease;
    --transition-slow: 0.35s ease;

    /* Dynamische Höhen für fixen Header */
    --topbar-height: 32px;
    --header-offset: 110px;

    /* Corner geometry (45°: square) – wird per JS überschrieben, aktuell ohne Einsatz */
    --corner-size: 120px;
}

/* ==================================================
   02. Base / Reset
   ================================================== */
*{
    box-sizing: border-box;
}
html, body{
    height: 100%;
}
body{
    margin: 0;
    font-family: var(--font-base);
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.45;
}
img{
    max-width: 100%;
    display: block;
}
a{
    color: inherit;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

/* ==================================================
   03. Utilities / Helper
   ================================================== */
.mt-20 {margin-top: 20px !important}
.mb-20 {margin-bottom: 20px !important}

.pt-0 {padding-top: 0px !important}
.pb-10 {padding-bottom: 10px !important}
.pt-20 {padding-top: 20px !important}
.pb-20 {padding-bottom: 20px !important}
.pt-100 {padding-top: 100px !important}
.pt-200 {padding-top: 200px !important}

.text-center {
    text-align: center;
}

.text-left {
	text-align: left;
}

.container{
    width: min(var(--container), calc(100% - var(--container-gutter)));
    margin-inline: auto;
}

.skip-link{
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--anthra);
    color: var(--color-white);
    padding: 10px 12px;
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform .2s ease;
    z-index: 9999;
}
.skip-link:focus{
    transform: translateY(0);
}

/* ==================================================
   04. Header: Top-Leiste, Navigation, Mobile Menu
   ================================================== */

/* Top-Leiste (Kontakt + Social) */
.top-bar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 55;
    background: #555;
    color: #111;
    font-size: 0.9rem;
}
.top-bar-inner{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 3px 0;
    gap: 12px;
}
.top-bar-right{
    display: flex;
    align-items: center;
    gap: 14px;
}
.top-bar-contact{
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.top-bar-link{
    color: #f6f6f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.top-bar-link:hover{
    color: rgba(255,255,255,.85);
    text-decoration: none;
}
.top-bar-link i{
    font-size: 1rem;
    color: var(--green);
}
.top-bar-divider{
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,.4);
    flex-shrink: 0;
}
.top-bar-social{
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-bar-icon{
    color: var(--color-white);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.top-bar-icon:hover{
    color: var(--color-white);
    background: rgba(255,255,255,.15);
    text-decoration: none;
}

@media (max-width: 520px){
    .top-bar-inner{
        padding:3px 0;
    }
    .top-bar-contact{
        gap: 5px;
    }
    .top-bar-divider{
        display: none;
    }
}



/* Header */
.site-header{
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--color-white);
    overflow: visible; /* wichtig: Dropdown darf aus dem Header heraus */
    box-shadow: var(--shadow-header);
}

main{
    padding-top: var(--header-offset);
}

.site-header > *{
    position: relative;
    z-index: 1;
}

.header-inner{
    position: relative; /* Offset-Parent für das Dropdown */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    min-height: 96px;
}

.brand{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand img{
    width: 130px;
    height: auto;
}

/* Desktop Nav */
.main-nav{
    display: none;
}
.nav-list{
    display: flex;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.nav-link{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px 6px; /* unten etwas Platz für die Linie */
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    border: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

/* animierte Linie */
.nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;                 /* Abstand unter der Schrift */
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;      /* links starten */
    transition: transform .18s ease;
}

.nav-link:hover{ color: var(--text); text-decoration: none; }
.nav-link:hover::after{ transform: scaleX(1); }
.nav-item.is-active .nav-link::after,
.nav-item.is-open .nav-link::after,
.nav-item.current-menu-item .nav-link::after,
.nav-item.current-menu-ancestor .nav-link::after{ transform: scaleX(1); }
.nav-item{ position: static; }

/* Hover: keine Farbänderung, nur Linie */
.nav-link:hover{
    color: var(--text);
    text-decoration: none;
}

.nav-link:hover::after{
    transform: scaleX(1);
}

.nav-item.is-active .nav-link::after{
    transform: scaleX(1);
}

.nav-item.is-open .nav-link::after{
    transform: scaleX(1);
} 




/* Wichtig: static, damit das Submenu NICHT relativ zum nav-item positioniert */
.nav-item{
    position: static;
}

/*
.has-submenu i.fa-chevron-down{
    color: var(--yellow);
}
*/

/* Submenu: bündig unterhalb der Header-Border (Screen 2) */
.has-submenu .submenu{
    position: absolute;
    top: 100%;                      /* bündig unterhalb des Headers */
    left: var(--submenu-left, 0px); /* kommt aus JS */
    transform: none;
    margin-top: 1px;
    border-top: solid 4px var(--yellow);
    background: #555;
    color: var(--color-white);
    min-width: 220px;
    -webkit-box-shadow: var(--shadow-dropdown);
    -moz-box-shadow: var(--shadow-dropdown);
    box-shadow: var(--shadow-dropdown);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 99999;
}


.has-submenu .submenu a{
    display: block;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: normal;
}

.has-submenu .submenu a.is-current-submenu-link{
    position: relative;
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.has-submenu .submenu a.is-current-submenu-link::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    bottom: 0px;
    width: 3px;
    background: var(--yellow);
}

.has-submenu .submenu a.is-current-submenu-link:hover{
    color: #111;
    background: var(--yellow);
}

.has-submenu .submenu a:hover{
    background: var(--yellow);
    color: #111;
    text-decoration: none;
}

.nav-item.is-open .submenu{
    opacity: 1;
    visibility: visible;
}

.header-actions{
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-kontakt{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #444;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-kontakt:hover{
    background: #333;
    color: var(--color-white);
    text-decoration: none;
}
.btn-kontakt i{
    font-size: 1rem;
    color: var(--yellow);
}

.social-icons{
    display: none;
    align-items: center;
    gap: 5px;
    opacity: .9;
}
.social-icons i{
    font-size: 22px;
    color: var(--muted);
}
.icon-link{
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    color: #3a3a3a;
}
.icon-link:hover{
    color: var(--yellow);
    text-decoration: none;
    background: rgba(6,133,0,.08);
}

/* Hamburger */
.hamburger{
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    cursor: pointer;
}
.hamburger-lines{
    width: 20px;
    height: 14px;
    position: relative;
    display: inline-block;
}
.hamburger-lines::before,
.hamburger-lines::after,
.hamburger-lines{
    background: transparent;
}
.hamburger-lines::before,
.hamburger-lines::after{
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #1b1b1b;
    border-radius: 10px;
    transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.hamburger-lines::before{
    top: 2px;
}
.hamburger-lines::after{
    top: 10px;
}
.hamburger[aria-expanded="true"] .hamburger-lines::before{
    top: 6px;
    transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-lines::after{
    top: 6px;
    transform: rotate(-45deg);
}

/* ==================================================
   05. Hero / Slider / Headerbild
   ================================================== */

/* Hero / Slider */
.hero{
    width: 100%;
    background: #e9ecef;
}

.hero-slider{
    position: relative;
    width: 100%;
    height: clamp(220px, 36vw, 520px);
    overflow: hidden;
    background: #e9ecef;
    touch-action: pan-y; /* wichtig: horizontales Draggen, vertikales Scrollen bleibt */
}

.hero-track{
    display: flex;
    height: 100%;
    transform: translate3d(-100%, 0, 0); /* Startposition (wegen Klon-Slide) */
    will-change: transform;
}

.hero-slide{
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Pfeile */
.hero-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    z-index: 2;

    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: transform .18s ease, background .18s ease, opacity .18s ease;
    opacity: .9;
}

.hero-arrow i{
    font-size: 22px;
}

.hero-arrow--prev{
    left: 14px;
}

.hero-arrow--next{
    right: 14px;
}

.hero-arrow:hover{
    background: rgba(0, 0, 0, 0.28);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow:active{
    transform: translateY(-50%) scale(0.98);
}

/* Headerbild mit zentrierter Overlay-Textbox */
.hero-header-image .hero-slide{
    position: relative;
}

.hero-header-image__overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(1100px, calc(100% - 40px));
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2vw, 16px);
    text-align: center;
}

.hero-header-image__title{
    margin: 0;
    color: inherit;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
}

/* Slider-Inhalte */
.hero-slide__inner{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-link{
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    margin-top: 24px;
    min-height: 44px;
    padding: 0 20px;
    background: #2f2f2f;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible{
    color: #ffffff;
    text-decoration: none;
    background: #252525;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.hero-link i{
    color: var(--yellow, #f3ce41);
}

.hero-content{
    position: absolute;
    left: clamp(24px, 8vw, 140px);
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    padding: clamp(22px, 3vw, 42px);
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    display: inline-block;
    width: fit-content;
    max-width: min(640px, calc(100% - 48px));
}

.hero-headline{
    margin: 0;
    color: inherit;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.hero-text{
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 400;
    line-height: 1.45;
}

.hero-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    min-height: 44px;
    padding: 0 20px;
    background: #2f2f2f;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-slider--single .hero-track{
    display: block;
    width: 100%;
    height: 100%;
    transform: none !important;
    transition: none !important;
}

.hero-slider--single .hero-slide{
    width: 100%;
    height: 100%;
    min-width: 100%;
}

.hero-slide > a:hover .hero-link{
    background: #252525;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.hero-slider--single .hero-slide__inner{
    position: relative;
    width: 100%;
    height: 100%;
}

/* Optional: Pfeile auf sehr kleinen Screens etwas kleiner */
@media (max-width: 520px){
    .hero-arrow{
        width: 46px;
        height: 46px;
    }
    .hero-arrow i{
        font-size: 20px;
    }
}

@media (max-width: 767px){
    .hero-content{
        left: 50%;
        top: auto;
        bottom: 24px;
        width: calc(100% - 40px);
        transform: translateX(-50%);
        padding: 20px;
    }

    .hero-headline{
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .hero-text{
        font-size: 1rem;
    }

    .hero-link{
        margin-top: 18px;
    }
}

/* ==================================================
   06. Content / Typografie / Spalten
   ================================================== */

/* Content typography – Startstil wie im Screenshot */
.content{
    padding: 56px 0 80px;
    background: var(--color-white);
}

.content__inner{
    width: min(var(--container), calc(100% - var(--container-gutter)));
    margin: 0 auto;
}

/* =========================================
   Content: Spalten-Layout (Subseiten)
   ========================================= */

.content__cols{
    width: min(var(--container), calc(100% - var(--container-gutter)));
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

/* Wichtig: Wenn .content__inner in Spalten genutzt wird,
   darf es NICHT nochmal seine eigene Container-Breite setzen */
.content__cols .content__inner{
    width: auto;
    margin: 0;
}

/* Sidebar (optional – kannst du natürlich anpassen/entfernen) */
.content__aside{
    width: 100%;
}

/* Desktop: nebeneinander */
@media (min-width: 980px){
    .content__cols{
        flex-direction: row;
        align-items: flex-start;
    }

    /* Spaltenbreiten (Utilities) */
    .col-2of3{
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .col-1of3{
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .col-1of2{
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Falls du irgendwann 1/3–2/3 spiegeln willst */
    .col-2of3,
    .col-1of3,
    .col-1of2{
        min-width: 0; /* verhindert Überlaufen bei langen Inhalten */
    }
}



/* Headline (H1) */
.content h1{
    margin: 0 0 34px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 0.01em;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;;
}

.content h1::before{
    content: "";
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.5em;
    vertical-align: -0.2em;
    background-image: url("../images/hemker_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Zwischenüberschriften (H2) */
.content h2{
    margin: 34px 0 10px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: var(--yellow);
}

/* Fließtext */
.content p, .content ul li {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
    color: #555;
}

.content ul  {
	list-style-position: inside;
}
.content ul li {
	margin-bottom: 0;
}

/* Lead-Absatz (Einleitung) */
.content__lead{
    margin-top: 0;
    font-size: 19px;
    line-height: 1.85;
    color: #6a6a6a;
}

/* Links dezent, beim Hover grün */
.content a{
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.content a:hover{
    color: var(--yellow);
}

/* Meta-Zeile am Ende (optional) */
.content__meta{
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.4;
    color: #9a9a9a;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.content__dot{
    opacity: 0.6;
}

/* Listen (falls du sie brauchst) */
.content ul,
.content ol{
    margin: 0 0 18px;
    padding-left: 22px;
    color: #6b6b6b;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
}

.content li{
    margin: 6px 0;
}

/* ==================================================
   07. Karten / Teaser / Personen
   ================================================== */

/* News Teaser Section */
.news-teaser {
    padding: 76px 0 90px;
    background: var(--color-surface-muted);
}

.news-teaser__title {
    margin: 0 0 18px;
    font-size: 1.4em;
    line-height: 1.15;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: #444;
}

/* Grid */
.news-grid{
    display: grid;
    gap: 26px;
    grid-template-columns: 1fr;
}

@media (min-width: 680px){
    .news-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px){
    .news-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card: gleiche Höhe im Grid */
.news-card{
    height: 100%;
}

.news-card__link{
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    overflow: hidden;
}

.news-card__link:hover {
    text-decoration: none;
}

.news-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* Bildfläche wie im Beispiel */
    background: #e9ecef;
}

.news-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .35s ease;
}

/* Bild-Zoom on hover */
.news-card__link:hover .news-card__img{
    transform: scale(1.05);
}

/* Label: abgeschnittene Ecke über gradient (~45°) */
.news-card__label{
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;

    height: 32px;
    padding: 0 30px 0 14px;

    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 13px;
    text-transform: none;

    /* abgeschnittene Ecke rechts */
    background: linear-gradient(300deg, transparent 18px, var(--yellow) 0) top left;
}

/* Body */
.news-card__body{
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1; /* sorgt für gleiche Kartenhöhe */
}

.news-card__headline{
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #111;

    /* Optional: verhindert "Zittern" bei sehr langen Titeln */
    display: -webkit-box;
    /*-webkit-line-clamp: 3;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__date{
    margin-top: auto; /* Datum immer nach unten */
    font-size: 13px;
    color: #7a7a7a;
    font-weight: 300;
}


/* People Teaser Section */
.people-teaser {
    padding: 76px 0 90px;
    background: var(--color-surface-muted);
}

.people-teaser__title {
    margin: 0 0 18px;
    font-size: 1.4em;
    line-height: 1.15;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: #444;
}

/* Grid */
.people-grid{
    display: grid;
    gap: 26px;
    grid-template-columns: 1fr;
}

@media (min-width: 680px){
    .people-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px){
    .people-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card: gleiche Höhe im Grid */
.people-card{
    height: 100%;
}

.people-card__link{
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    overflow: hidden;
}

.people-card__link:hover {
    text-decoration: none;
}

.people-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Bildfläche wie im Beispiel */
    background: #e9ecef;
}

.people-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .35s ease;
}

.people-card__contact-item i {
	color: var(--yellow);
	margin-right: 10px;
}
 
/* Bild-Zoom on hover */
.people-card__link:hover .people-card__img{
    transform: scale(1.05);
}

/* Label: abgeschnittene Ecke über gradient (~45°) */
.people-card__label{
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;

    height: 32px;
    padding: 0 30px 0 14px;

    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 13px;
    text-transform: none;

    /* abgeschnittene Ecke rechts */
    background: linear-gradient(300deg, transparent 18px, var(--yellow) 0) top left;
}

/* Body */
.people-card__body{
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1; /* sorgt für gleiche Kartenhöhe */
}

.people-card__headline{
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #111;

    /* Optional: verhindert "Zittern" bei sehr langen Titeln */
    display: -webkit-box;
    /*-webkit-line-clamp: 3;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.people-card__date{
    margin-top: auto; /* Datum immer nach unten */
    font-size: 13px;
    color: #7a7a7a;
    font-weight: 300;
}

.people-card__contact-item a{
    color: inherit;
    text-decoration: none;
}

.people-card__contact-item a:hover{
    text-decoration: none;
}

.people-card__contact-item i{
    color: var(--yellow);
    margin-right: 10px;
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
}

/* Telefon: leicht kippen */
.people-card__contact-item:has(a[href^="tel:"]):hover i{
    transform: rotate(-12deg) scale(1.08);
}

/* Mail: leicht anheben */
.people-card__contact-item:has(a[href^="mailto:"]):hover i{
    transform: translateY(-2px) scale(1.08);
}

.teaser-section{
    padding: 80px 0;
}

.teaser-section__title{
    margin: 0 0 28px;
}

.teaser-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.teaser-card{
    height: 100%;
}

.teaser-card__link{
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.teaser-card__link:hover{
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.teaser-card__media{
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e9ecef;
}

.teaser-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.teaser-card__link:hover .teaser-card__img{
    transform: scale(1.04);
}

.teaser-card__body{
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.teaser-card__headline{
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--anthra);
}

.teaser-card__intro{
    color: #555;
    font-size: 16px;
    line-height: 1.65;
    flex: 1;
}

.teaser-card__intro p{
    margin: 0 0 12px;
}

.teaser-card__intro p:last-child{
    margin-bottom: 0;
}

.teaser-card__button{
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    background: #2f2f2f;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    align-self: flex-start;
    transition: background-color .22s ease, transform .22s ease;
}

.teaser-card__link:hover .teaser-card__button{
    background: #252525;
    transform: translateY(-1px);
}

@media (max-width: 1100px){
    .teaser-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .teaser-section{
        padding: 56px 0;
    }

    .teaser-grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .teaser-card__headline{
        font-size: 22px;
    }
}


/* ==================================================
   08. Sidebar / Inhaltssektionen / Partner
   ================================================== */

/* Sidebar */
.sidebox {
    height: 200px;
    width: 100%;
    background-color: #f6f6f6;
    display: flex;
    font-size: 2em;
    justify-content: center;
    align-items: center;
    color: #999;
}

.side-circle {
    width: 100%;
    height: 100%;
    clip-path: polygon(-10px 0px, 0% 20px,20px 0px);
    background-color: #888;
}



/* Shoplinks Band (wie im Screenshot) */
.shoplinks-band{
    background: var(--yellow);
    padding: 70px 0;
}

/* Layout: links Text, rechts 2 Kacheln */
.shoplinks-band__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}

/* Desktop: zwei Spalten */
@media (min-width: 980px){
    .shoplinks-band{
        padding: 80px 0;
    }

    .shoplinks-band__grid{
        grid-template-columns: 1.05fr 0.95fr; /* wirkt wie im Screenshot */
        gap: 44px;
    }
}

/* Text (weiß auf grün) */
.shoplinks-band__text{
    color: var(--color-white);
}

.shoplinks-band__headline{
    margin: 0 0 18px;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-white);
}

.shoplinks-band__text p{
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
    color: rgba(255,255,255,.92);
}

/* Rechts: zwei weiße Kacheln */
.shoplinks-band__tiles{
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}


/* Inhaltssektionen – Varianten */
.shoplinks-band--beige{
    background: var(--yellow-2);
}

.shoplinks-band--white{
    background: var(--color-white);
}

/* Textfarben für diese Inhaltssektionen */
.shoplinks-band--beige .shoplinks-band__text,
.shoplinks-band--white .shoplinks-band__text{
    color: var(--anthra);
}

.shoplinks-band--beige .shoplinks-band__headline,
.shoplinks-band--white .shoplinks-band__headline{
    color: var(--anthra);
}

.shoplinks-band--beige .shoplinks-band__content,
.shoplinks-band--white .shoplinks-band__content{
    color: #444;
}

.shoplinks-band__content p{
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
	color: var(--anthra);
}

.shoplinks-band__content p:last-child{
    margin-bottom: 0;
}

/* Medienbereich */
.shoplinks-band__media{
    width: 100%;
}

/* Standard: Text links / Bild rechts */
.shoplinks-band__grid--image-right .shoplinks-band__text{
    order: 1;
}

.shoplinks-band__grid--image-right .shoplinks-band__media{
    order: 2;
}

/* Alternative: Bild links / Text rechts */
.shoplinks-band__grid--image-left .shoplinks-band__text{
    order: 2;
}

.shoplinks-band__grid--image-left .shoplinks-band__media{
    order: 1;
}

@media (min-width: 980px){
    .shoplinks-band__grid--image-right .shoplinks-band__text{
        padding-right: 30px;
    }

    .shoplinks-band__grid--image-left .shoplinks-band__text{
        padding-left: 30px;
    }
}

/* Diese Variante nutzt immer eine große Kachel */
.shoplinks-band__media .shoplinks-tile{
    aspect-ratio: 16 / 10;
}

@media (min-width: 980px){
    .shoplinks-band__media .shoplinks-tile{
        aspect-ratio: 16 / 10;
    }
}



/* Ab Tablet/ Desktop nebeneinander */
@media (min-width: 680px){
    .shoplinks-band__tiles{
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        justify-content: end;
    }
    .shoplinks-band__tiles.fullgrid {
        grid-template-columns: 1fr;
    }
    
}

/* Kachel-Styles (Platzhalter wie im Screenshot) */
.shoplinks-tile{
    display: block;
    background: var(--color-white);
    /*border: 6px solid rgba(255,255,255,1);*/
    padding: 6px;
    box-shadow: var(--shadow-card);
    border-radius: 0;              /* im Screenshot eckig */
    aspect-ratio: 4 / 3;           /* ca. wie Platzhalter */
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative; 
}

.fullgrid .shoplinks-tile {
    aspect-ratio: 8 /3;
}

/* Optionaler Hover */
.shoplinks-tile:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

/* Wenn später Bilder rein sollen */
.shoplinks-tile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shoplinks-tile__label{
    position: absolute;
    left: 0px;
    top: auto;
    bottom: 6px;
    display: inline-flex;
    align-items: center;

    height: 32px;
    padding: 0 30px 0 14px;

    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 13px;

    /* abgeschnittene Ecke rechts – gleicher Stil wie News */
    background: linear-gradient(300deg, transparent 18px, var(--shoplabel-bg) 0) top left;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.20));
}

.sponsor-marquee{
    padding: 18px 0 60px;
    background: var(--color-white);
}

.sponsor-marquee__viewport{
    width: 100%;
    position: relative;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    /*
    border-top: 1px solid rgba(0,0,0,.10);
    border-bottom: 1px solid rgba(0,0,0,.10);
    */
    padding: 18px 0;
    cursor: grab;
}

.sponsor-marquee__viewport.is-dragging{
    cursor: grabbing;
}

/* Wichtig: Track bekommt seitliches Padding, damit Logos nicht „kleben“ */
.sponsor-marquee__track{
    display: flex;
    gap: 60px;                 /* du hast es ja ggf. schon angepasst */
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    padding: 0 24px;           /* Abstand zum View-Rand */
}

@media (min-width: 980px){
    .sponsor-marquee__track{
        padding: 0 40px;
    }
}

/* Logo Platzhalter (4:3) */
.sponsor-logo{
    flex: 0 0 auto;
    width: clamp(140px, 16vw, 150px);
    aspect-ratio: 4 / 3;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    display: grid;
    place-items: center;
    color: #3a3a3a;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    will-change: transform;
}

.sponsor-logo span{
    opacity: .75;
    font-size: 12px;
}

.sponsor-logo:hover{
    transform: translate3d(0, -2px, 0) scale(1.06);
    box-shadow: 0 8px 18px rgba(0,0,0,.09);
    border-color: rgba(0,0,0,.18);
    z-index: 2;
}

.sponsor-logo:hover span {
    opacity: 1;
}

.sponsor-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    display: block;
}



/* ==================================================
   09. Offcanvas / Mobile Menu
   ================================================== */

/* Offcanvas / Mobile menu */
.backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.50);
    z-index: 60;
}

.offcanvas{
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, 88vw);
    height: 100%;
    background: var(--color-white);
    z-index: 70;
    transform: translateX(-100%);
    transition: transform .22s ease;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.offcanvas.is-open{
    transform: translateX(0);
}
.offcanvas-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.offcanvas-close{
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,.10);
    background: var(--color-white);
    cursor: pointer;
}

.offcanvas-nav{
    padding: 6px 0;
    overflow: auto;
}
.mobile-list{
    list-style: none;
    margin: 0;
    padding: 0;
}


.acc-item{
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Mobile Navigation: einheitliche Zeilen-Optik für Button & Link */
.acc-item{
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Gemeinsamer Look */
.acc-trigger,
.mobile-link{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 14px 16px;
    background: var(--color-white);
    border: 0;

    cursor: pointer;

    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    color: #1f1f1f;

    /* damit <a> nicht wie ein Link aussieht */
    text-decoration: none;
}

/* <a> soll sich wie ein Button verhalten (ohne underline) */
.mobile-link:hover{
    text-decoration: none;
}

/* Hover wie bei den Accordion-Zeilen */
.acc-trigger:hover,
.mobile-link:hover{
    background: rgba(0,0,0,.03);
}

/* Focus sichtbar (Keyboard) */
.acc-trigger:focus-visible,
.mobile-link:focus-visible{
    outline: 2px solid rgba(6,133,0,.45);
    outline-offset: -2px;
}

/* Chevron-Icon */
.acc-trigger i{
    opacity: .65;
    transition: transform .18s ease;
}

.acc-item.is-open .acc-trigger i{
    transform: rotate(180deg);
}


.acc-item.is-open .acc-trigger i{
    transform: rotate(180deg);
}
/* Accordion Panel: standardmäßig geschlossen */
.acc-panel{
    padding: 0 8px 0 8px;
    display: none;                 /* <- zu */
    gap: 2px;
    padding-bottom: 10px;
}

.acc-item.is-open .acc-panel{
    display: grid;                 /* <- auf */
}

.acc-panel a{
    padding: 10px 10px;
    color: #444;
    border-radius: 10px;
    font-size: 14px;
}
.acc-panel a:hover{
    text-decoration: none;
    background: rgba(0,0,0,.05);
}

.offcanvas-bottom{
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.offcanvas-bottom .social-icons{
    display: flex;
}


/* ==================================================
   10. Kontakt-Section
   ================================================== */

.contact-split-section{
    padding: 80px 0;
    background: var(--color-surface-soft);
}

.contact-split-section__grid{
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 420px);
    gap: 40px;
    align-items: start;
}

.contact-form-box{
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.08);
    padding: 48px;
    box-shadow: var(--shadow-contact);
}

.contact-form-box__headline{
    margin: 0 0 28px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--anthra);
}

.contact-form-box__intro{
    margin-bottom: 28px;
    color: #5b6470;
}

.contact-form-box__intro p{
    margin: 0 0 16px;
}

.contact-form-box__intro p:last-child{
    margin-bottom: 0;
}

.contact-form-box__form{
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.contact-form-box__field input,
.contact-form-box__field textarea{
    width: 100%;
    border: 1px solid #d5d9df;
    border-radius: var(--radius-xs);
    background: var(--color-white);
    color: #2d3640;
    font-size: 18px;
    line-height: 1.4;
    padding: 0 20px;
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.contact-form-box__field input{
    height: 56px;
}

.contact-form-box__field textarea{
    min-height: 130px;
    border-radius: var(--radius-xs);
    padding-top: 18px;
    padding-bottom: 18px;
    resize: vertical;
}

.contact-form-box__field input::placeholder,
.contact-form-box__field textarea::placeholder{
    color: #8b97a5;
}

.contact-form-box__field input:focus,
.contact-form-box__field textarea:focus{
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(241, 194, 50, .12);
}

.contact-form-box__submit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    width: 100%;
    border: 0;
    border-radius: var(--radius-xs);
    background: #2f2f2f;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-form-box__submit i{
    color: var(--yellow);
    font-size: 20px;
    transition: transform .22s ease;
}

.contact-form-box__submit:hover{
    background: #252525;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.contact-form-box__submit:hover i{
    transform: rotate(-10deg) scale(1.08);
}

.contact-form-box__submit:active{
    transform: translateY(1px);
}

.contact-form-box__note{
    color: #7b8794;
    font-size: 14px;
    line-height: 1.55;
}

.contact-form-box__note p{
    margin: 0 0 6px;
}

.contact-form-box__note p:last-child{
    margin-bottom: 0;
}

.contact-form-box__note i{
    margin-right: 6px;
}

.contact-form-box__note a{
    color: inherit;
    text-decoration: underline;
}

.contact-person-card__inner{
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.contact-person-card__media{
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9ecef;
}

.contact-person-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-person-card__label{
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 30px 0 14px;
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 13px;
    background: linear-gradient(300deg, transparent 18px, var(--yellow) 0) top left;
}

.contact-person-card__body{
    padding: 18px 18px 20px;
}

.contact-person-card__headline{
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-person-card__contact{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-person-card__contact-item{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #4d5966;
    font-size: 15px;
    line-height: 1.4;
}

.contact-person-card__contact-item i{
    color: var(--yellow);
    transition: transform .22s ease;
}

.contact-person-card__contact-item a{
    color: inherit;
    text-decoration: none;
}

.contact-person-card__contact-item--phone:hover i{
    transform: rotate(-12deg) scale(1.08);
}

.contact-person-card__contact-item--mail:hover i{
    transform: translateY(-2px) scale(1.08);
}

label.screen-reader-text {
	display: none;
}

@media (max-width: 980px){
    .contact-split-section{
        padding: 56px 0;
    }

    .contact-split-section__grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-form-box{
        padding: 30px 22px;
    }

    .contact-form-box__headline{
        font-size: 22px;
        margin-bottom: 22px;
    }

    .contact-form-box__field input,
    .contact-form-box__field textarea{
        font-size: 16px;
    }

    .contact-form-box__submit{
        font-size: 18px;
    }
}

.postcontent.nobottommargin {
	text-align: left;
}


/* Kontakt: Google Maps Consent */
.contact-map-section{
    width: 100%;
    padding: 0;
    background: #f1f2f3;

}

.contact-map-consent{
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 0;
    overflow: hidden;
}

.contact-map-consent__placeholder,
.contact-map{
    width: 100%;
    height: 320px;
}

.contact-map-consent__placeholder{
    position: relative;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background: #d3f8e2;
}

.contact-map-consent__placeholder::before{
    content: "";
    position: absolute;
    inset: -35px;
    z-index: 0;
    opacity: 0.75;
    filter: blur(5px);
    transform: scale(1.04);
    background:
        /* kleine Straßen */
        linear-gradient(28deg, transparent 0 38%, rgba(255,255,255,.85) 38.5% 40.5%, transparent 41% 100%),
        linear-gradient(122deg, transparent 0 45%, rgba(255,255,255,.82) 45.5% 47.5%, transparent 48% 100%),
        linear-gradient(72deg, transparent 0 52%, rgba(255,255,255,.7) 52.5% 54%, transparent 54.5% 100%),

        /* Hauptstraßen */
        linear-gradient(12deg, transparent 0 46%, rgba(190, 200, 210, .85) 46.5% 49%, transparent 49.5% 100%),
        linear-gradient(96deg, transparent 0 58%, rgba(190, 200, 210, .75) 58.5% 61%, transparent 61.5% 100%),

        /* Wasser/Gräben */
        linear-gradient(145deg, transparent 0 32%, rgba(94, 207, 226, .55) 32.5% 34%, transparent 34.5% 100%),
        linear-gradient(35deg, transparent 0 70%, rgba(94, 207, 226, .45) 70.5% 72%, transparent 72.5% 100%),

        /* Flächen */
        radial-gradient(circle at 18% 28%, rgba(112, 190, 140, .38) 0 12%, transparent 13%),
        radial-gradient(circle at 78% 62%, rgba(112, 190, 140, .32) 0 16%, transparent 17%),
        linear-gradient(135deg, #d3f8e2 0%, #e8f4ee 46%, #d7f0df 100%);
    background-size:
        420px 260px,
        520px 310px,
        360px 240px,
        620px 360px,
        480px 320px,
        560px 340px,
        430px 260px,
        100% 100%,
        100% 100%,
        100% 100%;
    background-position:
        0 0,
        80px 40px,
        -40px 80px,
        0 20px,
        120px -30px,
        -80px 0,
        90px 40px,
        0 0,
        0 0,
        0 0;
}

.contact-map-consent__placeholder::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.38);
}

.contact-map-consent__box{
    position: relative;
    z-index: 2;
    width: min(560px, calc(100% - 32px));
    padding: clamp(24px, 4vw, 38px);
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-soft, 0 8px 20px rgba(0, 0, 0, 0.06));
}

.contact-map-consent__placeholder[hidden],
.contact-map[hidden]{
    display: none !important;
}

.contact-map-consent__box{
    width: min(560px, calc(100% - 32px));
    padding: clamp(24px, 4vw, 30px);
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-soft, 0 8px 20px rgba(0, 0, 0, 0.06));
}

.contact-map-consent__kicker{
    margin: 0 0 8px;
    color: var(--yellow, #f3ce41);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-map-consent__headline{
    margin: 0 0 14px;
    color: var(--anthra, #121212);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
}

.contact-map-consent__text{
    margin: 0 0 22px;
    color: #5b6470;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-map-consent__button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 5px;
    background: #2f2f2f;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-map-consent__button i{
    color: var(--yellow, #f3ce41);
}

.contact-map-consent__button:hover{
    background: #252525;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.contact-map{
    display: block;
    background: #e9ecef;
}

/* ==================================================
   11. Footer
   ================================================== */

/* Footer */
.site-footer{
    position: relative;
    background: #000;
    color: rgba(255,255,255,.88);
    padding: 60px 0 26px;
    margin-top: 120px;
}
.footer-logo{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 94px;
    height: 114px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
}
.footer-logo img{
    width: 78px;
    height: auto;
    opacity: .95;
}
.footer-inner{
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.footer-col-logo{
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-col-logo img{
    display: block;
}
.footer-col h3{
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-white);
}
.footer-col ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.footer-col a{
    color: rgba(255,255,255,.78);
    font-size: 14px;
}
.footer-col a:hover{
    color: var(--color-white);
    text-decoration: none;
}
.footer-col li{
    color: rgba(255,255,255,.78);
    font-size: 14px;
}
.footer-contact .contact-list{
    gap: 10px;
}
.contact-list li{
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
}
.contact-list i{
    margin-top: 2px;
    opacity: .9;
}
.contact-list .hours{
    margin-top: 4px;
}

.footer-bottom{
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
    margin-top: 6px;
}
.legal{
    font-size: 13px;
    color: rgba(255,255,255,.65);
}
.legal a{
    color: inherit;
}
.legal a:hover{
    color: var(--color-white);
    text-decoration: none;
}
.sep{
    opacity: .4;
    margin: 0 8px;
}
.to-top{
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    color: var(--color-white);
    cursor: pointer;
}
.to-top:hover{
    background: rgba(255,255,255,.08);
}

/* ==================================================
   12. Desktop Layout / Motion / Scroll-States
   ================================================== */

/* Desktop layout */
@media (min-width: 980px){
    .main-nav{
        display: block;
    }
    .hamburger{
        display: none;
    }
    .social-icons{
        display: flex;
    }
    .footer-inner{
        grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr;
        gap: 34px;
        align-items: start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
    *{
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}


/* Smooth Header Transition */
.top-bar,
.site-header,
.header-inner,
.brand img,
.main-nav .nav-list,
.btn-kontakt{
    transition:
        transform .28s ease,
        opacity .28s ease,
        top .28s ease,
        padding .28s ease,
        min-height .28s ease,
        width .28s ease;
}

/* Top-Bar im Scroll-Zustand ausblenden */
body.header-is-scrolled .top-bar{
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Header rückt nach oben */
body.header-is-scrolled .site-header{
    top: 0;
}

/* Header kompakter machen */
body.header-is-scrolled .header-inner{
    padding: 8px 0;
    min-height: 74px;
}

/* Logo kleiner */
body.header-is-scrolled .brand img{
    width: 102px;
}

/* Optional: Nav etwas kompakter */
body.header-is-scrolled .nav-list{
    gap: 40px;
}

/* Optional: Kontaktbutton etwas kompakter */
body.header-is-scrolled .btn-kontakt{
    min-height: 42px;
    padding: 0 16px;
}


/* ==================================================
   13. Galerie / Lightbox
   ================================================== */

/* Galerie */
.hemker-gallery-section{
    padding: clamp(48px, 7vw, 96px) 0;
    background-color: var(--color-white);
}

.hemker-gallery-section__headline{
    margin: 0 0 clamp(24px, 4vw, 48px);
    text-align: center;
}

.hemker-gallery-grid{
    --hemker-gallery-columns: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(14px, 2vw, 24px);
}

.hemker-gallery-grid__item{
    margin: 0;
}

.hemker-gallery-grid__button{
    display: block;
    width: 100%;
    padding: 0;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hemker-gallery-grid__image{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (min-width: 520px){
    .hemker-gallery-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 820px){
    .hemker-gallery-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px){
    .hemker-gallery-grid{
        grid-template-columns: repeat(var(--hemker-gallery-columns), minmax(0, 1fr));
    }
}

/* Lightbox Caption-Erweiterung */
#lightbox .lb-figure{
    margin: 0;
    max-width: min(1100px, 92vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox .lb-figure img{
    max-width: 100%;
    max-height: 82vh;
}

#lightbox .lb-caption{
    margin-top: 10px;
    max-width: min(900px, 90vw);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

#lightbox .lb-caption[hidden]{
    display: none;
}


/* ==================================================
   14. Downloads / Links
   ================================================== */

/* Downloads / Links */
.download-links-section{
    padding: clamp(56px, 8vw, 110px) 0;
    background:
        radial-gradient(circle at top, rgba(197, 164, 106, 0.10), transparent 34%),
        linear-gradient(180deg, #f8f8f6 0%, #f1f2f3 100%);
}

.download-links-section__intro{
    max-width: 760px;
    margin: 0 auto clamp(28px, 4vw, 48px);
    text-align: center;
}

.download-links-section__kicker{
    margin: 0 0 10px;
    color: #c5a46a;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.download-links-section__headline{
    margin: 0;
    color: #14213d;
    font-size: clamp(2rem, 4.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.08;
}

.download-links-section__text{
    margin-top: 18px;
    color: #4c5566;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.65;
}

.download-links-section__text p{
    margin: 0;
}

.download-links-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.download-links-card{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 108px;
    padding: clamp(20px, 2.4vw, 30px);
    color: #14213d;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 33, 61, 0.07);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.download-links-card:hover,
.download-links-card:focus-visible{
    color: #14213d;
    text-decoration: none;
    background: var(--color-white);
    box-shadow: var(--shadow-soft-hover);
    transform: translateY(-1px);
}

.download-links-card__icon{
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #c5a46a;
    font-size: 2.1rem;
    line-height: 1;
}

.download-links-card__body{
    display: grid;
    gap: 6px;
    min-width: 0;
}

.download-links-card__title{
    overflow: hidden;
    color: #14213d;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.download-links-card__meta{
    color: #667085;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

.download-links-card__arrow{
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #14213d;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.download-links-card:hover .download-links-card__arrow,
.download-links-card:focus-visible .download-links-card__arrow{
    transform: translateX(4px);
}

@media (min-width: 760px){
    .download-links-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1120px){
    .download-links-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px){
    .download-links-card{
        grid-template-columns: auto minmax(0, 1fr);
    }

    .download-links-card__arrow{
        display: none;
    }

    .download-links-card__icon{
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }
}

/* ==================================================
   15. Modal Popup
   ================================================== */
/* Hinweis-Popup */
.hemker-popup{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.hemker-popup.is-visible{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hemker-popup-is-open{
    overflow: hidden;
}

.hemker-popup__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.hemker-popup__dialog{
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    background: #fff;
    color: var(--anthra, #121212);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: var(--shadow-contact, 0 10px 24px rgba(0, 0, 0, .04));
    transform: translateY(12px) scale(.98);
    transition: transform .22s ease;
}

.hemker-popup.is-visible .hemker-popup__dialog{
    transform: translateY(0) scale(1);
}

.hemker-popup__close{
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #222;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.hemker-popup__close:hover{
    background: #fff;
    transform: scale(1.04);
}

.hemker-popup__media{
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #e9ecef;
}

.hemker-popup__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hemker-popup__content{
    padding: clamp(28px, 5vw, 52px);
    text-align: center;
}

.hemker-popup__kicker{
    margin: 0 0 10px;
    color: var(--yellow, #f3ce41);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hemker-popup__headline{
    margin: 0;
    color: var(--anthra, #121212);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.hemker-popup__text{
    max-width: 620px;
    margin: 20px auto 0;
    color: #555;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.7;
}

.hemker-popup__text p{
    margin: 0 0 16px;
}

.hemker-popup__text p:last-child{
    margin-bottom: 0;
}

.hemker-popup__button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 5px;
    background: #2f2f2f;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hemker-popup__button i{
    color: var(--yellow, #f3ce41);
    transition: transform .2s ease;
}

.hemker-popup__button:hover{
    background: #252525;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.hemker-popup__button:hover i{
    transform: translateX(3px);
}

.hemker-popup__dialog--warnung .hemker-popup__kicker,
.hemker-popup__dialog--betriebsferien .hemker-popup__kicker{
    color: #c5a46a;
}

.hemker-popup__dialog--karriere .hemker-popup__kicker{
    color: var(--yellow, #f3ce41);
}

@media (min-width: 860px){
    .hemker-popup__dialog:has(.hemker-popup__media){
        display: grid;
        grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
        width: min(920px, 100%);
    }

    .hemker-popup__dialog:has(.hemker-popup__media) .hemker-popup__media{
        aspect-ratio: auto;
        min-height: 100%;
    }

    .hemker-popup__dialog:has(.hemker-popup__media) .hemker-popup__content{
        text-align: left;
    }

    .hemker-popup__dialog:has(.hemker-popup__media) .hemker-popup__text{
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 520px){
    .hemker-popup{
        align-items: flex-end;
        padding: 14px;
    }

    .hemker-popup__dialog{
        max-height: 88vh;
    }

    .hemker-popup__close{
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }
}





