:root{
    --primary: #909090;                         // #7952b3;
    --secondary:#707070;                        // #61428f;
    --border-color: #dee2e6;
    --max-width:85vw;                         // 1140px;
/*    --max-width:1100px;                         // 1140px;*/
    --form-min-width:300px;
    --border-radius:0.25rem;
    --button-text: #eee;                        // #fff;
    --button-text-disabled: #a0a0a0;            // #fff;
    --button-bg-disabled: #b8b8b8;              // #fff;
    --button-focus:0 0 0 3px rgba(121, 82, 179, 0.25);
    --my-button-text: #dddddd;
    --my-button-bg: #929292;
    --my-button-text-disabled: #777777;
    --my-button-bg-disabled: #888888;
    --my-button-focus:0 0 0 3px rgba(121, 82, 179, 0.25);
    --link-color:#7952b3;                       // #444   // #7952b3;
    --text-main:#333;                           // #363636;
    --text-bright:#222;                         // #000;
    --body-bg-color: #888;                      // #f9fafb;
    --footer-bg-color:#888;                     // #fff;
    --form-bg-color:#aaa;                       // #fff;
    --input-text-color:#444;                    // #000;
    --input-text-disabled:#404040;              // #7a7a7a;
    --input-placeholder-color:#c2c2c2;
    --input-border-color:#ccc;
    --input-background-color: #ffe;             // #fff;
    --input-disabled: #bba;                     // #f5f5f5;
    --input-focus:0 0 0 3px rgba(121, 82, 179, 0.25);
    --error:#dc3545;
    --success:#198754;
    --warning:#664d03;
    --info:#0c5460;
    --alert-error-bg:#f8d7da;
    --alert-warning-bg:#fff3cd;
    --alert-success-bg:#d4edda;
    --alert-info-bg:#d1ecf1
    --header-lvl-one: 0 -5px 5px rgba(0, 0, 0, 0.8);
    --header-lvl-two: 0 -3px 3px rgba(0, 0, 0, 0.6);
    --header-lvl-three: 0px -2px 2px rgba(0, 0, 0, 0.5);
    --nav-menu-background-color: rgba(255, 255, 255, 0.85);
}
*,::after,::before{
    margin:0;
    padding:0;
    box-sizing:border-box
}
body{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;
    font-size:1rem;
    line-height:1.25;
    background-color:var(--body-bg-color);
    min-height:100vh;
    display:flex;
    flex-direction:column;
    color:var(--text-main)
}
body>header{
    max-width:100%;
    border-bottom:1px solid var(--border-color);
    display:flex;
    justify-content:center;
    padding:0;
    background-color:#fff
}
body>header>nav{
    max-width:var(--max-width);
    flex:1
}
body>footer{
    background-color:var(--footer-bg-color);
    border-top:1px solid var(--border-color);
    width:100%;
    margin-top:auto
}
body>footer>p{
    text-align:center;
    max-width:var(--max-width);
    padding:1rem 0;
    margin:0 auto
}
body>main{
    max-width:var(--max-width);
    margin:1rem auto;
    flex:1
}
main>form{
    margin:1rem auto;
    border:solid 1px var(--border-color);
    padding:1rem;
    border-radius:var(--border-radius);
    background-color:var(--form-bg-color)
}
body>header>nav>a{
    display:flex;
    justify-content:center;
    align-items:center
}
body>.Button{
    display:block;
    margin: 0 auto; 
    max-width: 250px; /* Begrenzung, damit er nicht zu breit wird */
}

nav{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center
}
@media (min-width:769px){
    nav{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center
    }
}
nav ul{
    list-style:none;
    width: 70vw;
    min-width: 350px;
/*    max-width: 700px;*/
    margin: 0;
    padding:0
}

nav ul li{
    display:inline-block;
    margin:0 .5rem;
    position:relative;
    text-align:left
}
nav li a{
    text-decoration:none;
    color:var(--text-main)
}
a{
    color:var(--link-color);
    text-decoration:none
}
a:hover{
    text-decoration:none
}
article img,section img{
    max-width:100%
}
hr{
    background-color:var(--input-border-color);
    border:none;
    height:1px;
    margin:1rem 0;
    width:100%
}
ol li,ul li{
    padding:.2rem 0;
    margin:0 2rem
}
p{
    margin:.75rem 0;
    padding:0
}
details{
    margin:1.3rem 0
}
details summary{
    font-weight:700;
    cursor:pointer
}
form{
    width:100vw - 1em;       /* 360px */
    min-width: var(--form-min-width)
}
form h1{
    padding:5px 0;
    font-size:1.4rem;
    font-weight:400;
    text-align:center;
    color:var(--text-bright);
    text-shadow:var(--header-lvl-one)
}
form i{
/*    margin-left:-30px;*/
/*    margin-left:-10px;*/
    cursor:pointer
}
form p{
    margin-bottom:.5rem
}
form>section{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    margin-bottom:1rem
}
form>footer{
    text-align:center;
    border-top:solid 1px var(--input-border-color);
    padding:.5rem 0;
    font-size:.8rem
}
form>div{
    margin-bottom:.75rem
}
input+small,label+small,textarea+small{
    color:var(--error)
}
button+small,label+small,textarea+small{
    color:var(--error)
}
label{
    display:inline-block;
    margin-bottom:5px;
    vertical-align:top;width:100%
}
input,select,textarea{
    background-color:var(--input-background-color);
    color:var(--input-text-color);
    border:1px solid var(--input-border-color);
    border-radius:var(--border-radius);
    display:inline-block;
    padding:.5rem .75rem;
    width:100%;font-family:
    inherit;
    font-size:1rem
}
input.Datum{
    width:7rem;
    padding:.5rem .5rem;
}

input::placeholder{
    color:var(--input-placeholder-color)
}
input:focus,select:focus,textarea:focus{
    outline:0;
    box-shadow:var(--input-focus)
}
input[disabled],textarea[disabled],select[disabled]{
    background-color:var(--input-disabled);
    border:solid 1px var(--input-border-color);
    box-shadow:none;
    color:var(--input-text-disabled);
    cursor:not-allowed
}
input.error,select.error,textarea.error{
    border-color:var(--error)
}
input.error:focus,select.error:focus,textarea.error:focus{
    box-shadow:0 0 0 .25rem rgb(220 53 69 / 25%)
}
input.success,select.success,textarea.success{
    border-color:var(--success)
}
input.success:focus,textarea.success:focus{
    box-shadow:0 0 0 .25rem rgb(25 135 84 / 25%)
}
a em,button{
    display:inline-block;background:var(--primary);
    color:var(--button-text);
    border:1px solid var(--primary);
    border-radius:var(--border-radius);
    font-size:1em;
    font-weight:400;
    text-align:center;
    padding:.5em .75em;
    min-width:5ch;
    user-select:none;
    font-style:normal;
    text-decoration:none;
    transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

a em,button:disabled{
    background-color:var(--button-bg-disabled);
    color:var(--button-text-disabled);
    border-color:var(--primary);
    cursor:not-allowed
}

a i:disabled:hover,button:disabled:hover{
    background:var(--button-bg-disabled);
    color:var(--button-text-disabled);
    border-color:var(--border-color);
    cursor:not-allowed
}


a i{
    display:inline-block;background:var(--primary);
    color:var(--button-text);
    border:1px solid var(--primary);
    border-radius:var(--border-radius);
    font-size:1em;
    font-weight:400;
    text-align:center;
    padding:.3em .3em;
    min-width:2em;
    user-select:none;
    font-style:normal;
    text-decoration:none;
    transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}


a em:hover,a i:hover,button:hover{
    background:var(--secondary);
    border-color:var(--border-color);
    cursor:pointer
}

a em:focus,a i:focus,button:focus{
    outline:0;color:var(--button-text);
    background-color:var(--secondary);
    border-color:var(--border-color);
    box-shadow:var(--button-focus)
}
/*a em,button[type=button]{*/
/*    background-color:#fff;*/
/*    color:var(--primary);*/
/*    border-color:var(--primary)*/
/*}*/
/*a em:hover,button[type=button]:hover{*/
/*    background:var(--secondary);*/
/*    color:var(--button-text);*/
/*    cursor:pointer*/
/*}*/
/*form>button{*/
/*    display:block;*/
/*    width:100%*/
}
form>.Button{
    display:block;
    width:100%
}
form>div>div>label{
    width:auto;
    cursor:pointer;
    display:inline-block;
    position:relative;
    border-radius:var(--border-radius)
}

form>div>p>label{
    display:block;
    margin-left:auto;
    margin-bottom:.75rem
}
label+label{
    margin-left:1rem
}
input[type=checkbox],input[type=radio]{
    vertical-align:baseline;
    width:auto
}
[hidden]{
    display:none
}
.alert{
    position:relative;
    padding:1rem 1rem;
    margin-bottom:1rem;
    border-radius:var(--border-radius)
}
.alert-error{
    color:var(--error);
    background-color:var(--alert-error-bg)
}
.alert-warning{
    color:var(--warning);
    background-color:var(--alert-warning-bg)
}
.alert-info{
    color:var(--info);
    background-color:var(--alert-info-bg)
}
.alert-success{
    color:var(--success);
    background-color:var(--alert-success-bg)
}
table{
    border-spacing:0;
    display:block;
    overflow-x:auto;
    text-align:left;
    width:100%
}
td,th{
    border-bottom:.1rem solid #e1e1e1;
/*    padding:1.2rem 1.5rem */
    padding:0.5rem 0.5rem
}
td:first-child,th:first-child{
    padding-left:0
}
td:last-child,th:last-child{
    padding-right:0
}
/*@media (max-width:50rem){*/
    table{
        display:table;
        overflow-x:initial
    }
/*}*/
.center{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center
}



/*ul {*/
/*    list-style-type: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    width: 360px;*/
/*    background-color: #f1f1f1;*/
/*}*/

ul.terms {
    list-style-type:square;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--body-bg-color);
}

li a {
  display: block;
  color: #000;
  padding: 8px 8px;
  text-decoration: none;
}

li a.active {
  background-color: #04AA6D;
  color: white;
}

li a:hover:not(.active) {
    transform: scale(1.05);
    background-color: #555;
  color: white;
}




.my-checkbox-wrapper input[type="checkbox"] {
  visibility: hidden;
    display: none;
}

.my-checkbox-wrapper input[type="radio"] {
  visibility: hidden;
    display: none;
}

.my-checkbox-wrapper .container {
  display: flex;
  position: relative;
/*  cursor: pointer;*/
  font-size: 16px;
  user-select: none;
}

.my-checkbox-wrapper .checkmark {
position: relative;
top: 0px;
left: 0px;
height: 1.3em;
width: 1.3em;
margin: 0.1em 0.4em;
background-color: #ccc;
border-radius: 100%;
background: #e8e8e8;
box-shadow: inset 3px -3px 5px #c5c5c5, /* #c5c5c5 */
            inset -3px 3px 5px #ffffff,
            0px -3px 5px rgba(0, 0, 0, 0.2), /* #c5c5c5 */
            0px -2px 3px rgba(0, 0, 0, 0.4),
            0px 3px 5px rgba(0, 0, 0, 0.1); /* #ffffff */
            
}

.my-checkbox-wrapper .container input:checked ~ .checkmark {
box-shadow: inset 3px -3px 5px #c5c5c5, /* #c5c5c5 */
            inset -3px 3px 5px #ffffff, /* #ffffff */
            0px -3px 5px rgba(0, 0, 0, 0.2), /* #c5c5c5 */
            0px -2px 3px rgba(0, 0, 0, 0.4),
            0px 3px 5px rgba(0, 0, 0, 0.1); /* #ffffff */
}

.my-checkbox-wrapper .container input:disabled ~ .checkmark {
background-color: var(--input-disabled);
cursor: not-allowed;
box-shadow: inset 3px -3px 5px #c5c5c5, /* #c5c5c5 */
            inset -3px 3px 5px #ddc, /* #ffffff */
            0px -3px 5px rgba(0, 0, 0, 0.2), /* #c5c5c5 */
            0px -2px 3px rgba(0, 0, 0, 0.4),
            0px 3px 5px rgba(0, 0, 0, 0.1); /* #ffffff */
}

.my-checkbox-wrapper .checkmark:after {
  content: "";
  position: absolute;
  opacity: 0;
}

.my-checkbox-wrapper .container input:checked ~ .checkmark:after {
  opacity: 1;
}

.my-checkbox-wrapper .container .checkmark:after {
/*  left: 0.45em;*/
/*  top: 0.25em;*/
/*  width: 0.25em;*/
/*  height: 0.5em;*/
  left: 0.52em;
  top: 0.3em;
  width: 0.3em;
  height: 0.6em;
/*  border: solid darkgray;*/
  border: solid gray;
/*  border-width: 0 0.15em 0.15em 0;*/
  border-width: 0 0.175em 0.175em 0;
  transform: rotate(45deg);
  transition: all 250ms;
}
.wrap-around {
    display: inline-block;
}

/* Headings */
h1 {
    font-weight: bold;
    font-size: 22px;
    color: #ffffff;
    margin-top: 0ex;
    text-shadow: 0 -5px 5px rgba(0, 0, 0, 0.8);
}

h2 {
    font-weight: bold;
    font-size: 20px;
    color: #eeeeee;
    margin-top: 0;
    text-shadow: 0 -3px 3px rgba(0, 0, 0, 0.6);
}

h3 {
    font-weight: bold;
    font-size: 16px;
    color: #dddddd;
    margin-top: 0;
    text-shadow: 0px -2px 2px rgba(0, 0, 0, 0.5);
}

t3 {
    font-weight: bold;
    font-size: 16px;
    color: #dddddd;
    text-shadow: 0px -2px 2px rgba(0, 0, 0, 0.5);
}

.Button {
  background-color:  var(--my-button-bg);
  width: 100%;  /* Stellt sicher, dass der Button mindestens so breit ist wie das Eingabefeld */
  border: 0;
  border-radius: 56px;
  color: var(--my-button-text);
  cursor: pointer;
  display: inline-block;
  font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  margin: 0.75em 0px;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.Button:disabled {
  background-color:  var(--my-button-bg-disabled);
  width: 100%;  /* Stellt sicher, dass der Button mindestens so breit ist wie das Eingabefeld */
  border: 0;
  border-radius: 56px;
  color: var(--my-button-text-disabled);
  cursor: not-allowed;
  display: inline-block;
  font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  margin: 0.75em 0px;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0.2px lightgrey;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.Button:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 92%;
}

.Button:hover:enabled {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}

.ButtonSmall {
    background-color: var(--my-button-bg);
    /* width: 100%; */
    min-width: 4em; /* Begrenzung, damit er nicht zu schmal wird */
    max-width: 250px; /* Begrenzung, damit er nicht zu breit wird */
    border: 0;
    border-radius: 14px;
    color: var(--my-button-text);
    cursor: pointer;
    display: inline-block;
    font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
    font-size: 11px;
    font-weight: 600;
    outline: 0;
    margin: 1px 0;
    padding: 5px 6px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.ButtonSmall:disabled {
    background-color: var(--my-button-bg-disabled);
    color: var(--my-button-text-disabled);
    cursor: not-allowed;
    text-shadow: 1px 1px 0.2px lightgrey;
}

@media (max-width:600px){
    .ButtonSmall{
        min-width: 3em
    }
}

.ButtonSmall:before {
    background-color: initial;
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 31px;
    content: "";
    height: 50%;
    left: 4%;
    opacity: .5;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 92%;
}

.ButtonSmall:hover:enabled {
    box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
    transform: scale(1.05);
}

.qr-details {
        font-size: 20px;
        text-align: left;
        margin: 15px;
}

.qr-code img {
    width: 80%;
    max-width: 300px;
    height: auto;
}

/* Hamburger-Icon */
.hamburger {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 6px;
    background: rgba(221, 221, 221, 0.75); /* halbtransparent weiß */
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1001;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hamburger div {
    width: 18px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
}

/* Menü sanft anzeigen/verstecken */
.nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 10px;
    background: rgba(221, 221, 221, 0.75); /* leicht transparent */
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}
.nav-menu.menu-visible {
    opacity: 1;
    display: block;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu a {
    display: flex;
    align-items: center;
    margin: 5px 0;
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
}
.nav-menu a:hover {
    background-color: #f0f0f0;
}
.nav-menu a.active {
    background-color: #007bff;
    color: white;
}
.nav-menu i {
    margin-right: 6px;
}

/* für info.php
 */
section {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.help-container {
    display: inline-block;
    text-align: left;
    max-width: 600px;
    padding: 0px 1em;
    margin: auto;
}
.icon {
    color: #444;
    margin-right: 0.5ex;
}
.name {
    color: #444;
    font-weight: bold;
}

