:root {
        --main-text-color: #555;
        --accent: #f7a940;
        --blubbschrift: #444;
    }
*, *:before, *:after  { box-sizing: border-box;}
html { 
    height: 100%; 
    scroll-behavior: smooth;
}
body {
    background-color: #fff; 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 120%;
    font-size: clamp(100%, 5vw, 120%); 
    max-width: 100vw; 
    word-wrap: break-word;
    margin: 0;
    padding: 0; 
    overflow-y: scroll;
}

.header { grid-area: header; }
.content { grid-area: content; }
.footer { grid-area: footer;}
.wrapper {
    overflow-x: auto;
    display: grid;
    grid-template-areas:
        "header"
        "content"
        "footer";
    color: var(--main-text-color);
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
}
.header {
    height: auto;
    min-height: 200px;
}
.header, main, .footer {
    width: 100%;
    max-width: 1068px;
}
.header h1 {
    color: var(--blubbschrift);
    width: calc(100% - 20vw);
    max-width: 480px; 
    margin-left: 5vw; 
    overflow: auto;
    position: absolute; 
    top: 100px; 
    z-index: 2; /* margin-top: -30%; */ 
    word-break: normal;
}
/* .header a {
    padding: 0;
    background-color: transparent;
} */
.blubb {
    width: 250px; /* width:350px; */ 
    max-width: 480px; 
    height: 300px; 
    border: 1px solid transparent; 
    position: relative;
    z-index: 1;
}
.blubb img {
    object-fit: contain; 
    width: 100%; 
    height: 100%;
}

.footer {
    width: 100%;
    background-color: #e0e0e0;
    color: var(--main-text-color);
    font-size: 100%;
    display: grid;
    align-items: center;
    height: auto;
}
.footer ul {
    list-style-type: none;
    padding-left: 0;
    margin: 3rem auto 1.5rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer ul li {
    padding: .5rem;
}
.copyright {
    text-align: center;
    max-width: inherit;
    font-size: 90%;
}
._impressum .footer, ._datenschutz .footer {
    margin-top: 3rem;
}
/* === links === 
    ===========*/
a:link:not(.menu a, .kummerkasten, .glightbox, nav a),
a:visited:not(.menu a, .kummerkasten, .glightbox, nav a) {
    color: var(--main-text-color);
    padding: 3px 5px;
    /* text-decoration: underline 2px solid var(--accent); */
    text-decoration: none;
    box-shadow: inset 0 -3px 0 -1px var(--accent);
}
a:focus:not(.menu a:focus, nav a), a:hover, a:active {
    color: var(--accent) !important;
    background-color: #000;
}
a:focus {
	box-shadow: inset 0 -2px 0 0 var(--accent);
	border-bottom: 1px solid var(--accent);
}
a.index:link, a.index:visited, a.index:hover, a.index:focus, a.index:active {
    text-decoration: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}
.clicky-menu li a:link {
    text-decoration: none;
}
a.kontakt:link, a.kontakt:visited, a.kontakt:hover {
    color: var(--main-text-color);
    text-decoration: underline;
    text-decoration-color: var(--accent);
}
.kontakt:hover {
    color: var(--accent) !important;
}    

/* === navigation == 
    ===============*/
.menu {
  display: none;
  align-items: flex-start;
  justify-content: center;
  width: 30%;
  font-weight: bold;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  word-break: inherit;
}
/* === clicky-menu ===
   =================== */
       /**
 * Initial state, hidden off screen
 */
nav {
    /* font-size: 1.4rem; */
    font-size: clamp(1.2rem, 4vw, 1.4rem);
 }
.clicky-menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  /*[1]*/
}

/**
 * No JS fallback
 *
 * Triggers menus on hover rather than click. Supports keyboard navigation in modern browsers.
 */
.clicky-menu.no-js li:hover > ul {
  visibility: visible;
}

.clicky-menu.no-js li:focus-within > ul {
  /*[2]*/
  visibility: visible;
}

/**
 * Open/Close Menu Behavior with JS
 */
.clicky-menu ul[aria-hidden=false] {
  visibility: visible;
}

/* Prevent offscreen-submenus */
.clicky-menu .sub-menu--right {
  left: auto !important;
  right: 0 !important;
}

/**
 * Footnotes
 *
 * [1] Using `visibility` instead of `display` allows for easier transitions and animation of submenus
 * [2] Must be a separate ruleset so that hover works in non-modern browsers
 */

 /* Hidden SVG used for down arrows */
svg[hidden] {
  display: none;
  position: absolute;
}

.site-navigation {
  width: 86%;
  max-width: 782px;
  margin: 0 auto 300px;
  margin-bottom: 100px;
}

.clicky-menu {
  justify-content: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* General Link & Button Styles */
.clicky-menu a,
.clicky-menu button {
    margin: .25em;
    padding: 4px;
    background: transparent;
    color: var(--main-text-color);
    font-weight: bold;
    text-decoration: none;
    font-family: inherit;
    border-radius: 3px;
}

.clicky-menu a:hover,
.clicky-menu button:hover {
    background: #fff;
    background-color: var(--main-text-color);
    color: #fff;
}

.clicky-menu a:focus,
.clicky-menu button:focus {
    outline: 0.125em dotted var(--main-text-color);
    outline-offset: -0.125em;
    background-color: var(--main-text-color);
    color: #fff;
}

/* Top Level Items */
.clicky-menu > li {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    justify-content: stretch;
    flex-wrap: wrap;
}

.clicky-menu > li > a,
.clicky-menu > li > button {
    flex: 1 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 0;
    font-size: inherit;
    /* line-height: 1.5; */
    cursor: pointer;
}
/* Icon */
.clicky-menu svg {
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
}

.clicky-menu [aria-expanded=true] svg {
    transform: scaleY(-1);
}

/* Submenu Styles */
.clicky-menu ul {
    min-width: 100%;
    width: 12em;
    margin-top: 0.25em;
    padding: 0;
    list-style: none;
    border-radius: 3px;
}
/* Responsive Submenu Behavior */
.clicky-menu ul[aria-hidden=false] {
    position: static;
    width: 100%;
    flex: 0 0 auto;
    padding-left: 1em;
    }
/* Submenu Links */
.clicky-menu ul a {
    display: block;
    padding-top: 0.375em;
    padding-bottom: 0.375em;
}
nav a:link, 
nav a:visited {
    color: var(--main-text-color);
    text-decoration: none;
    padding: 3px 5px;
}
nav a:hover, 
nav a:active, 
nav a:focus {
    color: #fff;
}
use {
    fill: #fff;
}
#site-navigation a:hover, 
#site-navigation a:active, 
#site-navigation a:focus {
    color: #fff !important;
}
nav button {
    background: none;
   /*  color: inherit; */
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    font-size: 3rem;
    color: var(--main-text-color);
    font-weight: bold;
    position: relative;
    float: right;
}
nav .main-menu {
    padding-top: 4rem;
}
/* .inhalt {
    display: none;
} */
[hidden] {
    display: none;
}

[aria-current="page"] {
    /* border-bottom: 3px solid #f7a940; */
    color: var(--accent);
    background-color: black;
}
.login-head {
    margin-left: 1rem;
    stroke: black;
   /*  stroke-width: 5; */
}
.btn {
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    border: 2px solid #f7a940;
    color: black;
    background-color: #f7a940;
}
.btn:hover {
    color: #f7a940;
    background-color: black;
    transition: ease-in-out .3s;
    border-color: black;
}
h1 {
    font-size: 2.1rem;
}
h2 {
    font-size: 1.6rem;
}
.sitetitle {
    font-size: 2rem;
   /*  margin-left: 1.5rem; */
   /* margin-left: auto;
   margin-right: auto; */
}
a {
    word-break: break-all;
}

/* == cards ==*/
.fraktion {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.fraktion:first-of-type {
  margin-top: 0;
}
img {
  max-width: 100%;
}
._about .content p:first-of-type {
    margin-bottom: 2.5rem;
}
.inhalt {
    list-style-type: disc;
    padding-left: 1rem;
    line-height: 1.5;
}
.card {
    margin-bottom: 2em;
    border: 2px solid #f7a940;
    padding: 10px;
    min-height: 320px;
    display: grid;
    grid-column-gap: 20px;
    grid-template-areas:
        "title"
        "img"
        "bd";
    hyphens: auto;
}
.card > h2 {
  margin: 0 0 1em 0;
}
.card > .title { grid-area: title; }
.card > .img { grid-area: img; }
.card > .person { grid-area: bd; }
.card > * {margin: 0;}
.card .img {
    width: auto;
    margin: 0;
}
.card:after {
    content: none;
}

.person p {
    max-width: 70ch;
}
.person li>img {
    margin-bottom: -3px;
}
.brmitglieder, .pvmitglieder {
    border-left: 1rem solid var(--accent);
    padding-left: 1rem;
}
/* == aufklappdingens == */
h3 button, h4 button {  
  all: inherit;    
}
button span, .ohneklappe {
    max-width: 45ch;
    width: calc(100% - 35px);
}
[aria-expanded="true"] .vert {
  display: none;
}
h3 button, h4 button {
      all: inherit;
      border: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      padding: 0.5em 0;
      cursor: pointer;
}
h4 button {
    margin-left: 0;
    justify-content: flex-start;
}
h4 button::before {
    content: '\00B7';
     margin-right: .5rem;
     font-size: 3em;
}
.klappe:not(:first-of-type) {
    border-top: 1px solid lightgrey;
}
.klappentext + h2 {
    margin-top: 2em;
}
.unterklappentext {
    margin-left: 1.8rem;
}
h3 button:focus svg, h4 button:focus svg {  
  outline: 2px solid;
}
button svg {
      height: 1rem;
      margin-left: .5em;
      margin-right: 5px;
    }
[aria-expanded] rect {
  fill: currentColor;
}
section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    border-top: 2px solid var(--main-text-color);
    hyphens: auto;
}
._about section:first-of-type {
    border-top: 2px solid transparent;
}
section:not(a) {
    hyphens: auto;
}
.kummer h2 {
    width: 100%;
}
.kummerkasten {
   margin: 5rem auto;
   width: auto;
   display: flex;
   justify-content: center;
   max-width: 300px;
}
.betriebsraete li {
margin-bottom: .5rem;
}
.person p, 
.klappentext p, 
.unterklappentext p {
    line-height: 1.4;
}
.person > ul {
    padding-left: 20px;
}
.sr-only {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}
._galerie .meldung {
    margin-bottom: 5rem;
}
.expander {
    min-height: 400px;
}

@media only screen and (min-width: 600px) {
    .blubb {
        width: 350px;
    }
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .card {
        grid-template-columns: 200px 3fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
        "img title"
        "img bd";
    }
    .card > h2 {
        margin: 0;
    }
    .unterklappe {
        margin-left: 2.5rem;
    }
    .unterklappentext {
        margin-left: 4.25rem;
    } 
}
@media only screen and (min-width: 800px) {
    .wrapper {
        max-width: 1100px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sitetitle {
        margin-left: inherit;
       /*  margin-right: inherit; */
    }
    
    .klappentext, p, li, section ul {
        max-width: 80ch;
    }
    .footer ul {
        flex-direction: row;
    }
    ._galerie .footer {
        max-height: 166px !important;
    }
    
}
button span, .ohneklappe {
    max-width: 50ch;
}
@media only screen and (min-width: 900px) {
    .blubb {
        width: 45vw;
    }
}
@media only screen and (min-width: 1024px) {
    .blubb {
        width: 35vw;
    }
}
@media only screen and (min-width: 1250px) {
    .blubb {
        width: 30vw;
    }
    
    button span, .ohneklappe {
        max-width: 70ch;
    }
}
      