html {
    scroll-padding-top: 3.9em;
    height: 100vH;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0 auto;
    font-family: Quicksand, "Quicksand SemiBold";
    color: Black;
    font-size: 1em;
    background-color: white;
    overflow-x:hidden;
}
h1, h2, h3 {
    text-align: center;
}
h5 {
    letter-spacing: 0.3em;
    color: grey;
}

.h1 {
    font-size: 1em;
    letter-spacing: 0.2em;
    margin-top: 1.7em;
    margin-bottom: 0em;
}

.h3 {
    font-size: 1.2em;
    background-color: #30819C;
    color: White;
    margin: 1.5em 0 1.5em 0;
    border-radius: 0.5em;
}
.h4 {
    font-size: 1em;
    border-bottom: solid medium #30819C;
    padding: 1em 0 1em 0;
    text-align: left;
}
/*h3 {
    background-color: #30819C;
    color: White;
    margin: 1.5em 0 1.5em 0;
    border-radius: 0.5em;
}
h4 {
    border-bottom: solid medium #30819C;
    padding: 1em 0 1em 0;
}*/
.headerTitle {
    font-size: 1.5em;
    margin: 1em;
    text-align: center;
    font-weight: bold;
}
.stickyTitle {
    position: sticky;
    top: 3.9em;
    margin: 0;
    padding: 1em 0 1em 0;
    //padding-top: calc(1em + 1px);
    background-color: White;
}
.h3.stickyTitle {
    top: 3.2em;
    margin-bottom: 2em;
    margin-top: 1.5em;
    background-color: #30819C;
}
.h4.stickyTitle {
    color: #30819C;
    padding-top: 1.4em;
}
/*h3.stickyTitle {
    top: 3.3em;
    margin-bottom: 2em;
    margin-top: 1.5em;
    background-color: #30819C;
}
h4.stickyTitle {
    color: #30819C;
    padding-top: 1.4em;
} */
.sprung2 {
    margin-top: -3.5em;
    padding-top: 3.5em;
}


.KapitelLinie {
    margin-top: 3em;
    margin-bottom: 0em;
    padding-bottom: 0.2em;
    border-bottom: medium solid #30819C;
    color: #30819C;
}

a {
    color: Black;
    text-decoration: none;
    font-style: italic;
    letter-spacing: 3px;
    font-variant: small-caps;
    font-weight: normal;
    font-size: smaller;
}
a[href ^="tel"] {
    font-variant: normal;
    font-size: medium;
    letter-spacing: normal;
}

a:hover {
    text-decoration : underline;
}
.link {
    color: Black;
    text-decoration: none;
    font-style: italic;
    letter-spacing: 3px;
    font-variant: small-caps;
    font-weight: normal;
    font-size: smaller;
}
.link:hover {
    text-decoration : underline;
}
.rot {
    color: red;
}

li a {
    display: block;
    text-decoration: none;
    font-style: normal;
    letter-spacing: normal;
    font-variant: normal;
    font-size: 1em;
}
li a:hover {
    text-decoration: none;
}
.middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.aside-right {
    width: 100px; /* Vergleiche:
                     2.x @media only screen and (max-width: 480px) weiter unten
                     letzte @media -> footer.middle ganz unten */
}
.negTop {
    margin-top: -2em; /* Siehe 2. @media main Screen-View klein -> .negTop */
}

/*** Header ***/
header a {
    background-color: #30819C;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    //margin-top: -20px;
    z-index: 10;
    font-style: normal;
    letter-spacing: normal;
    font-variant: normal;
    font-size: large;
    text-decoration: none;
}
header a:hover{
    text-decoration: none;
}

.headerKorrTop {
    margin-top: 1.2em;
}

header div.title {
    margin-top: -0.5em;
    padding: 0 1em 0 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.uTitle_lV {
    margin-top: -0.5em;
}
#uTitle_sV {
    display: none;
}

.logo {
    height: 60px;
}

/*** Hamburger Menü-Icon ***/
.hamburg {
    display: none;
    background: #555;
    width: 75px;
    height: 50px;
    position: relative;
    //margin-top: 0.8em;  /* Vergleiche #menue ul li -> padding-top */
    border-radius: 4px;
    transition: border-radius .5s;
}

.line {
    position: absolute;
    left:10px;
    height: 4px;
    width: 55px;
    background: #fff;
    border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

.hamburg.checked .line:nth-child(1){
    transform: translateY(12px) rotate(-45deg);
}

.hamburg.checked .line:nth-child(2){
    opacity:0;
}

.hamburg.checked .line:nth-child(3){
    transform: translateY(-12px) rotate(45deg);
}

/*** Navigation ***/
nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: sticky;
    top: 0;
    height: 3.9em; /* Vergleiche #menue ul li */
    color: White;
    background-image: linear-gradient(to top, White 0%, #5BB0CD 30%);
    z-index: 10;
}
#menue {
    display: unset;
    overflow: hidden;
    //transition: all 0.5s;
    //margin-top: -0.1em;
    width: 100%;
}

#menue ul {
    display: flex;
    flex-direction: row;
    //column-gap: 2em;  /* Beachte @media unten: #menue ul */
}
#menue ul li {
    list-style: none;
    width: 6em;
    margin: 0 0.5em 0 0.5em;
    //height: 1.9em; /* Siehe nav-Element */
    //padding-top: 0.0em; /* Vergleiche .hamburg -> margin-top */
    text-align: center;
    white-space: nowrap;
}
#menue ul li.navItemSelected {
    background-color: White;
    color: #30819C;
    padding-top: 0.5em;
    height: 2.3em;
    border-radius: 0.5em 0.5em 0 0;
}
.navButtonBorder {
    border-bottom: 0.18em solid #C0C0C0;
    border-left: 0.13em solid #DCDCDC;
    border-radius: 0.5em;
    padding: 0.3em;
    padding-right: 0.3em;
}

#menue ul a, #menue ul a li {
    color: white;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-style: normal;
    font-variant: normal;
    font-size: 1em;
}
#menue ul a:hover {
    text-decoration: none;
    color: white;
}

/*** Screen-View groß und klein ***/
.lV {
    display: unset;
}
.sV {
    display: none;
}
.title_break {
    margin-top: -0.5em;
}



/*** main - Screen-View groß ***/
main {
    display: flex;
    flex: 1;
    margin-bottom: 4em;
    gap: 2em;
}
.home {
    margin-left: 3em;
}

aside {
    display: flex;
    flex-direction: column;
    padding: 1em 0 0 1em;
    width: 12em;
}
.versatzAsideBreite {
    margin-left: -12em;
}
#aside_container {
    position: sticky;
    top: 4.5em;
    display: unset;
    padding-left: 1em;
    //background-color: blue;
    z-index: 3;
}
#aside_container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#aside_container ul li {
    padding: 0.3em 0.3em 0.3em 0.5em;
    margin-top: 0.5em;
}
.subMenHead {
    border-bottom: medium gray solid;
    border-left: medium gray solid;
    border-radius: 0.5em;
}
.subMenHead.selected {
    border-bottom: medium #30819C solid;
    border-left: medium #30819C solid;
    border-radius: 0.5em;
}
.subMenHead.selected a {
    color: #30819C;
    font-weight: bold;
}

.subMenue_visibility {
    display: none;
}
#aside_container ul ul li {
    padding: 0 0 0 1.8em;
    border-bottom: thin silver solid;
    border-left: none;
    border-radius: 0.5em;
}
.show_subMenue {
    display: block;
}
.change_asideMenue_li {
    border-bottom: medium #30819C solid;
    border-left: medium #30819C solid;
    border-radius: 0.5em;
}
.change_asideMenue_text {
    color: #30819C;
    font-weight: bold;
}

article {
    display: flex;
    justify-content:flex-start;
}
section {
    padding: 2em;
}
.column {
    display: flex;
    flex-direction: column;
}
.zitat {
    margin-top: 1em;
    font-style: italic;
    font-variant: small-caps;
    letter-spacing: 0.3em;
}
.quelle {
    display: block;
    float: inline-end;
    text-align: right;
    font-style: italic;
    font-size: smaller;
}

.ZeileneinschubAnmerkung {
    color: #A9A9A9;
    margin-top: 0.5em;
}
.start-box, .text-box {
    background-color: white;
}
.start-box {
    display: flex;
    flex-direction: row;

}
.text-box{
    display: flex;
    flex-direction: column;
    max-width: 700px;
    //background-color: #008000;
   // text-align: justify;
}
.text-box p {
    padding: 0.5em;
}

.start-text {
    margin-left: 1.5em;
    margin-top: -0.3em;
    max-width: 500px;
    //text-align: justify;
}
.credo {
    max-width: 700px;
}

#asideNav_button {
    display: none;
}
li {
    margin-left: -1em;
    padding: 0.1em 0 0.1em 0.3em;
}
.list_pfeil {
    list-style: "\25BA";
}

/*
.textbox {
    color: black;
    font-size: 1em;
    line-height: 1.3em;
    padding: 2em;
    max-width: 900px;
    background-color: white;
    z-index: 1;
    border-radius: 7px;
}
*/

#portrait {
    margin-top: 1em;
    width: 200px;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.smaller {
    font-size: smaller;
}

/*** footer für Screen-View groß ***/
footer {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    height: 3em; /* Siehe footer div.middle */
    background-image: linear-gradient(to bottom, White 0%, #5BB0CD 30%);
}

footer div.middle {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    height: 3em;
    line-height: 3em;  /* Siehe footer */
    font-weight: bold;
}
footer div.middle div {
    line-height: 3em;
}

footer div.middle div a, footer div.middle div a:hover {
    color: white;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0em;
    font-style: normal;
    font-variant: normal;
    font-size: 1em;
}
footer .navItemSelected {
    align-items: flex-start;
    display: inline;
    background-color: White;
    color: #30819C;
    font-weight: normal;
    padding: 0em 0.5em 0.7em 0.5em;
    margin-top: -0.2em;
    height: 1.8em;
    border-radius: 0 0 0.5em 0.5em;
}


 /*** Lebenslauf Tabellenformate ***/
.tb_horizLn {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 2em;
}
.tb_horizLn ul {
    margin: 0;
    padding: 0;
}
.tb_horizLn li {
    margin: 0 0 0 1em;
    padding: 0.1em 0.1em 0.1em 0.5em;
}
.tb_horizLn ul ul {
    margin-left: 2em;
}
.tb_horizLn th {
    padding-top: 1em;
    border-bottom: solid thick #3465A4;
    color: #3465A4;
    font-size: larger;
    letter-spacing: 0.2em;
    text-align: left;
}

.tb_horizLn td {
    border-bottom: solid medium #C0C0C0;
    border-left: none;
    border-right: none;
    //background-color: #D4DFEC;
    vertical-align: top;
    padding: 1em;
}


.jz {
    width: 6.5em;
    font-family: "Quicksand Light";
    font-size: 0.9em;
}

.ht {

}
.nt {
    font-size: smaller;
}
.tt {
    font-weight: bold;
    color: gray;
    font-size: smaller;
    letter-spacing: 0.2em;
    margin-bottom: 0em;
    margin-top: 1em;
    padding-top: 1em;
}
td.ttt {
    border-bottom: solid #C0C0C0 medium;
}
.tb_horizLn ul {
    margin: 0;
}
.kontakt {
    display: flex;
    flex-direction: column;
}
.kontakt div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0.5em;
}

div.kontakt {
    margin: auto;
}
div.kontakt div {
    margin: 0.1em;
}

.kontakt .inputRow {
    width: 25em;
    height: 2em;
}
.kontakt textarea {
    width: 25.6em;
}
.buchen {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.5em;
    margin: 0.5em 0 1em 0.5em;
}
.buchen:before {
    content: "\25BA";
    margin-right: 0.5em
}
#termin {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#form_buchen {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    gap: 1em;
}
#form_buchen label {
    display: flex;
    flex-direction: row;
    gap: 1em;
    width: 100%;
    align-items: flex-start;
}
#form_buchen label div {
    flex: 1;
}
#form_buchen label input {
    flex: 3;
}
#form_buchen .tab {
    display: flex;
    gap: 1em;
}

#termin, #form_buchen {
    margin-top: 1.5em;
    padding: 1em 1em;
    border: bold #30819C solid;
    border-radius: 0.5em;
    align-items: flex-start;
    background-color: #FFFBF5;
}
#termin div {
    padding: 0.3em;
}
#termin div:first-child {
    font-weight: bold;
    border-bottom: solid silver medium;
}
#termin legend, #form_buchen legend {
    margin-left: 2em;
    font-weight: bold;
    color: #30819C;
}
#seminarText_an {
    display: flex;
    align-items: center;
}
#innerbox, #seminarText_aus {
    display: none;
}
#hoverbox:target #innerbox, #hoverbox:target #seminarText_aus {
    display: block;
}
#hoverbox:target #seminarText_an {
    display: none;
}
#seminarText_aus {
    margin: 0.5em 0.5em;
}
#hoverbox:target {
    margin-top: -4.9em;
    padding-top: 4.9em;
}
#seminarTextTitle:target {
    margin-top: -5.1em;
    padding-top: 5.1em;
}
#datenschutzText_checkbox, #buchungsTerm_checkbox {
    margin-top: -0.5em;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.3em;
}
.table {
    display: table;
}
.headerRow {
    display: table-row;
    white-space: nowrap;
}
.headerRow a {
    font-weight: bold;
}
a.row, .cell a {
    text-decoration: none;
    letter-spacing: normal;
    font-style: normal;
    font-variant: normal;
    font-size: 1em;
}
.headerRow .cell {
    text-align: center;
}
.row {
    display: table-row;
}
.cell {
    display: table-cell;
    padding: 0.3em;;
    font-size: 0.9em;
    border-bottom: solid silver medium;
}
.cell:nth-child(even) {
    background: #F0F0F0;
}
.listeTermine {
    border-collapse: collapse;
}
.listeTermine td, th {
    border-bottom: solid silver medium;
    padding: 0.3em;
    font-size: 0.9em;
}
.listeTermine td:nth-child(even), th:nth-child(even) {
    background: #F0F0F0;
}
.absatz {
    margin-bottom: 1em;
}
.erfolg {
    color: #008000;
}
.fehler {
    color: #FF0000;
    font-weight: bold;
}
div.nz {
    display: none;
}
#warteliste {
    border-radius: 0.5em;
}

div.flexrow {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.3em;
}
.email_anm {
    border: solid thin #30819C;
    padding: 0.5em;
}
.anmeldung {
    border: medium solid #30819C;
    border-radius: 0.5em;
}
.anmeldung legend {
    color: #30819C;
    font-weight: bold;
}
.anmeldeInputFeld {
    margin-left: 1em;
    width: 20em;
}

/*
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
*/

@media only screen and (max-width: 720px) {
/**********************
* Header und Nav-Menü *
**********************/
    html {
        scroll-padding-top: 3.9em;
    }
    .stickyTitle {
        top: 3.9em;
    }
    h3.stickyTitle {
        top: 3.9em;
    }
    h4.stickyTitle {
        top: 4.5em;
        padding-top: 1.4em;
    }
    nav {
        height: 3.9em; /* Vergleiche #menue ul li */
    }
    #menue ul li {
        height: 3.9em; /* Siehe nav-Element */
    }
    .lV {
        display: none;
    }
    .sV {
        display: unset;
    }
    .uTitle_lV {
        display: none;
    }
    #uTitle_sV {
        display: unset;
        width: 80%;
        height: 1.5em;
        margin-top: 0.9em;
        text-align: center;
    }
    #uTitle_sV.on {
        display: none;
    }
    .margTopNeg_sV {
        margin-top: -2em;
    }

    .hamburg {
        display: unset;
    }
    #menue {
        display: none;
    }
    #menue.on {
        display: unset;
    }
    nav {
        height: auto;
    }
    nav.on {
        background-image: linear-gradient(to top, #30819C 0%, #5BB0CD 95%);
    }

    #menue ul {
        display: flex;
        flex-direction: column;
        //column-gap: 0; /* Siehe oben: #menue ul */
        width: 70%;
    }
    #menue ul a li {
        list-style: none;
        color: white;
        padding: 0;
        text-align: left;
        padding-left: 1em;
        height: 2.5em;
        line-height: 2.5em;
        vertical-align: middle;
        width: 100%
    }
    #menue ul li.navItemSelected {
        height: 1.2em;
        display: block;
        line-height: 1.2em;
        vertical-align: middle;
        text-align: left;
        padding: 0.2em 0 0.2em 1em;
        margin: 0.4em 0 0.4em 0;
        border-radius: 0.5em;
        background-color: White;
        color: #30819C;
        font-weight: bold;
        letter-spacing: 0.1em;
        width: 100%;
    }
    #isStickyTop {
        margin-top: -3em;
    }

/*******************
* main Screen-View *
*******************/
    main {
        display: flex;
        flex-direction: column;
    }
    article {
         /* Vergleiche .aside-right ganz oben */
    }
    .column {
        display: flex;
        flex-direction: column;
        padding: 1.5em;
    }
    .text-box {
        padding: 0 ;
        margin-left: 0em;
    }
    h3 {
        background-color: transparent;
    }
    h3.titleBigger {
        margin-bottom: 2.4em;
    }

    h4.titleBigger {
        padding-top: 2.4em;
        margin-top: -2.4em;
    }

    aside {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        width: auto;
        //background-color: red;
    }
    #aside_container {
        display: unset;
        //position: fixed;
        //margin-top: 4em;
        margin: 0.5em 1em 2em 1em;
        padding: 0em 0.5em 0.5em 1.5em;;
        border: thin black solid;
        //border-left: none;
        border-radius: 0.5em 0.5em 0.5em 0.5em;
        background-color: rgba(255,255,255,0.8);
    }
    #aside_container li {
        width: auto;
    }

    #aside_container ul#subMenue_ul {
        background-color: White;
        padding: 0.2em;
        border-radius: 0.5em;
    }
    .subMenue_visibility {
        display: block;
    }
    #asideNav_button {
        display: block;
        position: fixed;
        right: 1em;
        bottom: 0;
        //margin-left: -0.5em;
        height: 1em;
        width: 1em;
        z-index: 100;
        border: solid silver;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        cursor: pointer;
    }
    .zitat {
        margin-top: -0.5em;
    }
    .zitat, .ZeileneinschubAnmerkung {
        text-align: center;
    }
    .start-box {
        max-width: 800px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: white;
        margin-top: 1em;
    }
    #portrait {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    .start-text {
        margin-left: 0;
        padding: 0em;
    }
    .negTop {
        margin-top: -5em; /* Siehe .negTop ganz oben */
    }
    .kontakt div {
        flex-direction: column;
        align-items: flex-start;
    }
    .kontakt div input {
        width: 22em;
        margin-bottom: 1em;
    }
    .kontakt div textarea {
        width: 24.5em;
    }

/********************************
*  footer für Screen-View klein *
********************************/
    footer div.aside-right {
        width: 0px; /* Vergleiche .aside-right ganz oben */
    }
}
@media only screen and (max-height: 430px) {
    .stickyTitle {
        position: inherit;
    }
    main {
    margin-bottom: 2em;
}
    footer {
        position: static;
        width: auto;
    }

}
