/* Hamburger-Menü Header */
/* Hamburger-Menü Header */
#header-hamburger {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(50%); /* Zentriert im Header */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 56px;
    margin: 40px;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.hamburger-bar {
    display: block;
        width: 28px;
        height: 3px;
        background: #ffffff;
        margin: 4px 0;
    border-radius: 2px;
    transition: background 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
header {
    position: relative;
    min-height: 45px;
    background: #222;
    color: #fff;
}
@media (max-width: 600px) {
    #header-hamburger { padding: 0 8px; }
    h1 { font-size: 1.1em; }
}
/* Links/Rechts-Ausrichtung für Navigationsbuttons */
.left-btn {
    /* Place Zurück buttons on the left edge */
    order: 1;
    margin: 0;
}
.right-btn {
    /* Place Weiter buttons on the right edge */
    order: 3;
    margin: 0;
}
.bottom-nav span {
    flex: 1;
    order: 2;
}
/* Einheitlicher Stil für alle Navigationsbuttons */
.nav-btn {
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 0.8em 2em;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: background 0.2s;
    min-width: 120px;
    margin: 0 0.5em;
}
.nav-btn:hover {
    background: #005fa3;
}
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    font-size: 1em;
    background: #fafaff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
table th, table td {
    border: 2px solid #222;
    padding: 0.7em 1em;
    text-align: left;
}
table th {
    background: #eaeaea;
    color: #222;
    font-weight: 600;
}
table tr:nth-child(even) td {
    background: #f3f3f3;
}
/* Grundlayout */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7fa;
    color: #222;
}

header {
    background: #2d3e50;
    color: #fff;
    padding: 1.5em 0 1em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 0.95em;
    text-align: center;
    /* position: static; Standardwert, daher entfernt */
    /* Smooth show/hide when translating the header */
    transition: transform 250ms ease;
    will-change: transform;
}

footer {
    background: #2d3e50;
    color: #fff;
    text-align: center;
    padding: 2em 0;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    position: static;
    margin-top: 3em;
}

#sidebar {
    position: fixed;
    top: 1.5em;
    left: 1.5em;
    z-index: 100;
}

#hamburger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}
#hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #ffffff;
    margin: 4px 0;
    border-radius: 2px;
}

#menu {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0.5em 1em;
    list-style: none;
}
#menu li {
    margin: 0.7em 0;
}
#menu a {
    color: #2d3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
#menu a:hover {
    color: #0077cc;
}

main {
    max-width: 1100px;
    margin: 4em auto 6em auto;
    min-height: 60vh;
}
.tutorial-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2em 2em 5em 2em;
    margin-bottom: 2em;
    min-height: 60vh;
    max-width: 1100px;
    width: 100%;
    position: relative;
    overflow-y: auto;
    box-sizing: border-box;
}
.tutorial-section h2 {
    color: #0077cc;
    margin-top: 0;
}
.section-buttons {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5em;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.section-buttons button {
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0.35em 0.9em;
    font-size: 0.88em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: background 0.2s;
    pointer-events: auto;
}
.section-buttons button:hover {
    background: #005fa3;
}

button#weiter, button#zurueck {
    background: #0077cc;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 0.8em 2em;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: background 0.2s;
    margin: 0;
}
button#weiter:hover, button#zurueck:hover {
    background: #005fa3;
}
/* Navigations-Buttons immer unten, knapp über dem Footer */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin: 3em auto 0 auto;
    width: 100%;
    max-width: 1100px;
    padding: 0 12px;
    box-sizing: border-box;
}
.bottom-nav#nav1 {
    /* Keep same layout for nav1 as others */
    justify-content: space-between;
}
button#weiter, button#zurueck,
button#weiter2, button#zurueck2, button#zurueck3 {
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 0.8em 2em;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: background 0.2s;
    min-width: 120px;
    margin: 0;
}
button#weiter:hover, button#zurueck:hover,
button#weiter2:hover, button#zurueck2:hover, button#zurueck3:hover {
    background: #005fa3;
}
h1 {
    color: rgb(255, 115, 0)6
}