/* =========================================================
   R+S Innung Bremen / Niedersachsen
   Designsystem an Vorlage angelehnt
   ========================================================= */

/* Google Fonts — lokal selbst gehostet, keine Verbindung zu Google-Servern */
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLDz8Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLDz8Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLDz8Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLGT9Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLGT9Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLEj6Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLEj6Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLCz7Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLCz7Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Farben */
    --c-black: #000000;
    --c-dark: #1E293B;
    --c-text: #202A26;
    --c-muted-text: #666666;
    --c-secondary: #D6DEE4;
    --c-secondary-hover: #F4D9A8;
    --c-muted: #F5F5F5;
    --c-white: #FFFFFF;
    --c-link: #C31925;
    --c-border: #e6e6e6;

    /* Typografie */
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-head: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --maxw: 1280px;
    --gutter: 1.5rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: clip; }
h1, h2, h3, h4, h5, h6, p, li, a { overflow-wrap: break-word; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--c-text);
    background: var(--c-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-size: 15px;
}

main {
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: none; color: var(--c-link); }

::selection { background: var(--c-secondary); color: #fff; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    margin: 0 0 0.6em;
    line-height: 1.5;
}

h1 { color: var(--c-dark); font-size: 45px; font-weight: 700; }
h2 { color: var(--c-black); font-size: 30px; font-weight: 500; }
h3 {
    color: var(--c-black);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}
h3.section-title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}
h4 { color: var(--c-dark); font-size: 22px; font-weight: 500; }
h5 { color: var(--c-dark); font-size: 17px; font-weight: 500; }

@media (max-width: 720px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
}

p { margin: 0 0 1rem; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.5;
}

.btn-klein {
    background: var(--c-secondary);
    color: var(--c-black);
    border-color: transparent;
}
.btn-klein:hover {
    background: var(--c-secondary-hover);
    color: var(--c-dark);
    border-color: transparent;
}

.btn-gross {
    background: var(--c-black);
    color: var(--c-white);
    border-color: transparent;
}
.btn-gross:hover {
    background: var(--c-dark);
    color: var(--c-white);
    border-color: transparent;
}

.btn-weiss {
    background: var(--c-muted);
    color: var(--c-black);
}
.btn-weiss:hover {
    background: var(--c-muted);
    color: var(--c-dark);
}

.btn-outline {
    background: transparent;
    color: var(--c-black);
    border-color: var(--c-black);
}
.btn-outline:hover {
    background: var(--c-secondary-hover);
    color: var(--c-dark);
    border-color: var(--c-secondary-hover);
}

.btn-transparent {
    background: transparent;
    color: var(--c-white);
    border-color: var(--c-white);
}
.btn-transparent:hover {
    background: var(--c-black);
    color: var(--c-white);
    border-color: var(--c-black);
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-muted);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }

/* Hero-Seiten: Header initial transparent, Logo unsichtbar, Nav weiß.
   Beim Scrollen wechselt der Header auf den normalen hellgrauen Look. */
body.has-hero .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}
body.has-hero .site-header .logo {
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
body.has-hero.is-home .site-header .logo {
    opacity: 0;
    pointer-events: none;
}
body.has-hero .site-header.scrolled .logo {
    filter: none;
}
body.has-hero .site-header .main-nav > ul > li > a {
    color: var(--c-white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
body.has-hero .site-header .menu-toggle span {
    background: var(--c-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.has-hero .site-header.scrolled {
    background: var(--c-muted);
}
body.has-hero .site-header.scrolled .logo {
    opacity: 1;
    pointer-events: auto;
}
body.has-hero .site-header.scrolled .main-nav > ul > li > a {
    color: var(--c-black);
    text-shadow: none;
}
body.has-hero .site-header.scrolled .menu-toggle span {
    background: var(--c-text);
    box-shadow: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    gap: 1rem;
}

/* Logo R+S Landesinnung Bremen / Niedersachsen */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--c-black);
    text-decoration: none;
    font-family: var(--font-head);
}
.logo img {
    height: 56px;
    width: auto;
    display: block;
}
@media (max-width: 720px) {
    .logo img { height: 44px; }
}

/* Nav */
.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block;
    padding: 0.7rem 0.9rem;
    color: var(--c-black);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 16px;
}
.main-nav .nav-cta {
    background: transparent;
    color: var(--c-black);
}
@media (hover: hover) {
    .main-nav a:hover { color: var(--c-black); }
    .main-nav .nav-cta:hover { background: transparent; color: var(--c-link); }
}

/* Mobile-Home-Link: nur im Mobile-Menü sichtbar */
.mobile-home { display: none; }

/* Submenu */
.has-submenu { position: relative; }
.has-submenu > a { cursor: pointer; }
.nav-chevron {
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-left: 0.4em;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-25%) rotate(45deg);
    transition: transform 0.25s ease;
    vertical-align: middle;
}
.has-submenu.is-open .nav-chevron {
    transform: translateY(25%) rotate(-135deg);
}
@media (hover: hover) {
    .has-submenu:hover .nav-chevron {
        transform: translateY(25%) rotate(-135deg);
    }
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: var(--c-muted);
    border-radius: 0 0 10px 10px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.submenu a { white-space: nowrap; }
.has-submenu:hover .submenu,
.has-submenu.is-open .submenu { display: flex; }
.submenu li { width: 100%; }
.submenu a {
    padding: 0.45rem 1.2rem;
    font-size: 15px;
    color: var(--c-black);
    font-family: var(--font-head);
    font-weight: 300;
}
.submenu a:hover { background: rgba(0, 0, 0, 0.04); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 95;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-black);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s, background 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Wenn das Menü offen ist (dunkelblaues Overlay), Striche/X immer weiß */
.menu-toggle.is-open span,
body.has-hero .site-header .menu-toggle.is-open span,
body.has-hero .site-header.scrolled .menu-toggle.is-open span {
    background: var(--c-white);
    box-shadow: none;
}

/* =========================================================
   Sections
   ========================================================= */

section { padding: 7rem 0; }

.section-muted { background: var(--c-muted); }
.section-secondary { background: var(--c-secondary); }
.section-dark { background: var(--c-dark); color: var(--c-white); }
.section-dark h1,
.section-dark h2,
.section-dark h4,
.section-dark h5 { color: var(--c-white); }
.section-dark h3 { color: var(--c-white); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    color: var(--c-black);
    margin-bottom: 0.4rem;
}
.section-dark .eyebrow { color: var(--c-white); }

/* =========================================================
   Subpage-Banner (kürzerer Hero für Unterseiten)
   ========================================================= */

.page-banner {
    background: var(--c-muted);
    padding: 3.5rem 0 3.5rem;
}
.page-banner.has-image {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 7rem 0;
    color: var(--c-white);
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(32, 42, 38, 0.55) 100%),
        var(--banner-image, none);
    background-size: cover;
    background-position: var(--banner-pos, center 50%);
    background-repeat: no-repeat;
}
.page-banner.has-image .container { width: 100%; margin-top: var(--banner-text-offset, 18rem); }

/* Mobile: alle Heros sollen gleich hoch sein. Der inline --banner-text-offset
   wird zurückgesetzt, das Wetterwidget (nur auf kontakt.html) ausgeblendet.
   Inhalt sitzt am unteren Rand mit 10vh Luft bis zum Section-Ende. */
@media (max-width: 720px) {
    .page-banner.has-image {
        min-height: 78vh;
        padding: 4rem 0 10vh;
        align-items: flex-end;
    }
    .page-banner.has-image .container {
        margin-top: 0;
    }
}
/* Wetterwidget bis inkl. iPad Mini (≤1024px) ausblenden, erst ab iPad Pro
   Landscape (1194px+) sichtbar. */
@media (max-width: 1024px) {
    .page-banner.has-image .weather-widget { display: none; }
}
.page-banner.has-image .hero-btn { margin-top: 1.5rem; display: inline-block; }
.page-banner.has-image h1 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.3; }
.page-banner.has-image .breadcrumb,
.page-banner.has-image .breadcrumb a,
.page-banner.has-image .breadcrumb span.sep { color: rgba(255, 255, 255, 0.85); }
.page-banner.has-image .breadcrumb a:hover { color: var(--c-white); }
.page-banner.has-image h1 { color: var(--c-white); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.page-banner.has-image p { color: rgba(255, 255, 255, 0.92); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.page-banner.has-image .eyebrow { color: rgba(255, 255, 255, 0.92); }

/* Hero mit Betriebssuche */
.hero-search-banner .plz-search { margin-top: 1.8rem; max-width: 460px; }
.hero-search-banner .plz-result {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
    font-size: 15px;
}
.hero-search-banner .plz-result.error { color: #ffd7c8; }
.hero-search-banner .plz-result:empty { display: none; }
.page-banner .breadcrumb {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--c-muted-text);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.page-banner .breadcrumb a { color: var(--c-black); }
.page-banner .breadcrumb a:hover { color: var(--c-link); }
.page-banner .breadcrumb span.sep { color: var(--c-muted-text); }
.page-banner h1 {
    font-size: 45px;
    margin-bottom: 1rem;
    max-width: 760px;
}
.page-banner h1.h1-fit {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(24px, 4vw, 40px);
}
.page-banner p {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 17px;
    color: var(--c-dark);
    max-width: 680px;
    margin: 0;
}

/* Aktiver Menüpunkt */
.main-nav a.is-active {
    color: var(--c-secondary-hover);
}

/* Detail-Sektion (zweispaltig, Bild + Text) */
.detail {
    padding: 7rem 0;
}
.detail .two-col { gap: 3.5rem; align-items: stretch; }
.detail .two-col > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detail .two-col .detail-image {
    aspect-ratio: 4 / 3;
    width: 100%;
}
/* Wenn ein echtes Bild eingebettet ist, streckt sich der Bildbereich auf
   die volle Höhe der Textspalte (bündig oben und unten). */
.detail .two-col .detail-image:has(img) {
    aspect-ratio: auto;
    align-self: stretch;
}
.detail .two-col .detail-image:has(img) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.detail-image {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--c-secondary), var(--c-muted));
    position: relative;
    overflow: hidden;
}
.image-credit {
    position: absolute;
    bottom: 0.6rem;
    right: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}
.detail-image:empty::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 24px,
            rgba(0, 0, 0, 0.04) 24px,
            rgba(0, 0, 0, 0.04) 26px
        );
}
.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.detail.alt .two-col { direction: rtl; }
.detail.alt .two-col > * { direction: ltr; }

/* PLZ-Suchformular */
.plz-search {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.8rem;
    max-width: 380px;
    flex-wrap: wrap;
}
.plz-search input {
    flex: 1 1 180px;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-white);
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 16px;
    color: var(--c-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.plz-search input:focus {
    outline: none;
    border-color: var(--c-black);
    box-shadow: 0 0 0 3px rgba(206, 216, 235, 0.6);
}
.plz-search input::placeholder { color: var(--c-muted-text); }
.plz-search .btn { flex-shrink: 0; }
.plz-result {
    margin-top: 1rem;
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--c-dark);
    min-height: 1.2em;
}
.plz-result.error { color: var(--c-link); }

/* Screen-Reader-Only Hilfsklasse */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Faktenliste */
.fact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.fact-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-border);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: baseline;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list dt,
.fact-list strong {
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    color: var(--c-muted-text);
    font-weight: 400;
}
.fact-list dd,
.fact-list span {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 16px;
    color: var(--c-dark);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--c-white);
    text-align: left;
    overflow: hidden;
    isolation: isolate;
    padding: 5rem 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(32, 42, 38, 0.55) 100%),
        image-set(
            url("assets/hero-1600w.webp") type("image/webp"),
            url("assets/hero.jpg") type("image/jpeg")
        );
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2rem 1.5rem;
    max-width: var(--maxw);
    width: 100%;
    margin: 4rem auto 0;
}
.page-banner.has-image .banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.page-banner.has-image .banner-row .banner-text {
    flex: 1 1 auto;
    min-width: 0;
}
@media (max-width: 960px) {
    .page-banner.has-image .banner-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

/* Weather widget */
.weather-widget {
    flex: 0 0 360px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    padding: 1.5rem 1.6rem 1.4rem;
    color: var(--c-text);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Override page-banner inherited white-text rules inside the widget */
.page-banner.has-image .weather-widget .eyebrow { color: var(--c-dark); }
.page-banner.has-image .weather-widget p { color: var(--c-text); text-shadow: none; }
@media (max-width: 960px) {
    .weather-widget { flex: 1 1 auto; width: 100%; max-width: 460px; }
}
.weather-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.weather-header .eyebrow {
    color: var(--c-dark);
    font-size: 10px;
    letter-spacing: 0.16em;
}
.weather-header .weather-sub {
    font-size: 12px;
    color: var(--c-muted-text);
    letter-spacing: 0.01em;
}
.weather-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.3rem;
    background: var(--c-muted);
    border-radius: 999px;
    padding: 0.3rem;
}
.weather-nav {
    background: transparent;
    border: none;
    color: var(--c-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}
.weather-nav svg { width: 15px; height: 15px; }
.weather-nav:hover { background: var(--c-white); }
.weather-nav:active { transform: scale(0.9); }
.weather-region {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.98rem;
    text-align: center;
    flex: 1;
    color: var(--c-dark);
    letter-spacing: 0.01em;
}
.weather-content {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--c-border);
    transition: opacity 0.25s ease;
}
.weather-widget.loading .weather-content { opacity: 0.4; }
.weather-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(155deg, #fef3c7 0%, #fed7aa 100%);
    color: #ea580c;
    transition: background 0.4s ease, color 0.4s ease;
}
.weather-icon svg { width: 60%; height: 60%; stroke-width: 1.8; }
.weather-widget.weather-sun      .weather-icon { background: linear-gradient(155deg, #fef3c7 0%, #fed7aa 100%); color: #ea580c; }
.weather-widget.weather-suncloud .weather-icon { background: linear-gradient(155deg, #fef9c3 0%, #dbeafe 100%); color: #1e40af; }
.weather-widget.weather-cloud    .weather-icon { background: linear-gradient(155deg, #f1f5f9 0%, #cbd5e1 100%); color: #475569; }
.weather-widget.weather-fog      .weather-icon { background: linear-gradient(155deg, #f1f5f9 0%, #cbd5e1 100%); color: #64748b; }
.weather-widget.weather-drizzle  .weather-icon { background: linear-gradient(155deg, #dbeafe 0%, #93c5fd 100%); color: #1e40af; }
.weather-widget.weather-rain     .weather-icon { background: linear-gradient(155deg, #dbeafe 0%, #93c5fd 100%); color: #1e3a8a; }
.weather-widget.weather-snow     .weather-icon { background: linear-gradient(155deg, #f0f9ff 0%, #bae6fd 100%); color: #0369a1; }
.weather-widget.weather-storm    .weather-icon { background: linear-gradient(155deg, #ddd6fe 0%, #a78bfa 100%); color: #4c1d95; }
.weather-details { min-width: 0; flex: 1; }
.weather-temp {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 3rem;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--c-dark);
}
.weather-desc {
    font-size: 0.92rem;
    color: var(--c-muted-text);
    margin-top: 0.45rem;
    font-weight: 400;
}
.weather-tip {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--c-text);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-height: 1.5em;
}
.weather-tip::before {
    content: '';
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 0.55em;
    border-radius: 50%;
    background: var(--c-link);
}
.weather-tip:empty { min-height: 0; }
.weather-tip:empty::before { display: none; }

.hero-logo {
    display: inline-block;
    background: transparent;
}
.hero-logo img {
    height: 120px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}
@media (max-width: 720px) {
    .hero-logo img { height: 82px; }
}

.hero h1 {
    color: var(--c-white);
    font-size: clamp(24px, 3.6vw, 40px);
    line-height: 1.3;
    margin: 0;
    max-width: 880px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.55;
    margin: 0;
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
    margin-top: 0.6rem;
}
.hero-actions.stacked {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* =========================================================
   Welcome-Intro (Section direkt unter Hero)
   ========================================================= */

.welcome-intro {
    padding: 7rem 0;
    text-align: center;
}
.welcome-intro .container { max-width: 880px; }
.welcome-intro h2 {
    margin-bottom: 1.8rem;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.35;
    text-align: center;
}
.welcome-intro p {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.45;
    color: var(--c-dark);
    margin-bottom: 1.2rem;
}
.welcome-intro .btn { margin-top: 1.2rem; }

/* =========================================================
   Zielgruppen-Cards
   ========================================================= */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.audience-card {
    background: var(--c-white);
    border-radius: 14px;
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--c-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.audience-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-secondary);
    color: var(--c-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    font-family: var(--font-head);
}
.audience-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}
.section-secondary .audience-icon {
    background: var(--c-black);
    color: var(--c-white);
}
.audience-card h4 { margin-bottom: 0.8rem; }
.audience-card p {
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 300;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* =========================================================
   Maximen-Liste
   ========================================================= */

.maxims {
    background: var(--c-secondary);
}
.maxims-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    margin-top: 2.5rem;
}
.maxim {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.maxim-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-black);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
}
.maxim-num svg {
    width: 22px;
    height: 22px;
    display: block;
}
.maxim-text {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 16px;
    color: var(--c-dark);
    line-height: 1.4;
}

/* =========================================================
   Produkte
   ========================================================= */

.section-header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-lead {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 17px;
    color: var(--c-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.product-image {
    aspect-ratio: 4 / 3;
    background: var(--c-muted);
    overflow: hidden;
    position: relative;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.04);
}
.product-body { padding: 1.5rem 1.7rem 1.8rem; }
.product-body h4 { margin-bottom: 0.5rem; font-size: 20px; }
.product-body p {
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 15px;
    margin: 0;
}

/* =========================================================
   Karriere / Zwei-Spalten
   ========================================================= */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.two-col .col-image {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, var(--c-secondary), var(--c-muted));
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}
.two-col .col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   Mitgliedsantrag CTA
   ========================================================= */

.cta-band {
    background: var(--c-dark);
    color: var(--c-white);
    padding: 7rem 0;
    text-align: center;
}
.cta-band .section-title { color: var(--c-white); font-size: 30px; max-width: 720px; margin: 0 auto 1.2rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 2rem; font-family: var(--font-head); font-weight: 300; font-size: 17px; }
.cta-band .eyebrow { color: var(--c-secondary); }

/* =========================================================
   Meisterkurse – Cards
   ========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.course-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.course-tag {
    display: inline-block;
    background: var(--c-secondary);
    color: var(--c-black);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}
.course-card h4 { margin-bottom: 0.3rem; font-size: 20px; }
.course-card p {
    margin: 0;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 14px;
}

/* =========================================================
   Firmennachfolge
   ========================================================= */

.nachfolge-card {
    background: var(--c-muted);
    border-left: 4px solid var(--c-black);
    padding: 2.5rem;
    border-radius: 14px;
}
.nachfolge-card blockquote {
    margin: 0 0 1rem;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 20px;
    color: var(--c-dark);
    line-height: 1.5;
    font-style: italic;
}
.nachfolge-card .quote-attr {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 13px;
    color: var(--c-muted-text);
    margin: 0;
}

/* =========================================================
   Partner / Fördermitglieder
   ========================================================= */

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.partner-logo {
    flex: 0 0 calc(25% - 0.9rem);
    aspect-ratio: 5 / 2;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted-text);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    padding: 0.4rem 0.8rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.partner-logo:hover {
    background: var(--c-muted);
    color: var(--c-black);
    transform: translateY(-2px);
}
.section-muted .partner-logo:hover { background: var(--c-white); }

/* =========================================================
   Nachhaltigkeit
   ========================================================= */

.nachhaltigkeit {
    background: var(--c-secondary);
}
.nachhaltigkeit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.nh-card {
    background: var(--c-white);
    border-radius: 14px;
    padding: 2rem 1.8rem;
}
.nh-card h4 { margin-bottom: 0.6rem; font-size: 20px; }
.nh-card p { margin: 0; color: var(--c-text); font-family: var(--font-head); font-weight: 300; }

/* =========================================================
   Kontakt
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.contact-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-border);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list strong {
    display: block;
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    color: var(--c-muted-text);
    font-weight: 400;
    margin-bottom: 0.3rem;
}
.contact-list span {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 16px;
    color: var(--c-dark);
}
.contact-list a { color: var(--c-link); }

.contact-form {
    background: var(--c-muted);
    padding: 2.5rem;
    border-radius: 18px;
}
.form-row {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}
.form-row label {
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--c-dark);
}
.form-row input:not([type="checkbox"]):not([type="radio"]),
.form-row select,
.form-row textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 15px;
    background: var(--c-white);
    color: var(--c-dark);
    transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--c-black);
}
.contact-form textarea { resize: none; }
.checkbox-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
}
.checkbox-row input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--c-black);
}
.checkbox-row label {
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
}
.form-status { margin: 1rem 0 0; font-family: var(--font-head); font-size: 14px; color: var(--c-dark); }
.form-status.error { color: var(--c-link); }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: var(--c-muted);
    color: var(--c-black);
    padding: 4rem 0 1.5rem;
    font-family: var(--font-head);
    font-weight: 300;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr 1.4fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-brand .footer-logo { display: block; margin-bottom: 1.4rem; }
.footer-brand .footer-logo img {
    height: 80px;
    width: auto;
    max-width: none;
    display: block;
}
.footer-col .footer-heading {
    color: var(--c-black);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    margin-bottom: 1rem;
}
.footer-col p { font-size: 15px; color: var(--c-dark); }
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
    color: var(--c-black);
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 16px;
}
.footer-col a:hover { color: var(--c-link); }

.socials { display: flex; gap: 0.6rem; }
.socials a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--c-black);
    background: transparent;
    transition: color 0.2s ease;
}
.socials a svg {
    width: 32px;
    height: 32px;
    display: block;
    stroke-width: 1.2;
}
.socials a:hover { color: var(--c-link); background: transparent; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
    font-size: 13px;
    color: var(--c-muted-text);
}
.to-top {
    background: var(--c-black);
    color: var(--c-white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.to-top:hover { background: var(--c-dark); color: var(--c-white); }

/* =========================================================
   Mitgliedsantrag-Formular
   ========================================================= */

.membership-container { max-width: 880px; }
.membership-container .section-header .section-lead { text-align: center; }
.membership-form {
    background: var(--c-muted);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid var(--c-border);
}
.membership-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
    margin-bottom: 1.8rem;
}
.membership-form .form-row { display: flex; flex-direction: column; margin: 0; }
.membership-form .form-row-wide { grid-column: 1 / -1; }
.membership-form label {
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--c-dark);
}
.req { color: var(--c-link); margin-left: 0.1em; }
.membership-form input[type="text"],
.membership-form input[type="email"],
.membership-form input[type="tel"] {
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 15px;
    background: var(--c-white);
    color: var(--c-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.membership-form input:focus {
    outline: none;
    border-color: var(--c-black);
    box-shadow: 0 0 0 3px rgba(206, 216, 235, 0.6);
}

.membership-form .form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.membership-form .form-fieldset legend {
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    font-weight: 400;
    color: var(--c-dark);
    margin-bottom: 0.8rem;
    padding: 0;
}
.membership-form .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
}
.membership-form .radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 15px;
    color: var(--c-dark);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    cursor: pointer;
}
.membership-form .radio-option input[type="radio"] {
    accent-color: var(--c-black);
    width: 18px;
    height: 18px;
}

.membership-form .checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}
.membership-form .checkbox-row input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--c-black);
}
.membership-form .checkbox-row label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.45;
    margin: 0;
    color: var(--c-dark);
}
.membership-form .checkbox-row label a { color: var(--c-link); text-decoration: none; }

.membership-form .form-status {
    margin: 1rem 0 0;
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--c-dark);
    min-height: 1.2em;
}
.membership-form .form-status.error { color: var(--c-link); }

@media (max-width: 720px) {
    .membership-form { padding: 1.6rem; }
    .membership-form .form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mitglieder-Kacheln + Detail-Modal
   ========================================================= */

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}
.member-tile {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-head);
    color: var(--c-dark);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 180px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.member-tile .member-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.member-tile .member-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.member-tile .member-logo .placeholder { display: none; }
.member-tile .member-logo .logo-fallback {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.15;
    color: var(--c-link);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.member-tile:hover {
    border-color: var(--c-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.member-tile .member-name {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.35;
    color: var(--c-black);
}
.member-tile .member-location {
    font-size: 13px;
    color: var(--c-muted-text);
    font-weight: 300;
    margin-top: auto;
}
.member-tile .member-distance {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-link);
    margin-top: 0.2rem;
}
.member-tile .member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    background: var(--c-secondary);
    color: var(--c-black);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.member-tile .member-badge svg {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
}
.member-tile .member-badge-gold {
    background: var(--c-secondary-hover);
}

.member-modal {
    border: none;
    border-radius: 18px;
    padding: 0;
    max-width: 500px;
    width: calc(100% - 2rem);
    background: var(--c-white);
    color: var(--c-dark);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.member-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}
.member-modal .modal-logo {
    margin: 2rem 2rem 1rem;
    padding-right: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
}
.member-modal .modal-logo img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.member-modal .modal-logo .logo-fallback {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: var(--c-link);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.member-modal h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--c-black);
    margin: 0 2rem 0.4rem;
    padding-right: 2.5rem;
}
.member-modal .modal-logo + h3 { margin-top: 0; }
.member-modal.no-logo h3 { margin-top: 2rem; }
.member-modal .modal-inhaber {
    margin: 0 2rem 1.4rem;
    color: var(--c-muted-text);
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 14px;
}
.member-modal .modal-details {
    list-style: none;
    margin: 0;
    padding: 0 2rem 2rem;
}
.member-modal .modal-details li {
    padding: 0.9rem 0;
    border-top: 1px solid var(--c-border);
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: baseline;
    font-family: var(--font-head);
    font-size: 14px;
}
.member-modal .modal-details strong {
    color: var(--c-muted-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 11px;
}
.member-modal .modal-details a { color: var(--c-link); word-break: break-word; }
.member-modal .modal-details span { color: var(--c-dark); }

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--c-muted);
    color: var(--c-black);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.modal-close:hover { background: var(--c-secondary); }

/* =========================================================
   Alternierende Text-Bild-Blöcke (Varianten-Section)
   ========================================================= */

.variants-section .variant-block {
    margin-top: 5rem;
    align-items: center;
    gap: 0.5rem;
}
.variants-section .variant-block:first-of-type { margin-top: 0; }
.variants-section .variant-block > div { display: block; }
.variants-section .variant-heading {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-black);
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 0.8rem;
    line-height: 1.3;
}
.variants-section .variant-block p {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.55;
    color: var(--c-dark);
    margin: 0;
}
.variants-section .variant-block .variant-btn {
    margin-top: 1.2rem;
    align-self: flex-start;
    width: fit-content;
}
.variants-section .variant-block .detail-image {
    aspect-ratio: 5 / 3;
    max-width: 580px;
    width: 100%;
    background: linear-gradient(135deg, var(--c-secondary), var(--c-muted));
    border-radius: 18px;
    justify-self: end;
}
.variants-section .variant-block.flip .detail-image {
    justify-self: start;
}
@media (max-width: 1024px) {
    .variants-section .variant-block { margin-top: 3rem; gap: 1.8rem; }
}
/* Varianten-Blöcke bleiben bis 720px nebeneinander, dann erst stacken */
@media (max-width: 1024px) and (min-width: 721px) {
    .variants-section .variant-block.two-col {
        grid-template-columns: 1fr 1fr;
    }
}
/* Ab Handy-Breite: konsistent Bild oben, Text unten — unabhängig von .flip */
@media (max-width: 720px) {
    .variants-section .variant-block .detail-image {
        order: -1;
    }
}

/* =========================================================
   Sticky Action Buttons (rechter Rand)
   ========================================================= */

.sticky-actions {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 90;
}
.sticky-actions a {
    height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--c-secondary);
    color: var(--c-black);
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) {
    .sticky-actions a:hover {
        background: var(--c-secondary-hover);
        color: var(--c-black);
    }
    .sticky-actions a:hover .sticky-label {
        max-width: 200px;
        opacity: 1;
        margin-left: 10px;
    }
}
.sticky-actions a.is-expanded {
    background: var(--c-secondary-hover);
}
.sticky-actions a.is-expanded .sticky-label {
    max-width: 200px;
    opacity: 1;
    margin-left: 10px;
}
.sticky-actions a svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}
.sticky-actions a .sticky-label {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.25s ease, margin-left 0.3s ease;
}
@media (max-width: 1100px) {
    .sticky-actions { gap: 3px; }
    .sticky-actions a { height: 36px; padding: 0 10px; }
    .sticky-actions a svg { width: 17px; height: 17px; }
    .sticky-actions a .sticky-label { font-size: 12px; }
    .sticky-actions a.is-expanded .sticky-label { margin-left: 8px; }
}

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .audience-grid,
    .product-grid,
    .nachhaltigkeit-grid,
    .maxims-grid { grid-template-columns: repeat(2, 1fr); }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-logo { flex-basis: calc(33.333% - 0.8rem); }
    .two-col,
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}

/* Letzte alleinstehende Card im 2-Spalten-Grid zentrieren */
@media (max-width: 1024px) and (min-width: 721px) {
    .product-grid > :last-child:nth-child(2n+1),
    .audience-grid > :last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }
}
@media (max-width: 960px) and (min-width: 601px) {
    .benefits-grid > :last-child:nth-child(2n+1),
    .vorteile-grid > :last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }
}
@media (max-width: 960px) and (min-width: 541px) {
    .about-features > :last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }
}
@media (max-width: 1100px) {
    /* Schrift im Mobile-Menü ist immer weiß — überschreibt auch hero/scrolled */
    body.has-hero .site-header.scrolled .main-nav > ul > li > a,
    body.has-hero .site-header.scrolled .main-nav .submenu a {
        color: var(--c-white);
        text-shadow: none;
    }
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--c-dark);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: none;
        z-index: 90;
        padding: 5rem 1.5rem;
        max-height: none;
        display: flex;
        flex-direction: column;
        justify-content: safe center;
    }
    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
    }
    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
    }
    .main-nav a,
    .main-nav .submenu-trigger {
        color: var(--c-white);
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        font-weight: 500;
        text-shadow: none;
        text-align: center;
    }
    .main-nav .nav-cta {
        margin: 0;
        text-align: center;
        background: transparent;
        color: var(--c-white);
        border-radius: 0;
        padding: 0.5rem 1rem;
        font-weight: 500;
    }

    /* Hamburger-Button bleibt sichtbar über dem Overlay */
    .site-header { z-index: 100; }
    body.has-hero .site-header.menu-open { background: transparent; }

    /* Untermenü standardmäßig zu, per Klick auf Eltern-Link erweiterbar */
    .submenu {
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }
    .submenu a {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.88rem;
        font-weight: 300;
        padding: 0.35rem 1rem;
        text-align: center;
    }
    .has-submenu:hover .submenu { display: none; }
    .has-submenu.is-open .submenu { display: flex; }

    /* Mobile-only Home-Link aktivieren */
    .mobile-home { display: list-item; }

    /* Body-Scroll-Lock wenn Menü offen */
    body:has(.main-nav.is-open) { overflow: hidden; }
}

@media (max-width: 720px) {
    .audience-grid,
    .product-grid,
    .nachhaltigkeit-grid,
    .course-grid,
    .maxims-grid { grid-template-columns: 1fr; }
    .partner-logo { flex-basis: calc(50% - 0.6rem); }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .hero { padding: 3rem 0 4rem; }
    section,
    .detail,
    .welcome-intro,
    .big-statement,
    .meister-section,
    .legal-section,
    .spectrum-section,
    .quiz-section,
    .day-experience,
    .cta-band,
    .vorstand-intro,
    .career-intro,
    .benefits,
    .career-gallery,
    .codex,
    .image-cta-grid { padding: 3.5rem 0; }
    .btn { text-align: center; }
}

/* =========================================================
   Ausbildung-Seite
   ========================================================= */
.ausbildung-intro { max-width: 880px; margin: 0 auto; text-align: center; }
.ausbildung-intro .intro-lead { font-size: 1.15rem; font-weight: 500; color: var(--c-dark); margin-bottom: 1.2rem; }
.ausbildung-intro p { margin-bottom: 1.2rem; line-height: 1.65; }
.ausbildung-intro .btn { margin-top: 1rem; }

/* Vorteile */
.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.vorteil-card {
    background: var(--c-muted);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 1.8rem 1.6rem;
}
.vorteil-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--c-secondary);
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.vorteil-icon svg { width: 28px; height: 28px; }
.vorteil-card h4 { margin: 0 0 0.5rem; color: var(--c-dark); }
.vorteil-card p { margin: 0; color: var(--c-muted-text); line-height: 1.55; font-size: 0.95rem; }
@media (max-width: 960px) { .vorteile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vorteile-grid { grid-template-columns: 1fr; } }

/* Day Experience: Ein Tag im Leben (Grid 4x2) */
.day-experience { padding: 5rem 0; }
.day-moments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.day-moment {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 1.2rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.moment-time {
    align-self: flex-start;
    color: var(--c-muted-text);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
}
.moment-icon { color: var(--c-dark); }
.moment-icon svg { width: 28px; height: 28px; }
.day-moment h4 { margin: 0; font-size: 0.98rem; color: var(--c-dark); line-height: 1.3; }
.day-moment p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--c-muted-text); }
@media (max-width: 960px) { .day-moments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .day-moments { grid-template-columns: 1fr; } }

/* Lerninhalte */
.content-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 880px) {
    .content-layout { grid-template-columns: 1fr; }
}
.content-text p { line-height: 1.65; margin-bottom: 1.2rem; }
.content-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.content-list li {
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.55;
}
.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-link);
}
.content-bonus {
    background: linear-gradient(155deg, #fef9c3 0%, #fed7aa 100%);
    border-left: 4px solid #ea580c;
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    margin: 0;
}
.eckdaten-card {
    background: var(--c-secondary);
    color: var(--c-dark);
    border-radius: 18px;
    padding: 1.5rem 1.5rem;
    position: sticky;
    top: 100px;
}
.eckdaten-card h4 {
    color: var(--c-dark);
    margin: 0 0 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(32, 42, 38, 0.18);
}
.eckdaten-card .fact-list { list-style: none; padding: 0; margin: 0; }
.eckdaten-card .fact-list li {
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(32, 42, 38, 0.12);
    gap: 0;
    line-height: 1.25;
}
.eckdaten-card .fact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.eckdaten-card .fact-list li:first-child { padding-top: 0; }
.eckdaten-card .fact-list strong { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(32, 42, 38, 0.65); margin: 0 0 1px; line-height: 1.1; }
.eckdaten-card .fact-list span { color: var(--c-dark); font-family: var(--font-head); font-size: 15px; line-height: 1.3; }

.content-downloads {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

/* Lerninhalte: Text + Bild */
.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.learn-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.learn-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.learn-content .eyebrow { margin-bottom: 0.4rem; }
.learn-headline { margin: 0 0 1.2rem; }
.learn-content p {
    line-height: 1.65;
    margin: 0 0 1.5rem;
}
.learn-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--c-border);
}
.learn-facts li {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--c-border);
    align-items: baseline;
}
.learn-facts strong {
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted-text);
    font-weight: 400;
}
.learn-facts span {
    font-family: var(--font-head);
    color: var(--c-dark);
    font-size: 0.95rem;
}
.learn-downloads {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
}
@media (max-width: 880px) {
    .learn-grid { grid-template-columns: 1fr; gap: 2rem; }
    .learn-image { max-height: 360px; }
    .learn-facts li { grid-template-columns: 160px 1fr; }
}
@media (max-width: 880px) {
    .content-layout { grid-template-columns: 1fr; }
    .eckdaten-card { position: static; }
}

/* Career Path */
.career-path {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
}
.career-path::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--c-dark);
    opacity: 0.25;
    z-index: 0;
}
.career-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.4rem;
}
.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-white);
    border: 2px solid var(--c-dark);
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.step-num svg { width: 26px; height: 26px; }
.career-step h4 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--c-dark); }
.career-step p { margin: 0; font-size: 0.85rem; color: var(--c-muted-text); line-height: 1.5; }
@media (max-width: 960px) {
    .career-path { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .career-path::before { display: none; }
}
@media (max-width: 480px) { .career-path { grid-template-columns: 1fr; } }

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.video-card {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--c-dark);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Click-to-Load Placeholder für YouTube */
.video-card.yt-embed .yt-load {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(32, 42, 38, 0.9) 100%);
    color: var(--c-white);
    border: 0;
    cursor: pointer;
    font-family: var(--font-head);
    text-align: center;
    transition: background 0.2s ease;
}
.video-card.yt-embed .yt-load:hover,
.video-card.yt-embed .yt-load:focus-visible {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(32, 42, 38, 0.78) 100%);
    outline: none;
}
.video-card.yt-embed .yt-play {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}
.video-card.yt-embed .yt-load:hover .yt-play { transform: scale(1.08); }
.video-card.yt-embed .yt-title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    max-width: 280px;
}
.yt-consent-note {
    margin-top: 1.2rem;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 300;
    color: var(--c-muted-text);
    text-align: center;
    line-height: 1.5;
}
.yt-consent-note a { color: var(--c-link); }
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; } }

/* CTA: zweiter Button-Style */
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.btn-klein-secondary {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-klein-secondary:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }

/* =========================================================
   Über uns – Themenschwerpunkte / Features
   ========================================================= */
.about-intro {
    max-width: 1080px;
    margin: 0 auto;
}
.about-intro > p {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    color: var(--c-text);
}
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.about-feature {
    text-align: left;
    padding: 1.6rem;
    background: var(--c-muted);
    border-radius: 16px;
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--c-secondary);
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.about-feature h4 { margin: 0 0 0.5rem; color: var(--c-dark); font-size: 1.05rem; }
.about-feature p { margin: 0; color: var(--c-muted-text); line-height: 1.55; font-size: 0.92rem; }
@media (max-width: 960px) { .about-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .about-features { grid-template-columns: 1fr; } }

/* Vorstand-Intro – Bild + Text */
.vorstand-intro { padding: 7rem 0; background: var(--c-white); }
.vorstand-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.vorstand-intro-image {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}
.vorstand-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}
.vorstand-intro-content .eyebrow { margin-bottom: 0.4rem; }
.vorstand-intro-content h3 { margin: 0 0 1.2rem; }
.vorstand-intro-content > p {
    margin: 0 0 1.5rem;
    line-height: 1.65;
    color: var(--c-text);
    max-width: 540px;
}
.vorstand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--c-border);
}
.vorstand-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--c-border);
}
.vorstand-list strong {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--c-dark);
    font-size: 1rem;
}
.vorstand-list span {
    font-size: 0.9rem;
    color: var(--c-muted-text);
    text-align: right;
}
@media (max-width: 880px) {
    .vorstand-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Karriere – Big Statement */
.big-statement { padding: 7rem 0; background: var(--c-white); text-align: center; }
.big-statement .container { max-width: 820px; }
.big-statement .eyebrow { margin-bottom: 0.6rem; display: inline-block; }
.big-statement-headline {
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.15;
    margin: 0 0 1.5rem;
    color: var(--c-dark);
    font-weight: 500;
}
.big-statement p {
    line-height: 1.7;
    color: var(--c-text);
    margin: 0 auto 1.2rem;
    max-width: 680px;
}
.big-statement .btn { margin-top: 1.5rem; }

/* Karriere – Intro/Stellen */
.career-intro { padding: 7rem 0; }
.career-cta-row { text-align: center; margin-top: 1rem; }

/* Karriere – Vorteile (interaktive Cards) */
.benefits { padding: 7rem 0; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.benefit-card {
    background: var(--c-muted);
    border-radius: 16px;
    padding: 2rem 1.6rem;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
    outline: 0;
}
.benefit-card:hover,
.benefit-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.15);
}
.benefit-card:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 4px; }
.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--c-secondary-hover);
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.benefit-card:hover .benefit-icon { background: var(--c-dark); color: var(--c-white); transform: rotate(-4deg) scale(1.05); }
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h4 { margin: 0 0 0.5rem; color: var(--c-dark); font-size: 1.15rem; font-weight: 500; }
.benefit-card p { margin: 0; color: var(--c-text); line-height: 1.55; font-size: 0.95rem; }
@media (max-width: 960px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Karriere – Meisterausbildung (Treppe als Karriereleiter) */
.meister-section { padding: 7rem 0; background: var(--c-muted); }
.meister-stairs {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    align-items: end;
    gap: 1.2rem;
    margin-top: 3rem;
}
.meister-stair {
    background: var(--c-white);
    border-radius: 16px;
    padding: 1.8rem 1.6rem 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.meister-stair:nth-child(1) { min-height: 200px; }
.meister-stair:nth-child(2) { min-height: 260px; }
.meister-stair:nth-child(3) { min-height: 340px; }
.meister-stair--top {
    background: var(--c-dark);
    color: var(--c-white);
    box-shadow: 0 30px 60px rgba(30, 41, 59, 0.25);
}
.stair-num {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--c-secondary-hover);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}
.meister-stair h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-dark);
}
.meister-stair--top h4 { color: var(--c-white); }
.meister-stair p {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--c-text);
}
.meister-stair p:last-of-type { margin-bottom: 0; }
.meister-stair--top p { color: rgba(255, 255, 255, 0.85); }
.stair-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--c-secondary-hover);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.stair-link:hover {
    color: var(--c-white);
    transform: translateX(4px);
}
@media (max-width: 720px) {
    .meister-stairs { grid-template-columns: 1fr; gap: 1rem; }
    .meister-stair:nth-child(1),
    .meister-stair:nth-child(2),
    .meister-stair:nth-child(3) { min-height: auto; }
}

/* Karriere – Bilder-Galerie (Masonry mit Hover-Zoom) */
.career-gallery { padding: 7rem 0; }
.gallery-masonry {
    column-count: 3;
    column-gap: 1.2rem;
}
.gallery-masonry figure {
    margin: 0 0 1.2rem;
    break-inside: avoid;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.gallery-masonry img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-masonry figure.gallery-tall { aspect-ratio: 6 / 5; }
.gallery-masonry figure.gallery-tall img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 540px) { .gallery-masonry { column-count: 1; } }

/* Verhaltenscodex – Tabs (horizontal) */
.codex { padding: 7rem 0 5rem; background: var(--c-muted); }
.codex-tabs {
    max-width: 960px;
    margin: 2.5rem auto 0;
}
.codex-tablist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
    border-bottom: 1px solid var(--c-border);
}
.codex-panels {
    text-align: center;
}
.codex-panel p {
    margin: 0 auto;
}
.codex-tab {
    background: transparent;
    border: 0;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-muted-text);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.codex-tab:hover { color: var(--c-dark); }
.codex-tab:focus-visible {
    outline: 2px solid var(--c-secondary);
    outline-offset: 2px;
    border-radius: 4px;
}
.codex-tab.is-active {
    color: var(--c-dark);
    border-bottom-color: var(--c-dark);
}
.codex-panels {
    padding: 2.2rem 0 0;
    min-height: 8rem;
}
.codex-panel p {
    margin: 0 auto;
    line-height: 1.7;
    color: var(--c-text);
    max-width: 760px;
}
.codex-panel[hidden] { display: none; }
@media (max-width: 760px) {
    .codex-tablist {
        flex-direction: column;
        border-bottom: 0;
        gap: 0;
    }
    .codex-tab {
        text-align: left;
        white-space: normal;
        border-bottom: 1px solid var(--c-border);
        margin-bottom: 0;
        padding: 1rem 0.4rem;
    }
    .codex-tab.is-active { border-bottom-color: var(--c-dark); }
    .codex-panels { padding: 1.5rem 0 0; }
}

/* Schlichtungsstelle – Formular (in Codex-Section integriert) */
.codex .section-header {
    max-width: 820px;
}
.codex .section-lead {
    margin-top: 1.2rem;
    line-height: 1.7;
    text-align: center;
}
.schlichtung-form {
    max-width: 880px;
    margin: 2.5rem auto 0;
    border: 0;
    padding: 0;
    background: transparent;
}
.schlichtung-form .form-grid {
    grid-template-columns: repeat(6, 1fr);
}
.schlichtung-form .form-row { grid-column: span 3; }
.schlichtung-form .form-row-third { grid-column: span 2; }
.schlichtung-form .form-row-wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
    .schlichtung-form .form-grid { grid-template-columns: 1fr; }
    .schlichtung-form .form-row,
    .schlichtung-form .form-row-third,
    .schlichtung-form .form-row-wide { grid-column: 1 / -1; }
}
.schlichtung-form textarea {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--c-text);
    width: 100%;
    resize: vertical;
    transition: border-color 0.2s ease;
}
.schlichtung-form textarea:focus {
    outline: none;
    border-color: var(--c-dark);
}

/* Impressum / Datenschutz */
.legal-section { padding: 5rem 0 7rem; background: var(--c-white); }
.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3.5rem;
    align-items: start;
}
.legal-item h2 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    color: var(--c-dark);
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--c-border);
}
.legal-item p {
    margin: 0 0 0.8rem;
    line-height: 1.6;
    color: var(--c-text);
    font-size: 0.95rem;
}
.legal-item p:last-child { margin-bottom: 0; }
.legal-item a { color: var(--c-link); text-decoration: none; }
.legal-list { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.legal-list li { margin-bottom: 0.3rem; font-size: 0.95rem; }
.legal-prose {
    max-width: 820px;
    margin: 0 auto;
}
.legal-prose h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--c-dark);
    margin: 3rem 0 1rem;
    letter-spacing: normal;
    text-transform: none;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-dark);
    margin: 1.8rem 0 0.6rem;
    letter-spacing: normal;
    text-transform: none;
}
.legal-prose h4 {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--c-dark);
    margin: 1.2rem 0 0.4rem;
}
.legal-prose p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: var(--c-text);
}
.legal-prose ul {
    margin: 0 0 1rem 1.2rem;
    padding: 0;
}
.legal-prose ul li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
    color: var(--c-text);
}
.legal-prose a { color: var(--c-link); text-decoration: none; word-break: break-word; }
@media (max-width: 880px) {
    .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* 4-Card-Grid: Bilder + CTAs (weißer Hintergrund) */
.image-cta-grid { padding: 7rem 0; background: var(--c-white); }
.four-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.grid-image-card {
    margin: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
    aspect-ratio: 3 / 2;
    min-height: 240px;
}
.grid-image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.cta-tile {
    background: var(--c-muted);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}
.cta-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--c-secondary);
    color: var(--c-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cta-tile-icon svg { width: 28px; height: 28px; }
.cta-tile h2 {
    margin: 0;
    color: var(--c-dark);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.25;
}
.cta-tile p {
    margin: 0;
    color: var(--c-text);
    line-height: 1.6;
}
.cta-tile .btn { margin-top: 0.5rem; }
@media (max-width: 880px) {
    .four-card-grid { grid-template-columns: 1fr; }
}

/* Dark CTA (Karriere) */
.dark-cta {
    position: relative;
    padding: 6rem 0;
    color: var(--c-white);
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.78) 0%, rgba(32, 42, 38, 0.85) 100%),
        var(--cta-image, none);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.dark-cta-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}
.dark-cta-text .eyebrow {
    color: var(--c-white);
    margin-bottom: 0.6rem;
    display: block;
}
.dark-cta-text h2 {
    color: var(--c-white);
    margin: 0 0 1rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.dark-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 580px;
}
.dark-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}
.dark-cta-actions .btn { min-width: 220px; text-align: center; }
@media (max-width: 880px) {
    .dark-cta-inner { grid-template-columns: 1fr; }
}

/* Spektrum-Section */
.spectrum-section { padding: 5rem 0; background: var(--c-muted); }
.spectrum-strip {
    display: flex;
    max-width: 880px;
    margin: 1.5rem auto 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.spectrum-band {
    flex: 1;
    background: var(--c);
    border: none;
    color: var(--c-dark);
    padding: 1.4rem 0.4rem;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: flex 0.4s ease, padding 0.3s ease;
    position: relative;
}
.spectrum-band span { display: inline-block; transition: transform 0.3s ease; }
.spectrum-band:hover { flex: 1.4; }
.spectrum-band.is-active { flex: 1.8; padding: 1.7rem 0.4rem; }
.spectrum-band.is-active span { transform: scale(1.1); }
@media (max-width: 720px) {
    .spectrum-band {
        font-size: 0.72rem;
        padding: 1.1rem 0.2rem;
        letter-spacing: 0;
    }
    .spectrum-band.is-active { padding: 1.3rem 0.2rem; }
    .spectrum-band span { white-space: nowrap; }
}
@media (max-width: 480px) {
    .spectrum-band { font-size: 0.6rem; padding: 1rem 0.15rem; }
    .spectrum-band.is-active { padding: 1.15rem 0.15rem; }
}
.spectrum-content {
    max-width: 720px;
    margin: 1.8rem auto 0;
    text-align: center;
    transition: opacity 0.3s ease;
}
.spec-color-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--c);
    color: var(--c-dark);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
#specTitle { margin: 0 0 0.6rem; color: var(--c-dark); }
#specText { margin: 0; line-height: 1.65; color: var(--c-text); }

/* Quiz */
.quiz-section { padding: 5rem 0; background: linear-gradient(180deg, #fff 0%, #fef3c7 100%); }
.quiz-card {
    max-width: 640px;
    margin: 1.5rem auto 0;
    background: var(--c-white);
    border-radius: 20px;
    border: 1px solid var(--c-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    padding: 2rem 2rem 2.2rem;
}
.quiz-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}
.quiz-num { font-family: var(--font-head); color: var(--c-muted-text); font-size: 0.9rem; }
.quiz-num strong { color: var(--c-link); }
.quiz-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--c-muted);
    overflow: hidden;
}
.quiz-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #dc2626 100%);
    transition: width 0.3s ease;
}
.quiz-question h4 { margin: 0 0 1.2rem; color: var(--c-dark); font-size: 1.2rem; line-height: 1.4; }
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.quiz-option {
    background: var(--c-muted);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--c-text);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.quiz-option:hover { background: #fef3c7; border-color: #fbbf24; transform: translateX(4px); }
.quiz-result { text-align: center; }
.result-emoji { font-size: 4rem; line-height: 1; margin-bottom: 1rem; }
.result-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--c-link);
    color: var(--c-white);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.quiz-result h4 { margin: 0 0 0.8rem; color: var(--c-dark); font-size: 1.5rem; }
.quiz-result p { margin: 0 0 1.6rem; line-height: 1.6; color: var(--c-text); }
.quiz-result .btn { margin-top: 0.5rem; }

/* =========================================================
   Cookie / Consent Banner
   ========================================================= */

.consent-banner {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    width: calc(100% - 2rem);
    max-width: 580px;
    padding: 1.5rem 1.6rem;
    color: var(--c-text);
    font-family: var(--font-head);
    animation: consentBannerIn 0.3s ease;
}
@keyframes consentBannerIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.consent-banner h2 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--c-dark);
}
.consent-banner p {
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 300;
    margin: 0 0 1rem;
}
.consent-banner p a { color: var(--c-link); }
.consent-banner-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
}
.consent-banner-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 600px) {
    .consent-banner { padding: 1.2rem 1.2rem; bottom: 0.5rem; right: 0.5rem; width: calc(100% - 1rem); max-width: none; }
    .consent-banner-actions { flex-wrap: wrap; justify-content: stretch; }
    .consent-banner-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Consent Modal */
.consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.consent-modal.is-open { opacity: 1; pointer-events: auto; }
.consent-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.consent-modal-inner {
    position: relative;
    background: var(--c-white);
    border-radius: 18px;
    padding: 2rem 1.8rem;
    width: calc(100% - 2rem);
    max-width: 540px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    font-family: var(--font-head);
    color: var(--c-text);
}
.consent-modal-inner h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--c-dark);
}
.consent-modal-inner > p {
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 300;
    margin: 0 0 1.3rem;
}
.consent-category {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.8rem;
    background: var(--c-muted);
}
.consent-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--c-dark);
}
.consent-state {
    font-size: 0.78rem;
    color: var(--c-muted-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.consent-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.consent-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--c-black);
    cursor: pointer;
}
.consent-category p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--c-muted-text);
}
.consent-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 1.2rem;
}
@media (max-width: 480px) {
    .consent-modal-inner { padding: 1.5rem 1.2rem; }
    .consent-modal-actions { justify-content: stretch; }
    .consent-modal-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Locked Overlays auf YouTube-Cards und Wetter-Widget */
.consent-locked {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(32, 42, 38, 0.94) 100%);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border-radius: inherit;
}
.consent-locked-inner {
    text-align: center;
    max-width: 280px;
}
.consent-locked-inner p {
    font-family: var(--font-head);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    margin: 0 0 0.9rem;
}
.consent-locked .btn { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.weather-locked {
    border-radius: 20px;
}
.weather-widget { position: relative; }

/* =========================================================
   Mobile: einheitliche Section-Abstände
   (muss am Ende stehen, weil viele Section-Klassen weiter oben
   ihre eigenen padding-Werte definieren)
   ========================================================= */
@media (max-width: 720px) {
    .codex,
    .vorstand-intro,
    .big-statement,
    .meister-section,
    .career-gallery,
    .career-intro,
    .benefits,
    .image-cta-grid,
    .day-experience,
    .spectrum-section,
    .quiz-section,
    .legal-section,
    .welcome-intro,
    .cta-band,
    .detail {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

/* =========================================================
   Mobile: gestackte Buttons gleich lang (so breit wie längster Text)
   (am Dateiende, damit Source-Order über die späteren .cta-actions / etc.
   gewinnt)
   ========================================================= */
@media (max-width: 720px) {
    .hero-actions,
    .cta-actions,
    .dark-cta-actions {
        display: grid;
        grid-template-columns: max-content;
        flex-wrap: nowrap;
    }
}
