
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
}
img#headpic {
    width: 70%;
    height: auto;
}
header {
    background: #fff;
    text-align: center;
    border-bottom: 2px solid #ccc;
}
header p {
    padding-left: 5px;
    padding-right: 5px;
}
main {
    padding: 2rem;
}
section#sectionright {
    float: right;
}

section#sectionLeft {
    float: left;
    width: 17%;
    clear: both;
}

video {
    max-width: 93%;
}
img#artiklepic {
    max-width: 100%;
    height: auto;
    width: 100%;
}
section {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    width: 75%;
}
footer {
    background: #eee;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    clear: both;
}
.kontaktformular {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kontaktformular input,
.kontaktformular textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.kontaktformular button {
    padding: 0.75rem;
    background-color: #5c8bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.kontaktformular button:hover {
    background-color: #3f6de0;
}

.success {
    text-align: center;
    color: green;
}

.error {
    text-align: center;
    color: red;
}
        nav {
    background-color: #222;
    color: white;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    font-family: sans-serif;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}
nav ul {
    list-style-type: none;
    margin: 5px 10px;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}
        nav ul li {
            display: inline;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }
        nav ul li a:hover {
            background-color: #444;
        }
div#aktenzeichen {
    position: absolute;
    top: 0px;
    text-align: left;
    left: 17%;
    font-size: xxx-large;
    font-weight: 700;
    color: white;
}
div#nameofakte {
    position: absolute;
    top: 35%;
    text-align: left;
    left: 30%;
    font-size: xxx-large;
    font-weight: 700;
    color: white;
}
div#nameofrolle {
    position: absolute;
    top: 45%;
    text-align: left;
    left: 32%;
    font-size: xxx-large;
    font-weight: 700;
    color: white;
}
div#forwuerfe {
    position: absolute;
    bottom: 10%;
    text-align: left;
    left: 19%;
    font-size: xx-large;
    font-weight: 700;
    color: white;
}
.fallakte-vorwort {
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #fafafa;
    border: 2px solid #c0392b;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 30px auto;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    line-height: 1.6;
    color: #222;
    float: left;
}
div#mainmenu {
    clear: both;
}

  span[id^=showVideoLink] {
    color: blue;
    cursor: pointer;
}
    /* Der Container ist standardmäßig ausgeblendet */
[id^=videoContainer] {
    position: fixed;
    bottom: -100%;
    left: 25%;
    width: 45%;
    background: #000;
    transition: all 0.5s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    z-index: 1000;
}
[id^=showVideoLink] {
    text-decoration: unset;
    font-size: 20px;
}
/* Sichtbar, fährt hoch */
[id^=videoContainer].show {
  bottom: 0;
}

/* Minimiert: bleibt klein unten rechts */
[id^=videoContainer].minimized {
  width: 300px;
  height: 170px;
  bottom: 20px;
  right: 20px;
  left: auto;
  border-radius: 10px;
  overflow: hidden;
}
div#backtop {
    display: block;
    position: fixed;
    top: 500px;
    right: 5px;
}
.video-header {
  display: flex;
  justify-content: flex-end;
  background: #222;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  cursor: default;
}
div#teacherpic img {
    max-width: 375px !important;
}
div#teacherpic {
    text-align: center;
    width: 100%;
}
.video-header span {
  margin-left: 10px;
  cursor: pointer;
}

[id^=sentinelVideo] {
  display: block;
  width: 100%;
  height: auto;
}
.hidden { display: none; }
.cookie-banner,
.cookie-settings {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #f0f0f0;
border-top: 2px solid #ccc;
padding: 1em;
z-index: 1000;
font-family: sans-serif;
}
.cookie-banner__actions button,
.cookie-settings button {
margin: 0.5em;
}
code {
    font-size: 18px;
}
strong {
    font-size: 20px;
}
h1, h2, h3 {
color: #8B0000;
}
blockquote {
background: #f9f9f9;
border-left: 5px solid #ccc;
padding: 1em;
margin: 1.5em 0;
font-style: italic;
}
.hinweis {
background: #fff3cd;
border: 1px solid #ffeeba;
padding: 1em;
margin: 2em 0;
color: #856404;
}
video {
    max-width: 100%;
}
img#raansware {
    max-width: 100% !important;
}
ul#alllinks div {
    color: blue;
    cursor: pointer;
}
.outerhr {
    background-color: #222;
    color: white;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    font-family: sans-serif;
}
div hr {
    background-color: #222;
    color: white;
    display: flex;
    justify-content: center;
    padding: 5px 0;
    font-family: sans-serif;
}
img#imgsoft {
    max-width: 100%;
}
div#openbachrichtdiv {
    clear: both;
}
div#boomundende {
    position: absolute;
    margin-top: -220px;
    font-size: 55px;
    left: 32%;
    color: red;
}
@media (max-width: 750px) {
section#sectionLeft {
    float: left;
    width: 85%;
    clear: both;
}

section {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    width: 96%;
}
ul#alllinks {
    margin-left: -30px;
}

div#aktenzeichen {
    position: absolute;
    top: 0px;
    text-align: left;
    left: 15%;
    max-width: 68%;
    font-size: large;
    font-weight: 700;
    color: white;
}
div#nameofrolle {
    position: absolute;
    top: 10%;
    text-align: left;
    left: 20%;
    max-width: 68%;
    font-size: large;
    font-weight: 700;
    color: white;
}

div#nameofakte {
    position: absolute;
    top: 6%;
    text-align: left;
    left: 16%;
    max-width: 68%;
    font-size: 14px;
    font-weight: 700;
    color: white;
}
div#forwuerfe {
    position: absolute;
    top: 21%;
    text-align: left;
    left: 16%;
    max-width: 68%;
    font-size: 11px;
    font-weight: 700;
    color: white;
}
.fallakte-vorwort {
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #fafafa;
    border: 2px solid #c0392b;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 0px -22px;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    line-height: 1.6;
    color: #222;
    float: left;
}
}