/* Grundlegende CSS-Variablen für Farben und Schriftgrößen */

@font-face {
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Black.ttf) format('truetype');
    font-family: 'Montserrat Black', Sans Serif;
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Regular.ttf) format('truetype');
    font-family: 'Montserrat Regular', Sans Serif;
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Bold.ttf) format('truetype');
    font-family: 'Montserrat Bold', Sans Serif;
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Black.woff) format("woff");
    font-family: 'Montserrat Black', Sans Serif;
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Regular.woff) format("woff");
    font-family: 'Montserrat Regular', Sans Serif;
    src: url(https://ggg-stiftung.ch/font/Montserrat/static/Montserrat-Bold.woff) format("woff");
    font-family: 'Montserrat Bold', Sans Serif;
	font-weight: normal; /* Gewichtung */
    font-style: normal; /* Stil */
}

@font-face {
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Black.ttf) format('truetype');
    font-family: 'Montserrat Black', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Regular.ttf) format('truetype');
    font-family: 'Montserrat Regular', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Bold.ttf) format('truetype');
    font-family: 'Montserrat Bold', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Black.woff) format("woff");
    font-family: 'Montserrat Black', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Regular.woff) format("woff");
    font-family: 'Montserrat Regular', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Bold.woff) format("woff");
    font-family: 'Montserrat Bold', Sans Serif;
	src: url(https://ggg-stiftung.ch/fonts/Montserrat-Black.woff2) format("woff2");
    font-family: 'Montserrat Black', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Regular.woff2) format("woff2");
    font-family: 'Montserrat Regular', Sans Serif;
    src: url(https://ggg-stiftung.ch/fonts/Montserrat-Bold.woff2) format("woff2");
    font-family: 'Montserrat Bold', Sans Serif;
	font-weight: normal; /* Gewichtung */
    font-style: normal; /* Stil */
}

:root {
    --primary-blue: #004481;
    --secondary-blue: #007bff;
    --accent-yellow: #fdd835;
    --text-color: #333;
    --background-color: #f4f7f6;
    --section-bg: #fff;
    --link-color: var(--primary-blue);
    --link-hover-color: var(--secondary-blue);
    --border-color: #ddd;
    --button-bg: var(--primary-blue);
    --button-text: #fff;
    --focus-outline-color: var(--accent-yellow);
    --highlight-border-color: var(--secondary-blue);
    --highlight-border-color: var(--c-gelb);
    --base-font-size: 20pt;
    --heading1-size: 3.5em;
    --heading2-size: 3em;
    --heading3-size: 1.75em;
    --paragraph-size: 1em;
    --small-text-size: 0.85em;
    --line-height-base: 1.6;
    --header-height: 80px;
    --scroll-padding-top: calc(var(--header-height) + 20px);
    --sidebar-width: 280px;
    /* Line-Height für bessere Lesbarkeit */
    --line-height-base: 1.6;
    --c-blau: #186DAF;
    --c-gelb: #FBB900;
    --c-schwarz: black;
    --c-weiss: #fff;
    --c-high-contrast-bg: #000;
    --c-high-contrast-text: #fff;
}


/* Allgemeine Styles und Reset für Barrierefreiheit */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
    scroll-padding-top: var(--scroll-padding-top);
}

body {
     font-family: "Montserrat Regular", Arial, sans-serif;
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--c-blau);
    line-height: 1.6;
    font-size: 22px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    /* Verhindert horizontales Scrollen */
}


/* Hoher Kontrast Modus */

body.high-contrast {
    --text-color: #fff;
    --background-color: #000;
    --section-bg: #1a1a1a;
    --primary-blue: #ffffff;
    --secondary-blue: #b388ff;
    --secondary-blue: var(--c-gelb);
    --link-color: var(--primary-blue);
    --link-hover-color: var(--secondary-blue);
    --button-bg: #fff;
    --button-text: #000;
    --border-color: #555;
    --focus-outline-color: #00e676;
    --focus-outline-color: var(--c-gelb);
    --highlight-border-color: #00e676;
    --highlight-border-color: var(--c-gelb);
    background-color: var(--c-high-contrast-bg);
}


/* NEU: Verhindert Scrollen des Hauptinhalts bei geöffneter Sidebar */

body.sidebar-open {
    overflow-y: hidden;
}


/* Skip-Link: Nur sichtbar bei Fokus */

.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    background: var(--focus-outline-color);
    color: var(--button-text);
    padding: 10px 15px;
    z-index: 1000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 5px 5px;
    transition: top 0.3s ease;
    font-size: var(--paragraph-size);
}

.skip-link:focus {
    top: 0;
}


/* Visuell versteckte Elemente (für Screenreader, aber nicht sichtbar) */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}


/* NEU: Styles für No-JavaScript Message */

.no-js-message {
    background-color: #fdd835;
    color: #333;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 3px solid #c00;
    margin-bottom: 20px;
    z-index: 10000;
    position: relative;
}

.no-js-message p {
    margin-bottom: 10px;
}

.no-js-message p:last-child {
    margin-bottom: 0;
}

.no-js-message a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.no-js-message a:hover,
.no-js-message a:focus {
    color: var(--text-color);
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 2px;
}


/* Überschriften-Styles */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    color: var(--c-schwarz);
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-family: "Montserrat Black", "Arial Black", sans-serif;
    -font-size: clamp(2rem, 10vw, 4rem);
}

h1 {
    -font-size: var(--heading1-size);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: var(--heading2-size);
}

h3 {
    font-size: var(--heading3-size);
    font-size: clamp(1.5rem, 5vw, 2rem);
}

p {
    font-size: var(--paragraph-size);
    margin-bottom: 1em;
}


/* Links */

a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--link-hover-color);
    text-decoration: none;
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 2px;
}


/* Buttons */

button {
    padding: 12px 22px;
    background-color: var(--button-bg);
    background-color: var(--c-gelb);
    color: var(--button-text);
    color: var(--c-schwarz);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: var(--paragraph-size);
    font-size: var(--small-text-size);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 10px;
}

button:hover {
    opacity: 0.9;
}

button:focus {
    outline: 4px solid var(--focus-outline-color);
    outline-offset: 3px;
}


/* Header Bereich */

.site-header {
    background-color: var(--section-bg);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 990;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    min-height: var(--header-height);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    flex-grow: 1;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo a {
    font-family: 'Montserrat Black', 'Arial Black', sans-serif;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.logo-text span {
    width: 220px;
}


/* textlogo */

img.textlogo {
    height: 42px;
}


/* Hauptnavigation (Desktop) */

.main-navigation ul {
    list-style: none;
    display: flex;
    /* Horizontal auf Desktop */
    gap: 25px;
}

.main-navigation a {
    text-decoration: none;
    font-weight: bold;
    color: var(--text-color);
    padding: 8px 0;
    display: block;
    font-size: 1.1em;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--secondary-blue);
    outline: none;
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 2px;
    border-radius: 5px;
}


/* Hamburger Menü (Standardmässig versteckt für Desktop) */

.nav-toggle {
    display: none;
    /* Versteckt auf Desktop */
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 10px;
    margin-right: 0;
}


/* Hamburger Icon Styling */

.hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    position: absolute;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    top: 10px;
}


/* Für das geöffnete Hamburger-Menü (JavaScript steuert die Klasse) */

.nav-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


/* NEU: Barrierefreiheits-Sidebar Styles */

.accessibility-sidebar {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--sidebar-width));
    /* Initial versteckt */
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--section-bg);
    /* Hintergrundfarbe passt sich an Kontrast an */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}


/* Sidebar geöffnet */

body.sidebar-open .accessibility-sidebar {
    right: 0;
}


/* NEU: Overlay-Stil */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Halbdurchsichtiger schwarzer Hintergrund */
    z-index: 999;
    /* Zwischen Inhalt und Sidebar */
    opacity: 0;
    /* Initial unsichtbar */
    visibility: hidden;
    /* Initial nicht interaktiv */
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}


/* Overlay sichtbar, wenn Sidebar geöffnet ist */

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.accessibility-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.accessibility-sidebar .sidebar-header h3 {
    margin: 50px 0 0 0;
    color: var(--primary-blue);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.accessibility-sidebar .sidebar-header .close-btn {
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
    margin-right: -5px;
}

.accessibility-sidebar .sidebar-header .close-btn:focus {
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 2px;
}

.accessibility-sidebar .sidebar-content button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
}


/* NEU: Öffnen-Button für die Sidebar (immer sichtbar) */

.open-sidebar-btn {
    position: fixed;
    top: 120px;
    right: -0px;
    z-index: 999;
    /* Unter dem Overlay, über dem Inhalt */
    background-color: var(--secondary-blue);
    background-color: var(--c-gelb);
    color: var(--button-text);
    border: none;
    border-radius: 3px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.open-sidebar-btn:hover {
    background-color: var(--primary-blue);
    background-color: var(--c-high-contrast-text);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.open-sidebar-btn:focus {
    outline: 4px solid var(--focus-outline-color);
    outline-offset: 4px;
}

.accessibility-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--c-gelb);
    padding: .5rem;
    border-radius: 3px;
}

.accessibility-icon:hover {
    background-color: var(--c-weiss);
}


/* Hauptinhaltsbereich */

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}


/* Hero-Sektion */

.hero-section {
    -background-color: var(--c-weiss);
    text-align: center;
    -padding: 50px 20px;
    margin-bottom: 40px;
    -background-color: var(--section-bg);
    -padding: 40px;
    margin-bottom: 3rem;
    border-radius: 8px;
    -box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    -border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-content h1 {
    margin-top: 100px;
}

.hero-section h1 {
    color: var(--primary-blue);
    color: var(--c-weiss);
    -font-size: var(--heading1-size);
    margin-bottom: 20px;
}

.hero-section p {
    color: var(--c-weiss);
    font-size: 1.2em;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px !important;
    margin-top: 30px;
}

.hero-innen {
    background-color: var(--c-weiss);
    border: 3rem solide #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Inhaltsabschnitte */

.content-section {
    background-color: var(--section-bg);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


/* Visuelle Markierung beim Anspringen einer Sektion */

.content-section:target {
    animation: highlightSection 20.5s forwards;
    border-color: var(--highlight-border-color);
}


/* Stiftungsrat spezial */

.wrapper-innen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.wrapper-fotos {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.wrapper-fotos figure {
    margin: 0;
	-width: 23.4%;
}

.wrapper-fotos figure div {
    height: 355px;
    width: 242px;
	
    overflow: hidden;
}

.wrapper-fotos figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
	border-radius: 8px;
}

.wrapper-fotos figcaption {
    font-size: 0.8rem;
}

@keyframes highlightSection {
    0% {
        box-shadow: 0 0 0 0px var(--highlight-border-color);
        border-color: var(--border-color);
    }
    15% {
        box-shadow: 0 0 20px 10px var(--highlight-border-color);
        border-color: var(--highlight-border-color);
    }
    85% {
        box-shadow: 0 0 10px 5px var(--highlight-border-color);
        border-color: var(--highlight-border-color);
    }
    100% {
        box-shadow: 0 0 0 0px var(--highlight-border-color);
        border-color: var(--border-color);
    }
}

.section-header h2 {
    color: var(--primary-blue);
    color: var(--c-high-contrast-bg);
    margin-top: 20px;
    margin-bottom: 20px;
    -border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 10px;
}

.text-content {
    display: flex;
    flex-direction: column;
}

.text-content p {
    margin-bottom: 1em;
}

.read-aloud-button {
    align-self: flex-start;
    margin-bottom: 15px;
    margin-top: 0;
}




/* Zweispaltiges Layout für Text und Bild */

.text-image-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.text-image-layout .image-column {
    flex: 1 0 48%;
    min-width: 300px;
    order: 1;
}

.text-image-layout.reverse-columns .image-column {
    order: 2;
}

.text-image-layout .image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    -box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.text-image-layout .text-column {
    flex: 1 0 48%;
    min-width: 300px;
    order: 2;
}

.text-image-layout.reverse-columns .text-column {
    order: 1;
}


/* Formular-Styles (Beispiel) */

.accessible-form {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--section-bg);
}

.accessible-form fieldset {
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 5px;
}

.accessible-form legend {
    font-weight: bold;
    color: var(--primary-blue);
    padding: 0 10px;
    font-size: 1.2em;
    margin-bottom: 15px;
    background-color: var(--section-bg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: var(--paragraph-size);
    color: var(--text-color);
    background-color: var(--background-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid var(--focus-outline-color);
    border-color: var(--focus-outline-color);
}

.form-group .hint-text {
    font-size: var(--small-text-size);
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
}

.form-group .required-indicator {
    color: #c00;
    font-weight: normal;
}


/* Radio Buttons und Checkboxen */

.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group input[type="radio"]+label,
.form-group input[type="checkbox"]+label {
    display: inline-block;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.form-group.checkbox-group label {
    display: inline;
}


/* Buttons im Formular */

.accessible-form button[type="submit"],
.accessible-form button[type="reset"] {
    padding: 12px 25px;
    font-size: 1.1em;
    margin-top: 20px;
}


/* Footer */

.site-footer {
    background-color: var(--c-high-contrast-bg);
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: var(--small-text-size);
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}


/* Responsive Design Anpassungen */

@media (max-width: 1000px) {
    .text-image-layout {
        flex-direction: column;
        gap: 20px;
    }
    .text-image-layout .image-column,
    .text-image-layout .text-column {
        flex: auto;
        width: 100%;
        min-width: unset;
        order: unset;
    }
    .text-image-layout.reverse-columns .image-column,
    .text-image-layout.reverse-columns .text-column {
        order: unset;
    }
    /* Wichtig: Hamburger-Menü-Button auf Mobil anzeigen und richtig positionieren! */
    .nav-toggle {
        display: block;
        /* Zeigt den Hamburger-Button auf Mobil an */
        position: relative;
        /* Wichtig für die Positionierung im Header-Inner */
        z-index: 10;
        /* Stellt sicher, dass er über dem Logo liegt, falls Überlappung */
        margin-left: auto;
        /* Schiebt ihn nach rechts im Flex-Container */
        color: var(--primary-blue);
        /* Damit er in beiden Modi sichtbar ist */
    }
    /* Anpassungen für mobile Hauptnavigation */
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        -position: static;
        /* Kein Sticky Header auf Mobil */
        box-shadow: none;
    }
    .header-inner {
        flex-direction: row;
        /* Logo und Hamburger-Button nebeneinander */
        justify-content: space-between;
        /* Logo links, Burger rechts */
        width: 100%;
        margin-bottom: 0;
        flex-wrap: nowrap;
    }
    .logo {
        flex: 1 0 20%;
        margin-bottom: 0;
        width: 20%;
    }
    .main-navigation {
        width: 100%;
        margin-top: 0;
        /* Kein zusätzlicher Top-Margin */
    }
    .main-navigation ul {
        background-color: var(--section-bg);
        /* Menühintergrund passt sich an Kontrast an */
        position: absolute;
        /* Absolut positioniert unter dem Header */
        top: var(--header-height);
        top: 92px;
        /* Korrekter Abstand unter dem Header */
        left: 0;
        width: 100%;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        /* Menü ist standardmässig versteckt auf Mobil */
        z-index: 999;
        flex-direction: column;
        /* Vertikal gestapelt */
    }
    .main-navigation ul.is-open {
        display: flex;
        /* Menü ist sichtbar, wenn Klasse gesetzt */
    }
    .main-navigation li {
        border-bottom: 1px solid var(--border-color);
    }
    .main-navigation li:last-child {
        border-bottom: none;
    }
    .main-navigation a {
        padding: 15px 20px;
    }
    /* Sidebar-Anpassungen für kleinere Bildschirme */
    .accessibility-sidebar {
        width: 100%;
        /* Auf kleinen Bildschirmen nimmt Sidebar volle Breite ein */
        right: -100%;
        /* Versteckt sich über die volle Breite */
        padding: 15px;
    }
    body.sidebar-open .accessibility-sidebar {
        right: 0;
        /* Schiebt sich komplett herein */
    }
    .open-sidebar-btn {
        top: 120px;
        /* Etwas tiefer auf Mobil, um nicht mit Header zu kollidieren */
        right: -0px;
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.7em;
    }
    h3 {
        font-size: 1.5em;
    }
    .content-section {
        padding: 20px;
    }
    .accessible-form fieldset {
        padding: 15px;
    }
    .accessibility-sidebar .sidebar-content button {
        padding: 10px 15px;
        font-size: var(--small-text-size);
    }
	
}

@media (max-width: 480px) {
    html {
        font-size: 18px;
    }
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }
    .site-header {
        padding: 10px 15px;
    }
    .hero-section {
        padding: 30px 15px;
    }
    .content-section {
        padding: 15px;
    }
}


/* Überschriften-Styles */

.high-contrast h1,
.high-contrast .section-header h2,
body.high-contrast h3,
.high-contrast .section-header h4,
.high-contrast h5,
.high-contrast .section-header h6 {
    color: var(--primary-blue);
    color: var(--c-weiss);
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-family: 'Montserrat Black', 'Arial Black', sans-serif;
    -font-size: clamp(2rem, 10vw, 4rem);
}

body.high-contrast h3 {
    font-size: var(--heading3-size);
    font-size: clamp(1.5rem, 10vw, 2rem);
}

.high-contrast .hero-image {
    --border-color: #555;
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
}

.high-contrast footer {
    --border-color: #555;
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
}

#topBtn.show {
    display: block;
    opacity: 1;
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--c-gelb);
    color: var(--c-schwarz);
    cursor: pointer;
    padding: 15px;
    width: 55px;
    border-radius: 150%;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.content-section ul {
    margin: 0 0 20px 25px;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px !important;
    -box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* Extra Apassungen */
 		button img {
            color: #fff;
            background-color: #fff;
            width: 100px;
        }
        
      	.hero-content {
            background-color: var(--c-weiss);
            -padding: 2rem 2rem 1.5rem 2rem;
            border-radius: 15px;
            -box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .hero-innen {
            overflow: hidden;
        }
        
        .hero-content img {
            border-radius: 15px;
            -height: 100%;
            -width: 100%;
            object-fit: cover;
            margin: 3rem 3rem 3rem 3rem;
			margin: clamp(1rem, 2.5vw, 3rem);
            display: block;
            height: 550px;
            width: calc(100% - clamp(2rem, 5vw, 25rem));
        }
        
        .no-bg {
            background-color: transparent !important;
        }
        
        .text-column {
            column-count: 2;
            column-gap: 2em;
            column-width: 270px;
            column-rule-style: dotted;
            column-rule-width: 1px;
            column-rule-color: silver;
        }

		#gesuche .box1 {
			padding: 0.5rem;
			background-color: #f7f7f7;
			border-radius: 8px;
			text-align: center;
		}
		
		#gesuche strong {
			margin: 0.5rem;
			-background-color: #dedede;
			border-radius: 8px;
		}

		img.gruppen-img {
			 width: 100% !important;
			-padding: 0 0 50px 0;
         }

		.section-footer {
			display: inline; /* the default for span */
		}
