/* =======================
   Self-hosted Open Sans
   ======================= */

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("assets/fonts/open-sans/OpenSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   GBB Clone — Design System CSS (refined, cleaned)
   - Tokens / Typography / Spacing / Elevation
   - Consistent components (nav, hero, panels, cards)
   - Motion (hover/active), Focus-visible, A11y tweaks
========================================================= */

/* ========== Design Tokens ========== */
:root {
    /* Brand */
    --gbb-green: #0B7A3B;
    --gbb-green-2: #0E5F31;
    --gbb-green-3: #116838;
    --gbb-orange: #FF7A00;

    /* Surfaces/Borders/Text */
    --surface: #ffffff;
    --surface-2: #efefef;
    --surface-3: #e9e9e9;
    --border: #e3e3e3;
    --text: #1f2a2e;
    --text-dim: #6e7a80;

    /* Radii / Shadows */
    --radius: 14px;
    --r-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .08);
    --shadow: 0 8px 24px rgba(0, 0, 0, .08);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, .10);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .16);

    /* Spacing (8px scale) */
    --sp-4: 4px;
    --sp-8: 8px;
    --sp-12: 12px;
    --sp-16: 16px;
    --sp-20: 20px;
    --sp-24: 24px;
    --sp-32: 32px;
    --sp-40: 40px;
    --sp-48: 48px;
    --sp-64: 64px;
    --sp-72: 72px;
    --sp-96: 96px;

    /* Motion */
    --ease: cubic-bezier(.2, .6, .2, 1);
    --t-fast: 150ms;
    --t-mid: 220ms;
}

/* =========================================================
   Base / Global
========================================================= */

html,
body {
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--surface);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* Focus-visible for keyboard users */
:focus-visible {
    outline: 2px solid var(--gbb-green);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Section rhythm */
.section,
.news-wrap,
.gbb-duo {
    padding-block: clamp(40px, 7vw, 96px);
}

/* =========================================================
   HOME / INDEX PAGE
   - Hero
   - News strip
   - Panels (video/magazin)
   - Downloads + Method
   - Duo (Event + App)
========================================================= */

/* ========== Hero (Home & Shared) ========== */
.hero {
    position: relative;
    min-height: min(90vh, 820px);
    display: grid;
    align-items: end;
    background: #000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg .carousel-inner,
.hero-bg .carousel-item {
    height: 100%;
}

.hero-bg .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
    transform: scale(1.01);
}

.hero-inner {
    position: relative;
    z-index: 1;
    background-color: #fff;
    border-top-right-radius: 50px;
}

.intro-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: transparent;
}

.intro-wrap.no-gap .intro-badge {
    margin-right: -8px;
}

.intro-badge {
    flex: 0 0 auto;
    background: #fff;
    padding: 14px;
    transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.intro-badge-img {
    height: 180px;
    width: auto;
    display: block;
}

.intro-text {
    padding: 26px 28px;
    max-width: 980px;
    transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}

.intro-text h1 {
    font-weight: 400;
    /* responsive type using clamp */
    font-size: clamp(18px, 2vw + 12px, 30px);
    line-height: 1.45;
    margin: 0;
}

.intro-text p {
    color: var(--text-dim);
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}


/* ========== News Strip ========== */
.news-wrap {
    padding-block: clamp(40px, 6vw, 64px);
}

.news-bar {
    display: flex;
    align-items: center;
    background-color: #E9E9E9;
}

.badge-news {
    background: var(--gbb-orange);
    color: #fff;
    font-weight: 800;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.news-rail {
    flex: 1 1 auto;
    overflow: hidden;
}

.news-rail .carousel-item a {
    display: block;
    color: #2b2b2b;
    font-weight: 700;
    transition: background var(--t-fast) var(--ease);
    padding-left: 20px;
}

.news-rail .carousel-item a:hover {
    background: rgba(0, 0, 0, .04);
    text-decoration: none;
}

.news-dots .carousel-indicators {
    display: none;
}


/* ========== Panels (Video / Magazin) ========== */
.gbb-panel {
    background: var(--surface-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}

.gbb-panel:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.gbb-panel-head {
    background: var(--surface-2);
    padding: 10px 16px;
    font-weight: 800;
    font-size: 16px;
    color: #2b2b2b;
}

.gbb-panel-media {
    background: #fff;
}

.gbb-panel .thumb {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.gbb-desc {
    margin-top: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 16px;
}

/* ========== Downloads + Method ========== */
.dl-panel {
    background: var(--gbb-green-2);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 22px 16px;
}

.dl-head {
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    margin: 0 0 16px;
    color: #EAF4EE;
}

.dl-rows {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.dl-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    column-gap: 20px;
    min-height: 72px;
}

.dl-ico {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.ico {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: 1px solid #fff;
    border-radius: 8px;
}

a.ico:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.ico.disabled {
    opacity: .5;
    filter: grayscale(15%);
    cursor: not-allowed;
}

.dl-btn {
    pointer-events: none;
    user-select: none;
    width: 100%;
    border-radius: 10px;
    padding: 14px 18px;
    font-weight: 800;
    border: 2px solid transparent;
    line-height: 1.1;
}

.btn-muted {
    background: rgba(255, 255, 255, .18);
    color: #DDE9E3;
}

.btn-white {
    background: #fff;
    color: var(--gbb-green-2);
}

.btn-outline {
    background: #fff;
    color: var(--gbb-green-2);
    border-color: var(--gbb-green-2);
}

.dl-note {
    margin: 18px 2px 0;
    color: #E3EFE7;
    font-size: 14px;
    line-height: 1.6;
}

.dl-note .dl-more {
    color: #E3EFE7;
    text-decoration: underline;
}

.method-panel {
    background: var(--surface-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}

.method-panel:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.method-head {
    background: var(--surface-2);
    padding: 12px 16px;
    font-weight: 800;
    font-size: 18px;
    color: #2b2b2b;
}

.method-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.method-body {
    padding: 12px 16px 16px;
    color: var(--text-dim);
}

/* ========== Duo (Event + App) ========== */
.gbb-duo {
    padding-block: 32px;
}

.gbb-duo .duo-frame {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: block;
    border: 0;
}

.gbb-duo .duo-head {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #2b2b2b;
    background: #e9e9e9;
    border-radius: 0 12px 0 0;
    width: 100%;
}

.gbb-duo .duo-media {
    height: 360px;
    display: grid;
    background: #fff;
}

.gbb-duo .duo-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    width: 100%;
}

.gbb-duo .duo-desc {
    margin: 10px 0 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: #6b6b6b;
}

.gbb-duo .duo-link {
    color: #1b6ac9;
    text-decoration: underline;
}

.gbb-duo .duo-card {
    transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.gbb-duo .duo-card:hover {
    transform: translateY(-2px);
}

/* =========================================================
   Utilities
========================================================= */

/* Typographic helpers */
.fw-800 {
    font-weight: 800;
}

.text-dim {
    color: var(--text-dim) !important;
}

/* Spacing stacks */
.stack-12 > * + * {
    margin-top: 12px;
}

.stack-16 > * + * {
    margin-top: 16px;
}

.stack-24 > * + * {
    margin-top: 24px;
}

.stack-32 > * + * {
    margin-top: 32px;
}

/* Card hover */
.hover-lift {
    transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Image ratio helpers */
.ratio-16x9 {
    aspect-ratio: 16 / 9;
}

.ratio-4x3 {
    aspect-ratio: 4 / 3;
}

.ratio-1x1 {
    aspect-ratio: 1 / 1;
}

.fit-cover {
    object-fit: cover;
}

.fit-contain {
    object-fit: contain;
}

/* =========================================================
   FUNKTION PAGE
   - Hero
   - Tiles
   - Content blocks
========================================================= */
.funktion-sec-block{
    border-bottom: 3px solid #00672f;
    padding-left: 0;
    padding-right: 0;
}
/* Funktion page hero – match reference layout */
.hero--funktion {
    min-height: min(70vh, 760px);
    display: grid;
    align-items: end;
}

/* background image behaviour */
.hero--funktion .hero-bg {
    position: absolute;
    inset: 0;
}

.hero--funktion .hero-bg-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 80%;
}

/* intro card tuning */
.hero--funktion .intro-text--funktion {
    padding: 32px 32px 40px;
}

.hero--funktion .intro-text--funktion h1 {
    font-size: clamp(21px, 2.2vw + 12px, 31px);
    line-height: 1.6;
    color: #3f3f3f;
}

/* orange lines like original site */
.hero-footnote {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 15px;
}

.hero-footnote-item {
    color: var(--gbb-orange);
    font-weight: 700;
}

/* last line light grey */
.hero-note {
    color: var(--text-dim);
    font-size: 14px;
}

/* Tiles unter dem Intro */
.funktion-tiles {
    padding-block: 32px;
    background: var(--surface);
}

.funktion-tile {
    display: block;
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.funktion-tile-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.funktion-tile-label {
    display: block;
    padding: 10px 12px 12px;
    font-weight: 700;
    color: #2b2b2b;
}

.funktion-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Content blocks (Funktionen / Ziele / Fachinfos / Gütesicherung) */
.funktion-block {
    background: #ffffff;
}

.funktion-block-head {
    background: var(--gbb-green-2);
    color: #ffffff;
}

.funktion-block-head-right .funktion-block-title {
    text-align: left;
}

.funktion-block-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 8px 0 10px;
    color: #ffffff;
}

.funktion-block-head .container {
    padding-top: 6px;
    padding-bottom: 4px;
}

.funktion-block-body {
    background: #f5f5f5;
    padding: 24px 0 40px;
}

.funktion-text-box {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dim);
}

.funktion-text-box ul {
    margin-bottom: 0;
}

.funktion-text-box li + li {
    margin-top: 8px;
}

.funktion-image-box {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.funktion-image-box img.object-fit-cover {
    object-fit: cover;
}

/* Fachinfo cards */
.funktion-info-box {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 22px;
    height: 100%;
    color: var(--text-dim);
}

.funktion-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.funktion-info-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* "Nach oben" link */
.funktion-top-link {
    font-size: 14px;
    color: var(--gbb-green-3);
    text-decoration: underline;
}

.funktion-block-body .row.g-4.mt-3.align-items-stretch {
    align-items: stretch;
}

.funktion-intro p:first-of-type {
    font-size: 20px;
    line-height: 1.8;
    color: #3b3b3b;
    font-weight: 500;
}

.funktion-intro {
    border-left: 4px solid var(--gbb-green-2);
}


/* =========================================================
   MITGLIEDER PAGE
   - Hero cards
   - Map
   - Ordentliche Mitglieder list
========================================================= */

/* Mitglieder hero section additions */
.hero-kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 10px;
}

.hero-lead {
    margin-top: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 16px;
}

/* hero inner wrapper when used for Mitglied cards */
.hero-inner.mitglieder-hero {
    padding: 0 20px;
}

/* Cards row in hero */
.mitglied-types {
    display: grid;
    gap: 0px;
    margin-top: clamp(16px, 3vw, 32px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mitglied-card,
.mitglied-cta {
    background: var(--surface);
    border-radius: 10px;
    padding: 22px 22px 24px;
    height: 100%;
    color: var(--text-dim);
}

.mitglied-card-title {
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 10px;
    text-align: center;
}

.mitglied-card p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Color dots under titles */
.mitglied-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 999px;
}

.mitglied-dot--green {
    background: var(--gbb-green);
}

.mitglied-dot--orange {
    background: var(--gbb-orange);
}

.mitglied-dot--blue {
    background: #0077ff;
}

/* Orange CTA card on the right */
.mitglied-cta {
    background: var(--gbb-orange);
    color: #fff;
}

.mitglied-cta-title {
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 12px;
}

.mitglied-cta p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.mitglied-cta a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.mitglied-cta a:hover,
.mitglied-cta a:focus-visible {
    opacity: 0.9;
}

/* ---------- Standortkarte (map) ---------- */
.mitglieder-map-section {
    padding: 32px 0 40px;
}

.mitglieder-map {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.mitglieder-map-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Label base style – text left, dot right */
.mitglieder-map-label {
    position: absolute;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* dot now on the right side */
.mitglieder-map-label::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #0077ff;
    flex-shrink: 0;
}

/* dot colors */
.dot-blue::after {
    background: #0077ff;
}

.dot-green::after {
    background: #177a3b;
}

.dot-orange::after {
    background: #f49a1a;
}

/* hover/focus – no underline like original */
.mitglieder-map-label:hover,
.mitglieder-map-label:focus-visible {
    text-decoration: none;
}

/* Positions tuned to match screenshot */
/* north */
.mitglieder-map-label--holcim {
    top: 22%;
    left: 27%;
}

.mitglieder-map-label--heiden {
    top: 12%;
    left: 90%;
}

/* north-mid */
.mitglieder-map-label--fels {
    top: 36%;
    left: 57%;
}

.mitglieder-map-label--cemex {
    top: 34%;
    left: 97%;
}

/* upper cluster */
.mitglieder-map-label--hagedorn {
    top: 42%;
    left: 7%;
}

.mitglieder-map-label--pape {
    top: 40%;
    left: 59%;
}

.mitglieder-map-label--kutter {
    top: 46%;
    left: 55%;
}

.mitglieder-map-label--meier {
    top: 55%;
    left: 54%;
}

.mitglieder-map-label--lasch {
    top: 65%;
    left: 28%;
}

.mitglieder-map-label--esha {
    top: 49%;
    left: 60%;
}

.mitglieder-map-label--tas {
    top: 52%;
    left: 93%;
}

/* middle cluster */
.mitglieder-map-label--ght {
    top: 49%;
    left: -1%;
}

.mitglieder-map-label--bomag {
    top: 60%;
    left: 8%;
}

.mitglieder-map-label--wirtgen {
    top: 57%;
    left: 29%;
}

.mitglieder-map-label--sbb {
    top: 71%;
    left: 13%;
}

/* lower cluster */
.mitglieder-map-label--heber {
    top: 83%;
    left: 26%;
}

.mitglieder-map-label--maxwild {
    top: 93%;
    left: 35%;
}

.mitglieder-map-label--enreco {
    top: 91%;
    left: 60%;
}

.mitglieder-map-label--schwenk {
    top: 87%;
    left: 68%;
}

.mitglieder-map-label--tbs {
    top: 69%;
    left: 46%;
}

.mitglieder-map-label--heidelberg {
    top: 74%;
    left: 82%;
}

.mitglieder-map-label--stetter {
    top: 78%;
    left: 60%;
}

/* ---------- Ordentliche Mitglieder list ---------- */

.ordentliche-section {
    padding: 64px 0 80px;
}

/* Top header strip */
.ordentliche-head {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    position: relative;
    margin-bottom: 40px;
    border-top-right-radius: 20px;
    overflow: hidden;
}

.ordentliche-head-label {
    background: var(--gbb-green, #0b6b3b);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 24px 32px;
}

.ordentliche-title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.ordentliche-head-image {
    position: relative;
    overflow: hidden;
}

.ordentliche-head-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    height: 100px;
}

/* "Nach oben" button */
.ordentliche-top-link {
    position: absolute;
    right: 16px;
    bottom: 12px;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #888;
    background: #fff;
    color: #444;
    text-decoration: none;
}

.ordentliche-top-link:hover,
.ordentliche-top-link:focus-visible {
    background: #f3f3f3;
}

/* Member rows */
.member-row {
    padding: 40px 0;
    border-bottom: 1px solid #e5e5e5;
}

.member-row-inner {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(200px, 260px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: flex-start;
}

/* logo column */
.member-logo-placeholder {
    width: 100%;
    min-height: 90px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #777;
}

/* info column */
.member-info {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.member-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.member-info p {
    margin: 0 0 6px;
}

.member-info a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* text column */
.member-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.member-text p {
    margin: 0;
}

.member-text-placeholder {
    color: #999;
    font-style: italic;
}

/* =========================================================
   KONTAKT PAGE
   - Hero
   - Map + Form
   - Board + Committee
========================================================= */

/* Kontakt – hero content (top contact card)
   Container: .container.hero-inner.kontakt-her
   Uses Bootstrap grid
----------------------------------------- */

.hero-inner.kontakt-her {
    display: block;
    padding: 56px 56px 64px;
}

.kontakt-her-row {
    row-gap: 32px;
}

.kontakt-her-title {
    margin-bottom: 20px;
}

.kontakt-her-subline {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #6b6b6b;
}

.kontakt-her-address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

/* Right column – person card */
.kontakt-her-card {
    border-radius: 28px;
    padding: 18px 22px;
    background: #f7f7f7;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.kontakt-her-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.kontakt-her-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kontakt-her-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888888;
}

.kontakt-her-name {
    font-size: 20px;
    font-weight: 600;
    color: #222222;
}

.kontakt-her-contact {
    margin: 0;
    padding: 0;
}

.kontakt-her-contact-row {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.kontakt-her-contact-row + .kontakt-her-contact-row {
    margin-top: 2px;
}

.kontakt-her-contact dt {
    font-weight: 600;
    min-width: 40px;
    color: #444444;
}

.kontakt-her-contact dd {
    margin: 0;
    color: #222222;
}

.kontakt-her-contact a {
    color: #00753a;
    text-decoration: none;
}

.kontakt-her-contact a:hover {
    text-decoration: underline;
}

/* Kontakt – section shell */
.kontakt-section {
    position: relative;
}

/* Kontakt – Board + Committee */
.kontakt-strip {
    background-color: var(--gbb-green, #00863f);
    color: #fff;
    padding: 8px 0;
}

.kontakt-strip--right .kontakt-strip-inner {
    text-align: left;
}

.kontakt-strip-inner {
    max-width: 260px;
}

.kontakt-strip-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* grey background behind persons */
.kontakt-section-body {
    background-color: #f0f0f0;
    padding: 32px 0 40px;
}

.kontakt-section-subline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 24px;
}

.kontakt-person-grid {
    row-gap: 32px;
}

.kontakt-person-inner {
    text-align: left;
}

.kontakt-person-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.kontakt-person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kontakt-person-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.kontakt-person-company {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.kontakt-person-address,
.kontakt-person-contact {
    font-size: 0.86rem;
    margin-bottom: 4px;
}

/* Kontakt – Map + Form align */
.kontakt-section--map {
    padding: 48px 0;
}

.kontakt-map-box {
    height: 100%;
    min-height: 320px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.kontakt-map-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* form card full-column height */
.kontakt-form-card {
    background: #f7f7f7;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    padding: 24px 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kontakt-form-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.kontakt-form-textarea {
    resize: vertical;
}

.kontakt-form-btn {
    background-color: var(--gbb-green, #00863f);
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    border: none;
    padding: 10px 14px;
}

.kontakt-form-btn:hover,
.kontakt-form-btn:focus-visible {
    background-color: #00672f;
    color: #fff;
}

/* =========================================================
   Responsive Media Queries
   (global + page-specific tweaks)
========================================================= */

/* <= 1199.98px */
@media (max-width: 1199.98px) {

    /* tablet & down → 2 columns */
    .mitglied-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 640px;
    }

    .intro-badge-img {
        height: 120px;
    }

    .method-img {
        height: 300px;
    }

    .gbb-duo .duo-media {
        height: 330px;
    }
}

/* <= 1024px */
@media (max-width: 1024px) {

    /* small tablet – narrower map */
    .mitglieder-map {
        max-width: 520px;
    }

    .mitglieder-map-label {
        font-size: 12px;
    }

    /* Ordentliche head collapse */
    .ordentliche-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .ordentliche-head-label {
        padding: 20px;
    }

    .ordentliche-top-link {
        position: static;
        justify-self: flex-end;
        margin-top: 8px;
    }

    .member-row-inner {
        grid-template-columns: 140px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 16px;
    }

    .member-logo {
        grid-row: 1 / span 2;
    }
}

/* <= 991.98px */
@media (max-width: 991.98px) {

    /* Kontakt hero */
    .hero-inner.kontakt-her {
        padding: 40px 28px 44px;
    }

    .kontakt-her-card {
        border-radius: 24px;
    }

    .kontakt-her-avatar-wrap {
        width: 90px;
        height: 90px;
    }

    /* Kontakt board */
    .kontakt-strip-inner {
        max-width: none;
    }

    .kontakt-strip-title {
        font-size: 0.98rem;
    }

    .kontakt-section-body {
        padding-top: 24px;
    }

    .kontakt-person-avatar {
        margin-bottom: 8px;
    }

    /* Global hero & blocks */
    .hero {
        min-height: 520px;
    }

    .intro-wrap.no-gap .intro-badge {
        margin-right: 0;
    }

    .intro-text {
        padding: 18px 20px;
    }

    .intro-text h1 {
        font-size: 15px;
    }

    .gbb-panel .thumb {
        height: 280px;
    }

    .dl-row {
        grid-template-columns: 110px 1fr;
        min-height: 68px;
    }

    .method-img {
        height: 260px;
    }

    .gbb-duo .duo-media {
        height: 300px;
    }

    .funktion-block-body {
        padding-bottom: 32px;
    }
}

/* <= 768px */
@media (max-width: 768px) {
    .ordentliche-section {
        padding: 40px 0 56px;
    }

    .member-row {
        padding: 24px 0;
    }

    .member-row-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .member-logo {
        margin-bottom: 12px;
    }
}

/* <= 767.98px – hide map on small screens */
@media (max-width: 767.98px) {
    .mitglieder-map-section {
        display: none;
    }
}

/* <= 575.98px */
@media (max-width: 575.98px) {

    /* Funktion hero mobile */
    .hero--funktion {
        display: block;
        min-height: auto;
    }

    .hero--funktion .hero-bg {
        position: relative;
        inset: auto;
        height: 220px;
        overflow: hidden;
    }

    .hero--funktion .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 95%;
    }

    .hero--funktion .hero-inner {
        position: relative;
        margin-top: -40px;
    }

    .hero--funktion .intro-text--funktion {
        padding: 20px 18px 24px;
    }

    .hero--funktion .intro-text--funktion h1 {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-footnote {
        font-size: 13px;
    }

    .hero-note {
        font-size: 13px;
    }

    /* Mitglied cards: 1 column */
    .mitglied-types {
        grid-template-columns: 1fr;
    }

    /* Kontakt hero mobile */
    .hero-inner.kontakt-her {
        padding: 28px 18px 32px;
    }

    .kontakt-her-title {
        font-size: 24px;
    }

    .kontakt-her-card {
        padding: 16px 16px 18px;
        align-items: flex-start;
    }

    .kontakt-her-avatar-wrap {
        width: 78px;
        height: 78px;
        margin-bottom: 10px;
    }

    /* Kontakt map & form spacing */
    .kontakt-section--map {
        padding: 32px 0 40px;
    }

    .kontakt-form-card {
        padding: 18px 16px 16px;
    }

    .kontakt-person-inner {
        text-align: left;
    }

    .kontakt-person-avatar {
        width: 80px;
        height: 80px;
    }

    /* Global hero mobile */
    .hero {
        min-height: 460px;
    }

    .intro-badge {
        padding: 10px;
    }

    .intro-badge-img {
        height: 72px;
    }

    .intro-text {
        padding: 16px;
    }

    .intro-text h1 {
        font-size: 10px;
    }

    .gbb-panel .thumb {
        height: 220px;
    }

    .dl-row {
        grid-template-columns: 96px 1fr;
        column-gap: 14px;
        min-height: 64px;
    }

    .ico {
        width: 44px;
        height: 44px;
    }

    .method-img {
        height: 220px;
    }

    .gbb-duo .duo-media {
        height: 240px;
    }

    .gbb-duo .duo-head {
        height: 38px;
        padding: 0 14px;
        font-size: 16px;
    }

    .funktion-tile-img {
        height: 130px;
    }

    .funktion-text-box,
    .funktion-info-box {
        padding: 14px 16px;
    }

    .funktion-block-body {
        padding: 20px 0 28px;
    }

    /* Member rows – mobile typography & layout tweaks */
    .member-row {
        padding: 20px 0;
    }

    .member-row-inner {
        row-gap: 12px;
    }

    .member-logo-placeholder .img-fluid {
        width: 50%;
    }

    .member-info {
        font-size: 15px;
        line-height: 1.7;
    }

    .member-name {
        font-size: 18px;
    }

    .member-text {
        font-size: 15px;
        line-height: 1.7;
    }
}
