:root {
    --background-color: #e9edf19d;
    --background-color-toggle: #e9edf1;
    --text-color: black;
    --primary-color: #0096ff;
    --accent-color-hover: #72ffff;
    --text-color-footer: #1d1b1b;
    --background-color-footer: #9898a3;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}
@font-face {
    font-family: "Poppins";
    src: url("/Doku/src/fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Poppins-Bold";
    src: url("/Doku/src/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
.dark-mode {
    --background-color: #2c2929;
    --background-color-toggle: #2c2929;
    --text-color: #ffffff;
    --primary-color: #0e9afd;
    --accent-color-hover: #72ffff;
    --text-color-footer: #fff;
    --background-color-footer: #1c1c1c;
}
.dark-mode .hero {
    filter: brightness(80%);
}
.dark-mode .skill {
    filter: brightness(80%);
}
.dark-mode .post {
    filter: brightness(80%);
}
.dark-mode .tool {
    filter: brightness(80%);
}
.dark-mode .guide {
    filter: brightness(80%);
}
h1,h2,h3,h4,h5,h6{
    color: var(--primary-color);
}
p,li{
    color: var(--text-color);
}
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    background-color: var(--background-color);
    
}
#local-storage-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  background-color: var(--background-color-footer);
  text-align: center;
  z-index: 999;
}
#local-storage-banner p{
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

#accept-storage {
  background-color: var(--primary-color);
  border: none;
  padding: 0.5em 1em;
  color: var(--text-color);
  cursor: pointer;
  margin-left: 1em;
}

header {
    position: sticky;
    width: 100vw;
    top: 0;
    z-index: 2;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    
    
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    background: var(--background-color);
    box-shadow: 10px 10px 10px #0661a2;
    font-family: "Poppins-Bold";
}
.nav-logo {
    width: 50px;
    border: solid 4px whitesmoke;
    border-radius: 20%;
    margin-right: 0.5rem;
    box-shadow: 6px 5px 15px -3px rgba(0,0,0,0.1);
}
.nav-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 60%;
    margin: 0.5rem;
    font-size: 1.2rem;
}
.nav-left-link{
    display: none;
    flex-wrap: wrap;
    width: 40%;
    gap: 1rem;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--background-color);
}

.nav-logo {
    height: 3rem;
}

.nav-toggle {
    appearance: none;
    border: none;
    background-color: var(--background-color);
    cursor: pointer;
}

.nav-toggle-icon {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: relative;
    transition: transform 0.3s ease-out;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: inherit;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-out;
}

.nav-toggle-icon::before {
    transform: translateY(-0.5rem);
}

.nav-toggle-icon::after {
    transform: translateY(0.5rem);
}

.nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 5rem;
    right: 0;
    width: 100%;
    background-color: var(--background-color-toggle);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links.open {
    display: flex;
}

.nav-link {
    padding: 1rem;
    color: #333;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease-out;
}

.nav-link:hover {
    color: var(--accent-color-hover);
}

.nav-right {
    width: 50.66%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 1rem;
    font-size: 2rem;
    gap: 1rem;

}
.nav-link i {
    color: var(--primary-color);
    padding: 0.5rem;
}
.nav-link i:hover {
    color: var(--primary-color);
}
.nav-link i::after {
    content: "";
}
.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
}
.nav-link:hover {
    color: var(--accent-color-hover);
}
.nav-link-r {
    text-decoration: none;
    color: var(--primary-color);
}
.nav-link-r:hover {
    color: var(--accent-color-hover);
}
.nav-link-r::before {
    counter-reset: "";
}
.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 25px;
    background-color: var(--dark);
    border-radius: 25px;
    cursor: pointer;
    border: 2px solid var(--dark);
}

.checkbox {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider {
    background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
    box-shadow: inset 9px -4px 0px 0px var(--light);
    background-color: var(--dark);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
    -webkit-transform: translateX(27px);
    -ms-transform: translateX(27px);
    transform: translateX(27px);
    background-color: var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
}
aside#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 999;
    line-height: 1.3em;
}
.con-grid{
    display: grid;
    width: 100vw;
    grid-template-columns: 2fr 2fr ;
    grid-template-rows: auto;
    grid-template-areas: 
    "hero hero "
    "skill skill"
    "post post"
    "tool tool"
    "guide guide"
    "footer footer";
}
.hero{
    display: flex;
    flex-direction: column;
    grid-area: hero;
    background-image: url(/Bilder/hero-doku-mobile.png); 
    background-size: cover;
    background-repeat: no-repeat;
    height: 92vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5rem;
    box-shadow: 10px 10px 10px #0661a2;
}

.hero h1{
    display: inline;
    font-size: 3rem;
    background-color: #2c2929;
}
.hero h3{
    font-size: 1rem;
    background-color: #2c2929;
}
.hero h4{
    font-size: 1rem;
    background-color: #2c2929;
}
.btn-a {
    --color: var(--primary-color);
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color 0.5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--color);
}
.btn-a:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn-a:hover {
    color: #edf2f5;
}

.btn-a:before {
    top: 100%;
    left: 100%;
    transition: all 1s;
}

.btn-a:hover:before {
    top: -30px;
    left: -30px;
}

.btn-a:active:before {
    color: var(--accent-color-hover);
    transition: background 1s;
}
.free1{
    grid-area: free1;
}
.skill{
    grid-area: skill;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
    padding: 1.5rem;
    
}
.skill h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.free2{
    grid-area: free2;
}
.post{
    grid-area: post;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
    
}
.post h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.post iframe{
    margin: 1rem;
    width: 560px; 
    height: 315px; 
}
.tool{
    grid-area: tool;
    margin-top: 5rem;
    
}
.tool h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.guide{
    grid-area: guide;
    margin-top: 5rem;
    margin-bottom: 3rem;
    padding: 1rem;
}
.guide h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.guide p{
    margin: 1rem;
}
#menu-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
}
footer{
    background: var(--background-color-footer);
}
.links-footer a {
    text-decoration: none;
    color: var(--text-color-footer);
}
.links {
    width: 100%;
    color:  var(--text-color);
    font-size: 12px;
}
.links-inner {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    padding: 0;
}
.links-inner h3 {
    color: var(--text-color);
}
.footer-links-wi{
    display: flex;
    flex-direction: column;
}
.links li {
    line-height: 2;
    list-style: none;
}
.footer ul {
    display: flex;
    flex-wrap: wrap;
}
.links-footer {
    display: flex;
    grid-area: footer;
    
}
.links-footer a:hover {
    color: black;
}
.footer-links-sm{
    display: flex;
    font-size: 2rem;
    margin-right: 5rem;
}
.footer-links-sm a{
    padding-right: 1rem;
}
@media only screen and (min-width: 1440px) {
header {
    position: sticky;
    width: 100vw;
    top: 0;
    z-index: 2;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    
    
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    background: var(--background-color);
    box-shadow: 10px 10px 10px #0661a2;
    font-family: "Poppins-Bold";
}
.nav-logo {
    width: 50px;
    border: solid 4px whitesmoke;
    border-radius: 20%;
    margin-right: 0.5rem;
    box-shadow: 6px 5px 15px -3px rgba(0,0,0,0.1);
}
.nav-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
    margin: 0.5rem;
    font-size: 1.2rem;
}
.nav-left-link{
    display: flex;
    flex-wrap: wrap;
    width: 40%;
    gap: 1rem;
}
.nav-container{
    display: none;
}

.nav-right {
    width: 10.66%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 1rem;
    font-size: 2rem;

}
.nav-link i {
    color: var(--primary-color);
    padding: 0.5rem;
}
.nav-link i:hover {
    color: var(--primary-color);
}
.nav-link i::after {
    content: "";
}
.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
}
.nav-link:hover {
    color: var(--accent-color-hover);
}
.nav-link-r {
    text-decoration: none;
    color: var(--primary-color);
}
.nav-link-r:hover {
    color: var(--accent-color-hover);
}
.nav-link-r::before {
    counter-reset: "";
}
.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 25px;
    background-color: var(--dark);
    border-radius: 25px;
    cursor: pointer;
    border: 2px solid var(--dark);
}

.checkbox {
    position: absolute;
    display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider {
    background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
    box-shadow: inset 9px -4px 0px 0px var(--light);
    background-color: var(--dark);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
    -webkit-transform: translateX(27px);
    -ms-transform: translateX(27px);
    transform: translateX(27px);
    background-color: var(--dark);
    -webkit-box-shadow: none;
    box-shadow: none;
}
aside#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 999;
    line-height: 1.3em;
}
.con-grid{
    display: grid;
    width: 100vw;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "hero hero hero hero"
    "free1 skill skill free2"
    "free1 post post free2"
    "free1 tool tool free2"
    "free1 guide guide free2"
    "footer footer footer footer";
}
.hero{
    display: flex;
    grid-area: hero;
    background-image: url(/Bilder/hero-doku.png); 
    background-size: cover;
    background-position: 15%;
    height: 92vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--primary-color);
    margin-bottom: 5rem;
    box-shadow: 10px 10px 10px #0661a2;
}
.hero h1{
    font-size: 4rem;
    background-color: #2c2929;
}
.hero h3{
    font-size: 1.7rem;
    background-color: #2c2929;
}
.hero h4{
    font-size: 1.3rem;
    background-color: #2c2929;
}
.btn-a {
    --color: var(--primary-color);
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color 0.5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--color);
}
.btn-a:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn-a:hover {
    color: #edf2f5;
}

.btn-a:before {
    top: 100%;
    left: 100%;
    transition: all 1s;
}

.btn-a:hover:before {
    top: -30px;
    left: -30px;
}

.btn-a:active:before {
    color: var(--accent-color-hover);
    transition: background 1s;
}
.free1{
    grid-area: free1;

}
.skill{
    grid-area: skill;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    
}
.skill p,li{
    text-align: start;
    margin: 0.5rem;
}
.free2{
    grid-area: free2;
}
.post{
    grid-area: post;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 800px;
    
}
.post h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.post iframe{
    margin: 1rem;
    width: 900px; 
    height: 580px; 
}
.tool{
    grid-area: tool;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 800px;
}
.tool h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
.tool iframe{
    margin: 1rem;
    width: 900px; 
    height: 580px; 
}
.guide{
    grid-area: guide;
    margin-top: 5rem;
}
.guide h2{
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}
#menu-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
}
footer{
    background: var(--background-color-footer);
}
.links-footer a {
    text-decoration: none;
    color: var(--text-color-footer)
}
.links {
    width: 100%;
    color:  var(--text-color);
    font-size: 12px;
}
.links-inner {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    padding: 0;
}
.footer-links-wi{
    display: flex;
    flex-direction: column;
}
.links li {
    line-height: 2;
    list-style: none;
}
.footer ul {
    display: flex;
    flex-wrap: wrap;
}
.links-footer {
    display: flex;
    grid-area: footer;
    
}
.links-footer a:hover {
    color: black;
}
.footer-links-sm{
    display: flex;
    font-size: 3rem;
    margin-right: 5rem;
}
.footer-links-sm a{
    padding-right: 1rem;
}
}