:root{
    --bgc: #F8F8F8;
    --mtc: #1b1c1e;
    --spd-rot: #e3000f;
    --spd-dunkel: #bc0010; 
    --navbg: #ffffff;
    --thtc: #808080;
    --trennlinie: #d3d3d3;
    
    --vorhang-shad: rgba(70, 70, 70, 0.5);
}


html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-size: clamp(12px, 1.618vw, 18px);
}


body {
    background-color: var(--bgc);
    box-sizing: border-box;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;


    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

body::-webkit-scrollbar {
    display: none;
}

hr{
    width: 100%;
    color: var(--trennlinie);
    margin-top: 20px;
    margin-bottom: 20px;
}

.gestrichelte-line{
    margin-top: -30px;
    border: none;
    border-top: dashed;
    border-color: var(--spd-rot);
}



.qbody {
    max-width: var(--max-w);
    margin: 0 auto;

}


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

h1{
    font-size: 1.618rem;
    background-color: #fff;
    padding: 5px 0 3px 14px;
    width: 100%;
    position: sticky;
    top: 0vh;
    margin: 13px 0px;
    z-index: 7777;
    font-weight: 400;
    border-left: 3px solid var(--spd-rot);
}

h2{
    font-size: 1.3141rem;
    color: var(--mtc);
}

section{
    margin-bottom: 5vh;
    padding-top: 215px;
}



.name-tag {
    width: 101vw;
    position: fixed;
    left: -1vw;
    top: 0vh;
    height: 11vh;
    background-color: var(--bgc);
    z-index: 7778;
    
    display: flex;
    align-items: center;
    justify-content: flex-end;
    
    padding: 0 19px 0 0;
    text-transform: uppercase;
    text-align: right;
    font-size: 1.618rem;
    transition: height 0.5s cubic-bezier(0.25, 0.8, 0.5, 1);
}

#dynamicText {
    transition: font-size 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    display: flex;
    flex-direction: column; /* Änderung zu column, um Elemente vertikal zu stapeln */
    align-items: flex-end; /* Ausrichtung am rechten Rand */
}

.name-tag img {
    height: 7vh;
    align-self: center; /* Zentriert das Bild vertikal im flex Container */
    margin: 0 0px 0 19px; /* Aktualisierte Margin, um es vor dem Text zu positionieren */
}

#wahlText{
    margin-bottom: -13px;
    font-weight: 100;
}


/* NAVBAR */

.main-grid {
        display: grid;
        grid-template-columns: auto; /* Eine Spalte für die gesamte Breite */
        grid-template-rows: 11vh auto; /* Anpassung für zwei Zeilen: Inhalt und Navbar */
        margin: 0 7px 0 7px;
        gap: 27px;
    }

.navbar-grid {
        grid-column: 1; /* Navbar nimmt die ganze Breite ein */
        grid-row: 1; /* Navbar wird in die zweite Zeile verschoben */
        display: flex;
        justify-content: center;
        align-items: flex-end;
        
    }

.content{
    margin-top: -27px;
}



.nav-icons li {
    text-align: center;
}


/* Änderungen ab hier */


  .ortsverein ul {
    list-style-type: none;
    margin-left: -20px;    /*  Bewegen der Texte auf höhe der anderen Texte */

  }

  .ortsverein ul li::before {
    content: "\1405"; /* Unicode-Pfeil-Repräsentation */
    font-size: 1em;
    font-weight: bold;
    color: var(--spd-rot);
    padding-right: 6px;     /*  Abstand zwischen Punkt und text */
    margin-left: -20px;    
  }


#navbarbot {
    position: fixed;
    height: 63px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #FFFFFF;
    box-shadow: 0px -6px 4px rgba(0, 0, 0, 0.25);
    border-radius: 23px 23px 0px 0px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
    font-size: 1.3141rem;
}

.navlinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 4%;
    width: 100%;
}

.navlinks a {
    display: inline-block;
    margin-left: 0;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
}

.link-title {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.618rem;
    color: #666;
    text-align: center;
    margin-top: -1rem;
    z-index: 998;
    position: relative;
}

/*
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}
*/

.fa-stack.wahl {
    animation: bounce 2s infinite;
}

.fa-stack {
    margin-bottom: -3px;
}

#logoklein {
    position: absolute;
    width: 111px;
    height: 68px;
    left: 7px;
    top: 19px;
    z-index: 699;

    background: #E3000F;
    border-radius: 0 50%;
}

.textlogohach {
    font-family: 'Open Sans', sans-serif;
    font-style: bold;
    font-weight: 600;
    font-size: 13px;

    color: #ffffff;
    text-align: start;
}

.textlogos {
    font-family: 'Open Sans', sans-serif;
    font-style: bold;
    font-weight: 800;
    font-size: 60px;

    color: #ffffff;
    text-align: end;
    line-height: 44px;

}



#bildroterlowe {
    float: right;
    height: 231px;
    width: auto;
    align-items: flex-end;
    position: absolute;
    right: 11px;
    top: 11px;

}






#bgteich {
    height: auto;
    width: 100%;
    overflow-y: hidden;
    display: block;

    z-index: 0;
}


#register-modal {
    display: block;
    position: fixed;
    left: 0;
    bottom: -250px;
    /* Startposition unten */
    width: 100%;
    height: 260px;
    background-color: #fff;
    z-index: 9000;
    transition: bottom 0.7s ease-out;
    /* Übergangseffekt */
    border-radius: 23px 23px 0 0;
}

#register-modal.show {
    bottom: 0;
    /* Endposition oben */
    display: block;
}

#register-modal-content {
    position: absolute;
    left: 50%;
    top: 33%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
    background-color: #fff;
    text-align: left;
    border-radius: 23px 23px 0 0;
}

#register-modal-content a {
    display: block;
    margin-bottom: 10px;
}




/* SVG */


.bgteich {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
}

#band-svg,
#band-svg2 {
    width: 100%;
    position: absolute;
    overflow: visible;
    min-height: 100vh;
    max-width: 769px;
}

#band-svg {
    top: 0;
    z-index: -3;
    left: 0;
}

#band-svg2 {
    bottom: calc(100%/-3.35);
    transform: rotate(180deg);
    z-index: -3;
    right: 0;
}


.auswahlueberunshandy{
    position: relative;
    height: 105px;
    left: 13px;
    right: 13px;
    top: 100px;
    width: calc(100% - 26px);
    z-index: 9999;
    background: #FFFFFF;
    box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.25);
    border-radius: 23px;
    display: block;
}

.wrapper-auswahl {
  --font-color-dark: #000;
  --font-color-light: #FFF;
  --bg-color: #fff;
  --main-color: #BC0000;
  position: relative;
  width: 92%;
  height: 77px;
    margin: 14px 4% 14px 4%;
  background-color: var(--bg-color);
  border-radius: 22px;

    
  box-shadow: inset 2px 5px 10px rgba(0,0,0,0.3);
  transition: 300ms ease-in-out;
    
  display: flex;
  flex-direction: row;
    padding: 5px 9px 7px 9px;
}

.option {
  width: 50%;
  height: 100%;
  position: relative;
  top: 2px;
  left: 0px;
    bottom: 2px;
    right: 2px;
    background: transparent;
}

.input {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  appearance: none;
  cursor: pointer;
}

.btn {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.span {
  color: var(--font-color-dark);
    font-size: 14px;
    text-align: center;
}

.input:checked + .btn {
  background-color: var(--main-color);
}

.input:checked + .btn .span {
  color: var(--font-color-light);

}

.stadtrat{
    display: none;
}







/*
----- Datenbank ----------------------------- */

.output-group {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    margin-top: 42px;
}

.output-ausgabe {
    background-color: var(--bgc);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 9%);

    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: auto 70%;
    grid-template-rows: auto;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0 0.3px 0.3px 0.3px;
}

.output-zitat{
    grid-column: 1 / span 2;
    grid-row: 1 ;
    padding: 5px;
    text-align: justify;
    font-style: italic;
}



.zitat{
        background-color: var(--bgc);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 9%);

    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: auto 70%;
    grid-template-rows: auto;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0 0.3px 0.3px 0.3px;
margin-bottom: 13px;

}

.zitat:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 20px solid transparent;
  border-right: 20px solid var(--bgc);
  border-top: 15px solid transparent;
  border-bottom: 15px solid var(--bgc);
  right: -23px;
  top: -8vh;
}

#a37{
    display: none;
}
#a38{
    display: none;
}


.output-ausgabe img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    object-position: top;
    border-radius: 14px 23px 0 14px;
    
    grid-column: 1;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0.3px 0.3px 0 0;
}

.output-text {
    padding: 0 1rem 1rem 1rem;
    line-height: 161%;
    
    grid-column: 2;
}

.output-ausgabe:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.beruf-output {
    font-size: 1rem;

}

.ort-output {
    font-size: 0.809rem;
    opacity: 0.618;
}

.alter-output {
    font-size: 1rem;
    display: inline;
}

.name-alter-container {
    display: block;
    width: calc(100% + 0.618rem);
    align-items: baseline;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-output {
    font-size: 1.618rem;
    font-weight: 600;
    display: inline;
}


.kommaincontainer {
    font-size: 1.618rem;
    font-weight: 300;
    margin-right: 0.618vw
}


.lesezeichen {
    position: fixed;
    background-color: var(--spd-rot);
    height: 42px;
    right: 0;
    z-index: 701;
    color: #fff;
    font-size: 1.3141rem;
    display: flex;
    flex-direction: column;
    text-align: start;
    justify-content: center;
    padding-left: 10px;
    opacity: 0;
}


.kandidaten-filter {
    bottom: 18vh;
  width: 54px;
}

.lesehilfe {
    bottom: 12vh;
  width: 50px;
}

.lesehilfe a i {
    text-decoration: none;
    color: #fff;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        /* Starte außerhalb des rechten Bildschirmrands */
        opacity: 0;
        /* Optional: Starte unsichtbar */
    }

    100% {
        transform: translateX(0);
        /* Bewege zur Ursprungsposition */
        opacity: 1;
        /* Endet voll sichtbar */
    }
}

.lesezeichen {
    animation: slideInFromRight 0.5s ease-out 0.3s forwards;
}


#anker-lesehilfe:target {
    scroll-margin-top: 250px;
    /* Stellt den gewünschten Abstand von der oberen Kante ein */
}

.vorhang-lesehilfe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(00, 00, 00, 0.618);
    z-index: 700;
    display: none;
}

#commentary-overlay {
    position: absolute;
    display: block;
    width: 30%;
    aspect-ratio: 1 / 0.9;
}

.commentary-text {
    color: #fff;
    position: inherit;
    font-family: "Caveat", cursive;
    font-size: 1.314rem;
}

.commentary-pfeil {
    position: inherit;
    content: url(img/lesehilfe.png);
    height: 23px;
    aspect-ratio: auto;
}


#p-bild {
    top: -33px;
  left: 40%;
  height: 33px;
  transform: rotate(270deg);

}

#p-ort {
    top: -0.618rem;
  right: -64%;
  -moz-transform: rotate(200deg) scaleX(-1);
  -o-transform: rotate(200deg) scaleX(-1);
  -webkit-transform: rotate(200deg) scaleX(-1);
  transform: rotate(200deg) scaleX(-1);
  -ms-filter: "FlipH";
  filter: FlipH;
}

#p-name {
    top: 1.7rem;
  right: 0.618rem;
  height: 33px;
  -moz-transform: rotate(15deg) scaleX(-1);
  -o-transform: rotate(15deg) scaleX(-1);
  -webkit-transform: rotate(15deg) scaleX(-1);
  transform: rotate(15deg) scaleX(-1);
  -ms-filter: "FlipH";
  filter: FlipH;

}

#p-beruf {
    top: 5.5rem;
  right: 0;
  transform: rotate(90deg);

}

#p-alt {
    top: 4rem;
  right: -160%;
  transform: rotate(23deg);
  position: absolute;
}

#p-filter {
    bottom: 19vh;
  right: 60px;
    transform: rotate(150deg);
    height: 33px;
}

#c-text-bild {
    top: -45px;
  left: 70%;
  font-size: 1.618rem;
}

#c-text-ort {
    top: -1.3rem;
  right: -108%;
}

#c-text-name {
    top: 3.5rem;
  right: 40%;
  font-size: 1.618rem;
}

#c-text-beruf {
    top: 6.5rem;
  right: 2.5rem;
}

#c-text-alt {
    top: 6.3rem;
  right: -165%;
}

#c-text-filter {
    bottom: calc(19vh + 14px);
  right: 102px;
    font-size: 1.618rem;
}




/* Hier Änderung anfang */

.Thema-main {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, auto);
    align-content: center;

    background-color: var(--bgc);
    border-radius: 17px;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 9%);
    font-size: 17px;


    padding: 10px;

}


.Thema-main img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;

}

.Thema-Überschirft3
{
    width: 100vw;
    margin-left: -13px;
}
.bild
{

grid-column: 1;
grid-row:1 ;
}
.text{
grid-column: 1;
grid-row:2 ;
}

.platzhalter{

background-color: grey;
width: 100%;
height: 30vh ;

}

button
{
      background-color: #EB272A;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 33px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 5px #212121;
  margin-bottom: 25px;
}


.extra-content{
    display: none;
}


.platzhalter2{
    background-color: grey;


    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    object-position: top;
    border-radius: 14px 23px 0 14px;
    
    grid-column: 1;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0.3px 0.3px 0 0;

}

.Übersicht-text{
    padding-left: 10px;
    padding-top: 15px;

}




.output-ausgabe2 {
    background-color: var(--bgc);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 9%);

    width: 90%;
    height: auto;
    display: grid;
    grid-template-columns: auto 70%;
    grid-template-rows: auto;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0 0.3px 0.3px 0.3px;
}

.output-ausgabe2 img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    object-position: top;
    border-radius: 14px 23px 0 14px;
    
    grid-column: 1;
    
    border-style: solid;
border-color: var(--spd-rot);
border-width: 0.3px 0.3px 0 0;
}



.output-ausgabe2:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}


.leer{
    height: 8vh;
}


.Thema-main2 {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(6, auto);
    align-content: center;
    background-color: var(--bgco);
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 9%);
    font-size: 17px;
    padding: 0 13px 23px 13px;
    margin-top: 69px;
    justify-content: center;

}

.Thema-main2 .link {
    background-color: #EB272A;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 33px;
    font-size: 1.618rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto 23px auto;
    box-shadow: 0 0 5px #212121;
    width: 90%;
    text-align: center;
}

.Thema-main2 .link-titel {
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    text-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 23px 0 13px 0;
}

.link-titel hr {
    color: var(--spd-dunkel);
    width: 100%;
    margin: 0 13px;
    position: relative;
    height: 2px;
}

.Grußwortboxhandy {
       position: sticky;
        width: 100vw;
        top: 0vh;
        height: 100vh;
        z-index: 99999999;
        display: none;
        background-image: url(img/backgroundhandy.jpeg);
        background-size: 100vw 100vh;

}


.Grußwortboxhandy-content {
    width: 80vw;
    height: auto;
    max-height: 80vh;
    overflow-y: scroll !important;
   text-align: justify;     
  background-color: #fff;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: #212121;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.084), 0px 2px 3px rgba(0, 0, 0, 0.168);   
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

.Grußwortboxhandy img {
    max-width: 60%;
    max-height: 60vh; /* Begrenze die Höhe, um Bildschirmüberschreitung zu verhindern */
    align-self: center;
}

.sprechblase {
width: calc(100% - 34px);
  margin: 9px 17px 50px 17px;
  background: #efefef;
    filter: drop-shadow(3px 3px 11px rgba(0, 0, 0, 0.3));
  padding: 20px;
  border-radius: 5px;

  color: #1b1c1e;
  position: relative;
  text-align: left;
}
#Grußwortopenhandy{
    color: var(--spd-rot);
}




.rounded-image {
border-radius: 5px;
  overflow: visible;
  width: 10vh;
  height: 10vh;
  margin-left: 57vw;
  margin-top: -10vh;
  background-image: url('img/Conrad.jpeg');
  background-size: 112%;
  background-position: center;
  object-fit: cover;
  filter: drop-shadow(7px 7px 17px rgba(0, 0, 0, 0.3));
        }

.no-scroll {
  overflow: hidden !important;
}



.wir{
    display: none;
}


.wir ul {
    list-style-type: none;
    margin-left: -20px;    /*  Bewegen der Texte auf höhe der anderen Texte */

  }

  .wir ul li::before {
    content: "\1405"; /* Unicode-Pfeil-Repräsentation */
    font-size: 1em;
    font-weight: bold;
    color: var(--spd-rot);
    padding-right: 6px;     /*  Abstand zwischen Punkt und text */
    margin-left: -25px;    
  }

/*Hier Änderung Ende*/


/* muss ganz unten bleiben
-----------------------------------------------
 Allgemein */

*{
    box-sizing: border-box;
    /* border: 1px dashed aqua; */
}

.nop{
    display: none;
}