.container {
width:100%;
justify-content:center;
}
.controls {
display:block;
gap:8px;
justify-content:center;
text-align: center;
position: fixed;
top: 33px;
left: 50%;
height: 30px;
width: 160px;
transform: translateX(-50%);
background: #1f2d3a;
border-top: 0px solid rgba(194,171,88,0.8);
border-right: 1px solid rgba(194,171,88,0.8);
border-bottom: 0px solid rgba(194,171,88,0.8);
border-left: 1px solid rgba(194,171,88,0.8);
border-radius: 0 0 0 0;
box-shadow: 0;
margin: 0 auto;
padding: 10px;
z-index: 5;
}

@media (max-width: 600px) {
.controls {
  border-top: 0px solid rgba(194,171,88,0.8);
  border-bottom: 0px solid rgba(194,171,88,0.8);
  border-radius: 0 0 0 0;
}
}

/* Gemeinsames Button-Grunddesign */
.btn {
  padding: 14px 14px;
  border-radius: 50%;
  border: 2px solid #eee;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(145deg,#222,#111);
  color: #ffd97a;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.btn:hover {
  background: linear-gradient(145deg,#333,#111);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.btn:focus {
  outline: 3px solid #e9d79a;
  outline-offset: 2px;
}

/* Hintergrund pro Stil */
.btn.gold { background: linear-gradient(145deg,#e9d79a,#c2ab59); color:#111; }
.btn.blau { background: linear-gradient(145deg,#9fbcee,#6ea0ff); color:#111; }
.btn.gruen { background: linear-gradient(145deg,#b5e9af,#6fb76a); color:#111; }
.btn.rot { background: linear-gradient(145deg,#f5b4b4,#d46a6a); color:#111; }
.artikel{background-clip:padding-box;padding:0 20px 20px 20px;border-radius:12px;}

.artikel a {
  color: #c2ab59;
}

.artikel a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.zweispaltig{column-count:2;column-gap:20px;column-fill:balance; padding: 0px 10px 10px 10px ;}
@media (max-width:860px){.zweispaltig{column-count:1;column-gap:0;}.container{padding:0 0;}}
.container p.initial::first-letter{float:left;font-size:2.8rem;line-height:1;margin-right:8px;font-weight:700;}
.highlight{background:linear-gradient(90deg,#3a2b14 0%, #7b5f2f 100%);-webkit-background-clip:text;background-clip:text;color:#333;font-weight:700; text-align: center;}

/* ---------------- Allgemein ---------------- */

.container em,
.container code,
.container hr {
  margin: 0 0 0 0;
  line-height: 1.6;
  font-size: 0.9rem;
  color: #555;
  background: none;
}

/* ---------------- Stil A (Gelb/Gold) ---------------- */
.style-a .artikel { background: rgba(0,0,0,0.0); color: #efe8d8; border-radius: 0 0 8px 8px;}
.style-a .highlight { background: #c2ab59; -webkit-background-clip:text; color:transparent; }

/* Elemente */
.style-a em, .style-a code, .style-a hr {
  color: #555;
  background: rgba(0,0,0,0.0);
  padding: 0;
  border-radius: 4px;
}

.style-a hr { border:0; border-top:1px solid #555; margin:1rem 0; }
.style-a code { font-family: monospace; background: rgba(233,215,154,0.15); padding:2px 4px; }

/* ---------------- Stil B (Blau) ---------------- */
.style-b .artikel { background: rgba(11,15,26,0.0); color: #cfe0ff; border-radius: 0 0 8px 8px; }
.style-b .highlight { background: #c2ab59; -webkit-background-clip:text; color:transparent; }

/* Elemente */
.style-b em, .style-b code, .style-b hr {
  color: #555;
  background: rgba(0,0,0,0.0);
  padding: 0;
  border-radius: 4px;
}

.style-b hr { border:0; border-top:1px solid #555; margin:1rem 0; }
.style-b code { font-family: monospace; background: rgba(159,188,238,0.15); padding:2px 4px; }

/* ---------------- Stil C (Grün) ---------------- */
.style-c .artikel { background: rgba(11,15,26,0.0); color: rgba(200, 245, 180, 1); border-radius: 0 0 8px 8px; }
.style-c .highlight { color: #c2ab59; font-weight:700; }

/* Elemente */
.style-c em, .style-c code, .style-c hr {
  color: #555;
  background: rgba(0,0,0,0.0);
  padding: 0;
  border-radius: 4px;
}

.style-c hr { border:0; border-top:1px solid #555; margin:1rem 0; }
.style-c code { font-family: monospace; background: rgba(160,196,140,0.15); padding:2px 4px; }

/* ---------------- Stil D (Rot) ---------------- */
.style-d .artikel { background: rgba(11,15,26,0.0); color: rgba(245, 180, 180, 1); border-radius: 0 0 8px 8px; }
.style-d .highlight { background: #c2ab59; -webkit-background-clip:text; color:transparent; }

/* Elemente */
.style-d em, .style-d code, .style-d hr {
  color: #555;
  background: rgba(0,0,0,0.0);
  padding: 0;
  border-radius: 4px;
}

.style-d hr { border:0; border-top:1px solid #555; margin:1rem 0; }
.style-d code { font-family: monospace; background: rgba(217,136,136,0.15); padding:2px 4px; }

/* ---------------- Stil A (Gelb/Gold) ---------------- */
.style-a ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  color: #e9d79a;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  margin: 0 0 1rem 0;
}
.style-a ol li:hover { background: rgba(233,215,154,0.2); }

/* ---------------- Stil B (Blau) ---------------- */
.style-b ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  color: #9fbcee;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  margin: 0 0 1rem 0;
}
.style-b ol li:hover { background: rgba(159,188,238,0.2); }

/* ---------------- Stil C (Grün) ---------------- */
.style-c ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  color: #a0c48c;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  margin: 0 0 1rem 0;
}
.style-c ol li:hover { background: rgba(160,196,140,0.2); }

/* ---------------- Stil D (Rot) ---------------- */
.style-d ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  color: #d98888;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  margin: 0 0 1rem 0;
}
.style-d ol li:hover { background: rgba(217,136,136,0.2); }

.block {
    break-inside: avoid;
}

.container span {
    color: #c2ab59;
    padding: 2px 4px;
    font-size: 0.8rem;
}

.container span.gold {
    color: #000000;
    background: #c2ab59;
    padding: 2px 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.container span.gruen {
    color: darkgreen;
    background: darkseagreen;
    padding: 0 5px 0 5px;
    padding: 2px 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.container span.blau {
    color: darkblue;
    background: darkcyan;
    padding: 0 5px 0 5px;
    padding: 2px 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.container span.rot {
    color: darkred;
    background: darksalmon;
    padding: 0 5px 0 5px;
    padding: 2px 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 600px) {
.container span {
    color: #c2ab59;
    padding: 2px 4px;
    font-size: 0.6rem;
}
}

.linkliste span {
    display: inline-block;
    text-transform: uppercase;
    margin: 3px 6px;
    padding: 0 0 0 0px;
}

.linkliste a {
    color: #c2ab59;
    text-decoration: none;
}

.linkliste a:hover {
    text-decoration: underline;
}

.linkliste span.hell {
    color: #FFFFFF;
    background: darkred;
    padding: 0 5px 0 5px;
    font-size: 0.9rem;
}

.linkliste span.gold {
    color: #c2ab59;
    background: darkgreen;
    padding: 0 5px 0 5px;
    font-size: 0.9rem;
}

.linkliste span.dunkel {
    color: #000000;
    background: darkgrey;
    padding: 0 5px 0 5px;
    font-size: 0.9rem;
}

.linkliste span.rot {
    color: darkred;
    background: #888;
    padding: 0 5px 0 5px;
    font-size: 0.9rem;
}

.preview {
padding:0px;
justify-content:center; 
background: transparent;
color: #efe8d8;
border-top: 1px solid #555;
border-left: 8px solid #555; 
border-right: 8px solid #555;
border-bottom: 1px solid #555;
border-radius:12px;
}

@media (max-width: 600px) {
.preview {
display: block;
background: transparent;
box-shadow: none;
border-top: 0px; 
border-left: 0px;
border-right: 0px;
border-bottom: 0px;
margin: 0 10px;
padding: 0;
}
}

.container p {
    margin: 0 0 1rem 0;
    padding: 8px;
    line-height: 1.4;
    text-align: justify;
    font-size: 16px;
    background: rgba(33,33,33,0.0);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    break-inside: avoid;
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

.style-a p.initial::first-letter,
.style-b p.initial::first-letter,
.style-c p.initial::first-letter,
.style-d p.initial::first-letter {
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-left: 1px solid rgba(255,255,255,0.5);
    font-size:4rem;
    color:#c2ab59;
    font-family:Georgia,serif;
    padding: 10px 8px;
    background: #000000;
}

.style-a h1,
.style-b h1,
.style-c h1,
.style-d h1 {
    display: block;
    background: rgba(33,33,33,0.0);
    border-left: 4px solid #c2ab59;
    border-right: 4px solid #c2ab59;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 0px 0 5px 0;
    padding: 4px 6px;
    color: #c2ab59;
    text-align: left;
}

.style-a h2,
.style-b h2,
.style-c h2,
.style-d h2 {
  color: darkgrey;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0;
  border-left: 4px solid #c2ab59;
  border-right: 4px solid #c2ab59;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  border-radius: 4px;
  background: darkred;
  text-align: left;
  display: block;
  margin: 0px 0 5px 0;
  padding: 4px 6px;
}

.style-a h3,
.style-b h3,
.style-c h3,
.style-d h3 {
    display: block;
    background: rgba(33,33,33,0.0);
    border-left: 4px solid rgba(255,255,255,0.5);
    border-right: 4px solid rgba(255,255,255,0.5);
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.7rem;
    margin: 0px 0 5px 0;
    padding: 4px 6px;
    color: rgba(255,255,255,0.5);
    text-align: left;
}

.style-a h4,
.style-b h4,
.style-c h4,
.style-d h4 {
    display: block;
    background: rgba(33,33,33,0.0);
    border-left: 4px solid rgba(255,255,255,0.8);
    border-right: 4px solid rgba(255,255,255,0.8);
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.6rem;
    margin: 0px 0 5px 0;
    padding: 4px 6px;
    color: #eee;
    text-align: left;
}

.style-a h5,
.style-b h5,
.style-c h5,
.style-d h5 {
  color: #999;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  border-bottom: 1px solid #555;
  border-radius: 8px 8px 0 0;
  background: #1f2d3a;
  text-align: center;
  display: block;
  padding: 6px 8px;
  margin: 0px auto 20px auto;
}

.container blockquote,
.style-a blockquote,
.style-b blockquote,
.style-c blockquote,
.style-d blockquote {
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-left: 4px solid #c2ab59;
    border-radius: 4px;
    background: rgba(33,33,33,0.0);
    padding: 20px;
    position: relative;
    font-style: italic;
    color: #c2ab59;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #eee;
    break-inside: avoid;
}

.container blockquote:before,
.style-a blockquote:before,
.style-b blockquote:before,
.style-c blockquote:before,
.style-d blockquote:before {
    content: "❝";
    position: absolute;
    top: -12px;
    left: 5px;
    font-size: 30px;
    color: #c2ab59;
}

.container blockquote:after,
.style-a blockquote:after,
.style-b blockquote:after,
.style-c blockquote:after,
.style-d blockquote:after {
    content: "❞";
    position: absolute;
    bottom: -15px;
    right: 10px;
    font-size: 30px;
    color: #c2ab59;
    z-index: 1;
}

.container cite,
.style-a cite,
.style-b cite,
.style-c cite,
.style-d cite {
    display: block;
    text-align: right;
    font-style: italic;
    color: #c2ab59;
    margin: 0.5rem 0 0 0;
    padding-right: 20px;
    z-index: -1;
    break-inside: avoid;
}

/* Grundstil für alle ULs */
.container ul,
.style-a ul,
.style-b ul,
.style-c ul,
.style-d ul {
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-left: 4px solid #c2ab59;
    background: rgba(33,33,33,0.0);
    padding: 10px 10px 10px 10px;
    list-style: none;
    counter-reset: item;
    position: relative;
    break-inside: avoid;
}

/* Klassische Disc */
.container ul.disc,
.style-a ul.disc,
.style-b ul.disc,
.style-c ul.disc,
.style-d ul.disc {
    list-style-type: disc;
    color: #c2ab59;
}

/* Disc-Variante 1: Kreis-markiert (●) */
.container ul.disc-big,
.style-a ul.disc-big,
.style-b ul.disc-big,
.style-c ul.disc-big,
.style-d ul.disc-big {
    list-style-type: none;
}
.container ul.disc-big li::before,
.style-a ul.disc-big li::before,
.style-b ul.disc-big li::before,
.style-c ul.disc-big li::before,
.style-d ul.disc-big li::before {
    content: "● ";
    color: #eee;
    font-size: 30px;
    position: absolute;
    top: -15px;
    left: 10px;
}

/* Disc-Variante 2: Quadrat (■) */
.container ul.disc-square,
.style-a ul.disc-square,
.style-b ul.disc-square,
.style-c ul.disc-square,
.style-d ul.disc-square {
    list-style-type: none;
}
.container ul.disc-square li::before,
.style-a ul.disc-square li::before,
.style-b ul.disc-square li::before,
.style-c ul.disc-square li::before,
.style-d ul.disc-square li::before {
    content: "■ ";
    color: #eee;
    font-size: 30px;
    position: absolute;
    top: -14px;
    left: 10px;
}

/* Disc-Variante 3: Pfeil (➤) */
.container ul.disc-arrow,
.style-a ul.disc-arrow,
.style-b ul.disc-arrow,
.style-c ul.disc-arrow,
.style-d ul.disc-arrow {
    list-style-type: none;
}
.container ul.disc-arrow li::before,
.style-a ul.disc-arrow li::before,
.style-b ul.disc-arrow li::before,
.style-c ul.disc-arrow li::before,
.style-d ul.disc-arrow li::before {
    content: "-➤ ";
    color: #eee;
    font-size: 12px;
    position: absolute;
    top: 2px;
    left: 10px;
}

/* Zahlen */
.container ul.numbers,
.style-a ul.numbers,
.style-b ul.numbers,
.style-c ul.numbers,
.style-d ul.numbers {
    list-style-type: none;
}
.container ul.numbers li::before,
.style-a ul.numbers li::before,
.style-b ul.numbers li::before,
.style-c ul.numbers li::before,
.style-d ul.numbers li::before {
    counter-increment: item;
    content: counter(item) ". ";
    color: #eee;
    position: absolute;
    top: 0px;
    left: 10px;
}

/* Alphabet */
.container ul.alpha,
.style-a ul.alpha,
.style-b ul.alpha,
.style-c ul.alpha,
.style-d ul.alpha {
    list-style-type: none;
}
.container ul.alpha li::before,
.style-a ul.alpha li::before,
.style-b ul.alpha li::before,
.style-c ul.alpha li::before,
.style-d ul.alpha li::before {
    counter-increment: item;
    content: counter(item, upper-alpha) ". ";
    color: #eee;
    position: absolute;
    top: 0px;
    left: 10px;
}

/* Li-Padding für Text nach den Zeichen */
.container li,
.style-a li,
.style-b li,
.style-c li,
.style-d li {
    padding-left: 40px;
    margin: 5px auto;
    position: relative;
    margin: 1rem 0 1rem 0;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #c2ab59;
}

.style-a li:hover,
.style-b li:hover,
.style-c li:hover,
.style-d li:hover {
    background: rgba(233,215,154,0.2);
}


/* IMAGE-GALERIE */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    background: Transparent;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
}

/* Überschrift */
.image-h5 h5 {
    display: table;
    min-width: 500px;
    color: #999;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    border-right: 8px solid #555;
    border-left: 8px solid #555;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    background: #1f2d3a;
    border-radius: 8px;
    margin: 0 auto;
    padding: 6px 8px;
}

@media (max-width: 600px) {
	.image-h5 h5 {
        margin: 20px 0 0 0;
        font-size: 0.9rem;
	}
}

/* Elemente */
.image-item {
    position: relative;
    cursor: pointer;
    min-width: 100px;
    min-height: 100px;
    display: block;
    padding: 10px 0;
    overflow: visible;
}

/* Bilder und Videos einheitlich */
.image-item img,
.image-item video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border: 1px solid #fff;
    display: block;
}

/* Hover-Effekt für beide */
.image-item:hover img,
.image-item:hover video {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .image-gallery {
        gap: 5px;
        background: none;
        padding: 0 0 20px 0;
        margin: 0;
    }

    .image-item img,
    .image-item video {
        height: 100px;
        width: 100%;
        object-fit: contain;
        border: 1px solid #ddd;
    }

    .image-item {
        flex: 1 1 45%;
    }
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 5px 8px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-item:hover .overlay {
    opacity: 1;
}

/* Varianten – gelten jetzt für Bilder UND Videos */
.image-gallery.normal .image-item img,
.image-gallery.normal .image-item video {
    height: 150px;
}

.image-gallery.small .image-item img,
.image-gallery.small .image-item video {
    height: 100px;
}

.image-gallery.full .image-item img,
.image-gallery.full .image-item video {
    height: 250px;
    width: auto;
}

/* Basis für alle Bilder */
.artikel img {
    display: block;
    min-width: 100px;
    min-height: 100px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.artikel .img-link {
    display: block;
    text-decoration: none;
    text-shadow: none;
    border: none;
    border-radius: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

/* Größen */
.artikel .img-small { width: 100px; }
.artikel .img-medium { width: 200px; }
.artikel .img-large { width: 400px; }
.artikel .img-full { width: 100%; }

/* Hover-Effekte */
.artikel .img-small:hover,
.artikel .img-medium:hover,
.artikel .img-large:hover,
.artikel .img-full:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Float-Varianten für alle Größen */
.artikel .img-small.float-left,
.artikel .img-medium.float-left,
.artikel .img-large.float-left,
.artikel .img-full.float-left {
    float: left;
    margin: 0px 10px 0px 0px; /* Abstand rechts und unten */
}

.artikel .img-small.float-right,
.artikel .img-medium.float-right,
.artikel .img-large.float-right,
.artikel .img-full.float-right {
    float: right;
    margin: 0px 0px 0px 10px; /* Abstand links und unten */
}

/* Optional: clear nach Absätzen */
.artikel p::after {
    content: "";
    display: block;
    clear: both;
}

/* Optional: runde Ecken */
.artikel .img-rounded { border-radius: 5px; }

/* Optional: Rahmen */
.artikel .img-bordered { 
	border: 1px solid #ccc; 
	padding: 2px;
	border: 1px solid rgba(255,255,255,0.5);
}

/* Zentrierung im Container */
.artikel .img-center { display: block; margin-left: auto; margin-right: auto; }

/* Divider */
.divider {
width: 100%;
height: 0.5px;
background: rgba(255, 255, 255, 0.3);
margin: 0.5rem 0;
}