/* DEPLOY-TEST-MARKER-16-50-UHR */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth; 
}

img {
    max-width: 100%;
    height: auto;
}

iframe#hero-video {
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

/* YouTube-Embeds: nie breiter als der Text, auf dem Smartphone volle Breite (16:9) */
/* Seitenverhältnis kommt aus width/height des Einbettungscodes (per PHP als inline aspect-ratio
   gesetzt), sonst 16:9. !important, damit Custom CSS oder inline-Breiten das nicht aushebeln. */
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="youtu.be"] {
    max-width: 100% !important;
}
@media (max-width: 900px) {
    iframe[src*="youtube.com"],
    iframe[src*="youtube-nocookie.com"],
    iframe[src*="youtu.be"] {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

body {
    margin: 0px;
    overflow-x: hidden;
    font-family: 'Open Sans', Tahoma, Verdana, Arial, "sans-serif";
    font-size: 20px;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

.cms_bar a,
.hidden_link {
    text-decoration: none;
}



body.indexbody,
body.imprintbody {
    background-image: url("uploads/bgimage.jpg"); 
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .3);
/*     background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2)), url('uploads/bgimage.jpg');*/
 }

a.filebutton, a.button {
  font-family: Tahoma, "Open Sans", Arial, sans-serif;
  font-size: 18px;
  padding: 7px;
  background-color: #ccc;
  border-radius: 3px;
  border: 1px solid darkslategray;
  color: #222;
}

a.escape-button, button.escape-button {
    padding: 5px;
	font-size: 18px;
	font-weight: normal;
	background-color: #eee;
	border: solid darkslategray 1px;
	color: #222;
	font-family: Tahoma, "Open Sans", Arial, sans-serif;

}

a.button-big {
	    font-size: 30px !important;
		border: solid black 2px;
		padding: 6px 6px 6px 6px;
	    margin-top: 80px !important;
		text-decoration: none;
        background-color: lightgrey;
		color: black;
}
 	
.small-button {
    padding: 3px 6px;
    font-size: 14px;
}

/* 
button#newbackup{
	
} */
.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}


div.loginbar {
	border: solid black 2px;
	z-index: 10001;
	height: auto;
	min-height: 100px;
	width: 100%;
	box-sizing: border-box;
	font-size: 40px !important;
	text-align: center;
}

body > div > div.loginbox > form > input[type=password], body > div > div.loginbox > form > input[type=password], body > div > div.loginbox > form > button, body > div > div.loginbox > form > a {
	background-color: white;
	z-index: 10000;
	text-align: left;
	height: 30px;
	font-size: 20px !important;
	border: solid black 2px;
	padding-left: 10px
}

body > div > div.loginbox > form > a {
	height: 80px !important;
}


header.header {
    background-color: unset;
}

 i.fa-css3-alt, i.fa-pen-to-square { 
    color: red;
    font-size: 100px;
}

div#bodywrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.admin-mode div#bodywrapper {
    margin-top: 45px !important;
}

/* Session-Indikator: zeigt Session-Status rechts oben an */
#session-indicator {
    display: none;
}

@keyframes session-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

#session-indicator.session-indicator--alone {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(50, 200, 80, 0.85);
    z-index: 9999;
    cursor: default;
}

#session-indicator.session-indicator--idle {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 200, 0, 0.85);
    z-index: 9999;
    cursor: default;
}

#session-indicator.session-indicator--active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(220, 50, 50, 0.9);
    z-index: 9999;
    cursor: default;
    animation: session-blink 2s ease-in-out infinite;
}
}

div.sb-content {
  width:100%;
}

div#socialwall{
    max-width:1000px;
}


.js-hidden{
    visibility: hidden !important;
    display:none !important;
}

body > header > div.header_logo > div > p > a,
body > header > div.header_text > div > p > a {
    text-decoration: none;
}

div.header_text {
    padding: 0px 10px 0px 10px;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
}

.lang-switch {
    text-align: right;
    font-size: 13px;
    margin-bottom: 6px;
}
.lang-switch a {
    opacity: 0.6;
    text-decoration: none !important;
}
.lang-switch a:hover {
    opacity: 1;
}
.lang-switch a.lang-switch--active {
    opacity: 1;
    font-weight: bold;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

a:hover{
    filter: opacity(70%);
}

.facebook-feed a {
    color: black !important;
}

footer>div.wrap>p>a,
header>div.wrap>p>a,
div.maintext>div.wrap>p>a,
div.maintext>div.wrap>a {
    text-decoration: underline;
    font-weight: normal;
    /* white-space: nowrap; */
    word-wrap: break-word;
}

div.wrap {
max-width: 1000px;
}

div.newsletter,
div.socialwall,
div.soundcloud {
    width: 100%;
}

header > div.header_logo{
    max-width: 1000px;
}
header div.header_logo img {
    filter: opacity(85%);
}

.content {
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    margin: 0px 0px 0px 0px;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.content_bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.maintext {
    width: 100%;
    box-sizing: border-box;
}

.pic {
    max-width: 300px;
}

.icon {
    height: 16px;
}

h1, h2, h3, h4 {
    font-family: Bangers, Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
    word-wrap: break-word;
    letter-spacing: 0.1em;
}

/* Abstand zwischen Überschrift und folgendem Text: fest 20px (Überschriften mit line-height 1) */
h1, h2, h3 {
    margin-bottom: 0;
}
h1 + p, h2 + p, h3 + p,
h1 + .audio-player, h2 + .audio-player, h3 + .audio-player,
h1 + .video-player, h2 + .video-player, h3 + .video-player {
    margin-top: 20px;
}

h1>a, h2>a, h3>a  {
    text-decoration: none;
    word-wrap: break-word;
}

h1 {
    font-size: 50px;
/*     margin-top: 60px; */
}

h2 {
    font-size: 40px;
}

h3 {
   font-size: 34px;
}

h4 {
   font-size: 24px;
   margin-bottom: -14px;
}


header,
header>a {
    padding-bottom: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    width:100%;
    max-width: 1000px;
    margin: 0 auto;
}

footer {
    padding: 0px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.15);
}

footer .wrap {
    max-width: 1000px;
    width: 100%;
}

.social-links {
    display: flex;
    gap: 2.5em;
    justify-content: center;
}

a.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
    text-decoration: none;
}

a.social-link::before,
a.social-link::after {
    content: none !important;
}

a.social-link i {
    font-size: 2em;
}

a.social-link span {
    font-size: 0.75em;
    letter-spacing: 0.05em;
}

footer a.impressum-link {
    font-size: 12px;
    opacity: 0.5;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

footer a.impressum-link:hover {
    opacity: 1;
}
a#headertext{
    padding:0px;
    text-decoration: none;
}
.lefttext, .righttext {
    text-align: left;
    padding: 5px 25px 25px 25px;
}


@media all and (min-width:800px) {
    .maintext, .maintext2, .maintext3, .maintext4 {
        margin: 5px 25px 0px 25px;
        width: 100%;
        text-align: center;
    }
    .fotos {
        display:flex;
    }
}

/* ==================================================
   TWO-COLUMNS
================================================== */

.two-columns {
    display: flex;
    gap: 2em;
    align-items: flex-start;
    margin: 1em 0;
}

.two-columns > div {
    flex: 1;
    min-width: 0;
}

.two-columns img {
    max-width: 100%;
    height: auto;
}

/* ==================================================
   LAYOUT: LINKSBÜNDIG
================================================== */

body.layout-left #bodywrapper {
    align-items: flex-start;
}

body.layout-left header {
    align-items: flex-start;
    text-align: left;
    margin: 0;
}

body.layout-left .content {
    justify-content: flex-start;
    text-align: left;
}

body.layout-left .content_bg {
    align-items: flex-start;
}

body.layout-left div.wrap {
    text-align: left;
}

body.layout-left footer {
    align-items: flex-start;
    text-align: left;
    margin: 0;
}

body.layout-left .social-links {
    justify-content: flex-start;
}

body.imprintbody.layout-left header,
body.imprintbody.layout-left footer {
    padding-left: 25px;
    padding-right: 25px;
}

body.imprintbody .maintext {
    margin-left: 25px;
    margin-right: 25px;
}

/* ==================================================
   SESSION EXPIRED OVERLAY
================================================== */

#session-expired-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#session-expired-overlay .loginbox {
    background: #fff;
    border-radius: 10px;
    padding: 32px 36px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    min-width: 300px;
    text-align: center;
}

#session-expired-overlay .loginbox p {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#session-expired-overlay .loginbox form {
    display: flex;
    gap: 8px;
    justify-content: center;
}

#session-expired-overlay .loginbox input[type=password] {
    flex: 1;
    height: 36px;
    font-size: 15px !important;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding-left: 10px;
    background: #fff;
}

#session-expired-overlay .loginbox button {
    height: 36px;
    font-size: 15px !important;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 0 16px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

/* ==================================================
   BGIMAGE TOGGLE
================================================== */

body.indexbody.bgimage-off {
    background-image: none !important;
    box-shadow: none !important;
}

/* ==================================================
   CSS DRAWER
================================================== */

.css-drawer {
    position: fixed;
    top: 44px;
    left: -520px;
    width: 500px;
    bottom: 0;
    z-index: 9000;
    background: #282a36;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
    text-align: left;
}

.css-drawer--open {
    left: 0;
}

.css-drawer__header {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #1e1f29;
    gap: 8px;
    flex-shrink: 0;
}

.css-drawer__title {
    font-family: monospace;
    font-size: 14px;
    font-weight: bold;
    color: #f8f8f2;
}

.css-drawer__feedback {
    font-family: monospace;
    font-size: 12px;
    color: #50fa7b;
    margin-left: auto;
}

.css-drawer__close {
    background: none;
    border: none;
    color: #f8f8f2;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.7;
}

.css-drawer__close:hover { opacity: 1; }

.css-drawer__body {
    flex: 1;
    overflow: hidden;
}

.css-drawer__body .CodeMirror {
    height: 100%;
    font-size: 13px;
    font-family: 'Fira Mono', 'Consolas', monospace;
}

.CodeMirror-hints {
    z-index: 9500 !important;
}

.css-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 8999;
}

.css-drawer-overlay--visible {
    display: block;
}

button.html-drawer-btn {
    left: 36px !important;
    border-radius: 0 0 3px 0;
}

.css-drawer-btn {
    position: fixed;
    top: 44px;
    left: 0;
    z-index: 9001;
    background: black;
    color: white;
    border: none;
    border-radius: 0 0 3px 0;
    cursor: pointer;
    font-family: monospace;
    font-size: 9px;
    padding: 0;
    height: 14px;
    line-height: 14px;
    width: 30px;
    text-align: center;
    opacity: 0.6;
}
button.css-drawer-btn:hover { opacity: 1; }

button.snapshot-drawer-btn {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9001;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0.75;
    width: 36px;
    height: 30px;
    font-size: 15px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
button.snapshot-drawer-btn:hover { opacity: 1; }

.quick-snapshot-popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9002;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
}

.quick-snapshot-popover input[type="text"] {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    width: 160px;
}

.quick-snapshot-popover button#quickSnapshotSave {
    padding: 4px 10px;
    border: none;
    border-radius: 3px;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}

.quick-snapshot-popover button#quickSnapshotSave:disabled {
    opacity: 0.6;
    cursor: default;
}

.quick-snapshot-cancel {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #999;
    padding: 0 2px;
}
.quick-snapshot-cancel:hover { color: #333; }

.quick-snapshot-feedback {
    font-size: 12px;
    color: #2a8c2a;
    white-space: nowrap;
}

.backup-auto-badge {
    display: inline-block;
    background: #888;
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 3px;
    padding: 1px 5px;
    margin-right: 6px;
    vertical-align: middle;
}

.backup-col > h1 {
    margin-top: 0;
}

.backup-col--fullbackups {
    margin-top: 48px;
}

.backup-fb-desc {
    margin-top: -8px;
    margin-bottom: 16px;
    opacity: 0.75;
    font-size: 14px;
}

.backup-fb-dl {
    color: #222;
    text-decoration: none;
    border-bottom: 1px dashed #aaa;
    font-family: monospace;
    font-size: 12.5px;
}
.backup-fb-dl:hover {
    color: #000;
    border-bottom-color: #222;
}
.backup-fb-dl:visited {
    color: #222;
}

.backup-lock-cell {
    width: 1%;
    text-align: center;
}
.backup-lock-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    cursor: pointer;
    color: #bbb;
}
.backup-lock-label .fa-lock {
    color: #a00;
}
.backup-lock-label:hover .fa-lock-open {
    color: #777;
}
.backup-lock-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 1900px) {
    .wrapper:has(.backup-col) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 48px;
        align-items: start;
        max-width: 1800px;
    }
    .wrapper:has(.backup-col) > .upload-messages {
        grid-column: 1 / -1;
    }
    .backup-col--fullbackups {
        margin-top: 0;
    }
}

/* ==================================================
   INLINE EDITING
================================================== */

.inline-edit-block {
    position: relative;
    margin: 4px 0;
    width: 100%;
    box-sizing: border-box;
}

.inline-edit-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 17px;
    cursor: pointer;
    line-height: 1.2;
    user-select: none;
    pointer-events: auto;
}

.inline-rendered {
    cursor: pointer;
    border-radius: 4px;
    border: 4px dashed darkgrey;
    box-sizing: border-box;
    width: 100%;
    opacity: 0.85;
}

.inline-rendered:hover {
    opacity: 1;
}

.inline-rendered * {
    pointer-events: none;
}

.inline-rendered a {
    pointer-events: auto;
}

.inline-editable {
    display: none;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    min-height: 12em;
    padding: 10px 16px;
    border: 4px solid #000;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: #000;
    background: lightgrey;
    resize: none;
    overflow-y: hidden;
    outline: none;
    box-sizing: border-box;
}

.inline-save-feedback {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    font-weight: bold;
    font-family: monospace;
    color: #000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* BETTER DO NOT DELETE CODE BELOW HERE */

/* CMS functions */
textarea {
    width: 100%;
    max-width: 400px;
    height: 300px;
}


.editform{
    position: fixed;
    top: 51px;
    left: 0px;
    background-color: #f7f7f7;
    padding: 10px;
    border: 1px solid black;
}

.anchor {
    margin: 0px;
    padding: 0px;
}

hr {
    border: 1px solid black;
    width: 100%;
    max-width: 998px;
}

ul, ol {
  display: inline-block;
  text-align: left;
  padding-left: 0px;
}

ul li ul, ol li ul {
    display:block;
}

.cms_version {
    display: block;
    text-align: right;
    padding: 4px 10px;
    font-family: monospace;
    font-size: 11px;
    pointer-events: none;
}

div.fixed_bar{
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: Bangers, "Open Sans", Tahoma, "sans-serif" !important;
    background: aqua;
    color: black;
    font-size:14px;
    padding:4px;
    top: 0;
    left: 0;
    border: solid black 2px;
    letter-spacing:2px;
}




.fixed_bar  {
/*    position: fixedd
    width: 100%;
    height: 40px;   -- wichtig! feste Höhe */
    z-index: 9999;
}

.wrapper {
    margin-top: 0;
}

select {
	border: 2px solid black;
}


div.colorselect {
    margin-bottom: 3px;
}

div.fontselect, div.fontselect2 {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2px;
}

div.fontselect label, div.fontselect2 label {
    margin-right: 4px;
}

div.fontselect select, div.fontselect2 select {
    margin-right: 4px;
}

div.savebutton {
    text-align:right;
}

a#inactive {
    text-decoration: none;
    text-shadow: none!important;
    color:darkgrey;
}
a#inactive:hover{
    text-decoration: underline;
    color:white;
}
a.cms_link, span.cms_link {
    color: inherit;
    font-family: Bangers, "Open Sans", Tahoma, "sans-serif";
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20px;
}

span.cms_link {
    color: #666;
    text-decoration: line-through;
}

a.cms_link:active{color:red;}

#styleForm {
    display:flex;
    align-items: center;

}

#styleForm > label{
    font-size: 13px;
	margin-right: 5px;			   
}

#styleForm > input {
    width:27px;
    height:24px;
	border: 2px solid darkgray;
}

#styleForm > input#submitButton {
width: unset;
height: unset;
margin: 6px;
padding: 0px 4px 0px 4px;
font-size: 14px;
border: 2px solid black;
}

/* customcss anchor – keine Höhe, kein Layout-Einfluss */
a#customcss {
    display: block;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.hidden_link{
    left: 0px;
    top: 0px;
    position: absolute;
    height: 20px;
    width: 20px;
}

.backup_warning{
    position: fixed;
    right: 0px;
    top: 0px;
    background-color: yellow;
    padding: 10px;
    font-weight: bold;
    color: black;
	font-size: 24px;
    text-decoration: none;
	border: 2px solid black;

}


/* Change color of edit-icon here */
.edit_icon:before {
    content:"\f14b";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;	
    color:yellow;
	text-decoration: none;
}

.cms_icon:before {
    content:"\f14c";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 40px;	
    color:black;
	text-decoration: none;
}	

.fa-css3-alt:before {
    content:"\f13c";
    /*content:"\e6a2"; */
	font-family: "Font Awesome 6 Brands";
    font-weight: 900;
    font-size: 40px;	
    color:yellow;
}

/* auto-icons for pdf, zip, instagram, tel: and mailto: links */

a[href^="tel:"]::before {
    content:"\f095";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}


a[href^="mailto:"]::before {
    content:"\f0e0";
	font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-right: 6px;
}

/* :not(#eapps-instagram-feed-1>a:before)  */

a[href*="https"]::before {
    content:"\f35d";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

/* Kalender-Icon für ICS-Links – nach HTTPS-Regel damit Spezifität gewinnt */
a[href*="cal=ics"]::before,
a[href$=".ics"]::before {
    content:"\f073" !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

a:has(img)::before {
    content: none !important;
}

/* Audio-Player: ![Titel](uploads/datei.mp3) */
.audio-player {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0.8em auto;
}
body.layout-left .audio-player {
    margin-left: 0;
}
.audio-player__title {
    display: block;
    font-size: 0.85em;
    margin-bottom: 4px;
}
/* Player allein im Absatz: Titel als h4 mit Headline-Schrift */
.audio-player--block {
    margin: 1.4em auto;
}
h4.audio-player__title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 10px 0;
}
@media (max-width: 900px) {
    h4.audio-player__title { font-size: 20px; }
}

/* Video-Player: ![Titel](uploads/film.mp4) */
.video-player {
    display: block;
    width: 100%;
    margin: 1.4em auto;
}
.video-player video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}
.video-player__title {
    display: block;
    font-size: 0.85em;
    margin-bottom: 4px;
}
body.layout-left .video-player {
    margin-left: 0;
}
h4.video-player__title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 10px 0;
}
@media (max-width: 900px) {
    h4.video-player__title { font-size: 20px; }
}
.audio-player audio {
    display: block;
    width: 100%;
}

header a[href*="speisekarte"] {
border: 2px solid black;
padding: 10px;
background-color: white;
color: black !important;
}


a[href*="instagram.com"]::before {
    content:"\f16d";
    font-family: "Font Awesome 6 Brands";
    margin-right: 8px;
    font-size: 52px;
    vertical-align: middle;
}

.imprintbody a[href*="instagram.com"]::before {
    content:"\f16d";
    font-family: "Font Awesome 6 Brands";
    margin-right: 6px;
    font-size: 20px;
    color: black;
}

a[href*="facebook.com"]::before {
    content:"\f09a";
    font-family: "Font Awesome 6 Brands";
    margin-right: 8px;
    font-size: 52px;
    vertical-align: middle;
}

.imprintbody a[href*="facebook.com"]::before {
    content:"\f09a";
    font-family: "Font Awesome 6 Brands";
    margin-right: 6px;
    font-size: 20px;
    color: black;
}

a[href*="soundcloud.com"]::before {
    content:"\f1be";
	font-family: "Font Awesome 6 Brands";
    margin-right: 6px;
}

.wrap a[href$=".pdf"]::before {
    content:"\f15c";
	font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-right: 6px;
}

.wrap a[href$=".zip"]::before {
    content:"\f1c6";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

/* Icons nicht unterstreichen */
a[href^="tel:"]::before,
a[href^="mailto:"]::before,
a[href*="https"]::before,
a[href*="cal=ics"]::before,
a[href$=".ics"]::before,
a[href$=".pdf"]::before,
a[href$=".zip"]::before,
a[href*="instagram"]::before,
a[href*="facebook"]::before {
    display: inline-block;
    text-decoration: none;
}

/* a.email-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    border: none;
}

a.email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

a.email-button:active {
    transform: translateY(0);
}
 */
/* für help.php */

body.helpbody {
	background-color: #eee !important;
    padding-top: 45px;
}

body.helpbody ul,
body.helpbody ol {
    padding-left: 29px;
}




/* für upload.php */

body.uploadbody{
    font-family: Tahoma, Geneva, Verdana, sans-serif;
	background-color: #eee;
}

.uploadwrap {
    padding-left: 20px;
    padding-top: 40px;
    line-height: 30px;
}
.cms_bar>a {
    font-weight: normal;
}

a.fileinuse {
    color: #06af06 !important;
}

ul.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

li.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #ddd;
}

button.btn-trash-delete {
    background: white;
    border: 2px solid black;
    color: #a00;
    border-radius: 3px;
    padding: 2px 10px;
    cursor: pointer;
    font-size: inherit;
}

button.btn-trash-delete:hover {
    background: #a00;
    border-color: #a00;
    color: #fff;
}

img.file-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    border: 1px solid #ccc;
}

i.file-icon {
    width: 40px;
    text-align: center;
    font-size: 28px;
    flex-shrink: 0;
    color: #666;
}

.message {
    position: absolute; 
	color: black;
    background-color: yellow;
    padding: 6px;
	margin-top: 45px;	  
}

.uploadwrap h1 {
    font-size: 40px;
    margin-bottom: 40px;
}

.uploadwrap h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.uploadwrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.uploadwrap li {
    margin-bottom: 0px;
}

.uploadwrap a {
    color: #666;
    text-decoration: none;
    font-weight: normal;
}

button, a.filebutton, a.button {
  font-family: "Open Sans", Tahoma, Arial, sans-serif;
  text-decoration: none;
  font-weight: normal;
  font-size: 20px;
  height: 36px;
  padding: 0px 5px;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid black;
  color: black;
}

button.plusminus {
	font-size: 13px !important;
	height: 21px !important;
	width: 21px !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}

div.fontselect > button,
div.fontselect2 > button {
  width: 21px !important;
  height: 21px !important;
}

div.fontselect select,
div.fontselect2 select {
  margin-right: 2px;
}

div.fontselect label,
div.fontselect2 label {
  margin-right: 4px;
}

a.button-big {
	    font-size: 30px !important;
		border: solid black 2px;
		padding: 6px 6px 6px 6px;
		background-color: orange;
	    margin-top: 40px !important;
}
	
button.button {
    background-color: aqua;
	font-size: 20px;
}

.small-button {
    padding: 3px 6px;
    font-size: 14px;
}


input[type="file"],
input[type="submit"] {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    padding: 5px 10px;
    background-color: #ccc;
    border: solid black 2px;
    border-radius: 2px;
    cursor: pointer;
}

.alert {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 3px;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
}

.alert-error {
    background-color: #f2dede;
    color: #a94442;
}

.upload-list {
    margin-top: 20px;
}

.upload-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upload-list li a {
    flex-grow: 1;
    margin-right: 10px;
}

.copy-message {
    display: inline-block;
    margin-left: 10px;
    color: red;
    font-size: 13px;
}

/* für backup.php */

body.backupbody {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    margin: 30px;
    background-color: #eee;
    background-image: none;
}
body.backupbody .wrapper {
    max-width: 900px;
    padding: 0;
}
body.backupbody h1 {
    margin-bottom: 6px;
}

.backup-intro {
    color: #666;
    font-size: 14px;
    margin: 0 0 24px 0;
}

/* Erstellen-Formular (unter der Liste) */
.backup-create-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}
.backup-note-input {
    flex: 1;
    max-width: 340px;
    padding: 7px 10px;
    border: 2px solid #bbb;
    border-radius: 3px;
    font-size: 14px;
    font-family: Tahoma, sans-serif;
}
.backup-note-input:focus {
    outline: none;
    border-color: #888;
}

/* Snapshot-Tabelle */
.backup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}
.backup-table td {
    padding: 5px 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    white-space: nowrap;
}
.backup-table th {
    padding: 6px 12px;
    text-align: left;
    white-space: nowrap;
    font-size: 13px;
}
.backup-filecount {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}
.backup-table tr:last-child td {
    border-bottom: none;
}
.backup-table tr:hover td {
    background: #f8f8f8;
}
.backup-nonote {
    color: #bbb;
}
.backup-note-cell {
    color: #444;
    font-style: italic;
    width: 100%;
}
.backup-note-editable {
    display: inline-block;
    min-width: 40px;
    outline: none;
    font-style: italic;
    color: #444;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.15s;
}
.backup-note-editable:hover,
.backup-note-editable:focus {
    border-bottom-color: #aaa;
}
.backup-note-editable:empty::before {
    content: 'Notiz hinzufügen...';
    color: #ccc;
    font-style: italic;
}
.backup-feedback {
    margin-left: 8px;
    color: mediumseagreen;
    font-style: italic;
    font-size: 12px;
    visibility: hidden;
    display: inline;
}
.backup-note-editable {
    display: inline-block;
    min-width: 40px;
    outline: none;
    border-bottom: 1px dashed #bbb;
    cursor: text;
    font-style: italic;
    color: #444;
    padding: 1px 3px;
}
.backup-note-editable:focus {
    border-bottom-color: #555;
    background: #fffff0;
}
.backup-note-placeholder {
    color: #bbb;
}
.backup-note-feedback {
    margin-left: 6px;
    font-size: 12px;
    font-style: normal;
}
.backup-version-warn {
    cursor: help;
}
.backup-row--mismatch-info td {
    font-size: 12px;
    color: #8a6000;
    background: #fffbe6;
    padding: 4px 12px 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}
.backup-empty {
    color: #888;
    font-style: italic;
}

/* Live-Zeile */
.backup-row--live td {
    border-bottom: 2px solid #222;
    font-weight: bold;
}
.backup-table tr.backup-row--live:hover td {
    background: #f8f8f8;
}

/* Aktionen */
.backup-actions {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}
.backup-inline-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* Buttons */
.backup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    padding: 0 12px;
    height: 24px;
    font-size: 12px;
    line-height: 1;
    font-family: Tahoma, sans-serif;
    border: 1px solid #222;
    border-radius: 3px;
    background: #fff;
    color: #222;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    transition: background 0.15s, color 0.15s;
}
.backup-actions .backup-btn {
    margin-left: 4px;
}

.backup-btn--primary {
    height: 30px;
    padding: 0 18px;
    background: #222;
    color: #fff;
    border-color: #222;
    font-size: 14px;
}
.backup-btn--primary:hover {
    background: #444;
    border-color: #444;
}
.backup-btn--small {
    /* teilt sich die Basishöhe mit .backup-btn - eigene Zeile nur noch fuer evtl. Sonderfaelle */
}
.backup-btn--restore {
    border-color: #2a6a2a;
    color: #2a6a2a;
}
.backup-btn--restore:hover {
    background: #2a6a2a;
    color: #fff;
}
.backup-btn--delete {
    border-color: #a00;
    color: #a00;
}
.backup-btn--delete:hover {
    background: #a00;
    color: #fff;
}

/* ==================================================
   PREVIEW BANNER
================================================== */

.preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: #1a1a2e;
    color: #fff;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.preview-banner__label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    opacity: 0.7;
    margin-right: 4px;
}
.preview-banner__warn {
    color: #ffd966;
}
.preview-banner__select {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 3px;
    font-size: 13px;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    padding: 3px 8px;
    cursor: pointer;
    max-width: 340px;
}
.preview-banner__select option {
    background: #1a1a2e;
    color: #fff;
}
.preview-banner__btn {
    border: none;
    border-radius: 3px;
    font-size: 12px;
    padding: 5px 13px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    transition: filter 0.15s;
    display: inline-block;
}
.preview-banner__btn:hover {
    filter: brightness(1.15);
}
.preview-banner__btn--edit {
    background: #2c6e2c;
    color: #fff;
}
.preview-banner__btn--activate {
    background: #2c6e2c;
    color: #fff;
}
.preview-banner__btn--delete {
    background: #c0392b;
    color: #fff;
}
.preview-banner__back {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    transition: background 0.15s;
}
.preview-banner__back:hover {
    background: rgba(255,255,255,0.15);
}
.preview-banner__hint {
    color: #fff;
    opacity: 0.6;
    font-size: 12px;
    white-space: nowrap;
}



.menu-disabled {
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;	
    font-size: 20px !important;
}




/* ==================================================
   CMS MENU: Aktiver Menüpunkt + animierte Unterstreichung
================================================== */

a.cms_link {
    position: relative;
    display: inline-block;
}

/* Unterstreichung nur für Links MIT Text, nicht für das Icon */
a.cms_link:not(.cms_link--icon)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.25s ease;
}

a.cms_link:not(.cms_link--icon):hover::after {
    width: 100%;
}

a.cms_link--active:not(.cms_link--icon)::after {
    width: 100%;
}

/* ==================================================
   EDITFORM: Speichern & Schließen Button
================================================== */

button.btn-save-close {
    background-color: #222;
    color: #fff;
    border-color: #222;
    margin-left: 6px;
}

button.btn-save-close:hover {
    background-color: #444;
    border-color: #444;
}


/* ==================================================
   GO SLOW Seite (Backup-in-Backup Warnung)
================================================== */

body.goslow-body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eee;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.goslow-box {
    max-width: 560px;
    padding: 60px 50px;
    background: #fff;
    border: 2px solid black;
    text-align: center;
}

.goslow-box h1 {
    font-family: Bangers, Tahoma, sans-serif;
    font-size: 64px;
    letter-spacing: 0.05em;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.goslow-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 36px;
}

.goslow-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

a.goslow-back {
    display: inline-block;
    font-family: "Open Sans", Tahoma, sans-serif;
    font-size: 16px;
    padding: 10px 24px;
    background: #000;
    color: #fff !important;
    border: 2px solid #000;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

a.goslow-back:hover {
    background: #fff;
    color: #000 !important;
    filter: none;
}

a.goslow-back::before { content: none !important; }

/* Upload-Meldungen (neue Version, inline im Flow) */
.upload-messages {
    margin: 14px 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.upload-msg {
    display: block;
    padding: 6px 12px;
    border: 2px solid;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1.4;
}

.upload-msg--success {
    background-color: #dff0d8;
    color: #2d6a2d;
    border-color: #b2d8b2;
}

.upload-msg--warning {
    background-color: #fff8d6;
    color: #7a5c00;
    border-color: #e8d87a;
}

.upload-msg--error {
    background-color: #f2dede;
    color: #a94442;
    border-color: #e4b3b3;
}


/* ==========================================
   MOVIE LAYOUT
========================================== */

.movie-layout{
    width:100%;
}


/* ==========================================
   TOP MOVIES
========================================== */

.movies-top{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:32px;

    margin-bottom:80px;
}

.movie-card{
    border:2px solid #222;
    overflow:hidden;
}

.movie-card img{
    width:100%;
    aspect-ratio: 0.66 / 1;
    object-fit:cover;
    display:block;
}


/* ==========================================
   INTRO
========================================== */

.movie-intro{
    border-top:2px solid #222;

    padding-top:48px;
    margin-bottom:48px;

    text-align:left;
}

.movie-intro h1{
    font-size:82px;
    line-height:1;

    margin:0 0 28px 0;
}

.movie-intro p{
    color:#777;
}


/* ==========================================
   HERO
========================================== */

.movie-hero{
    margin-bottom:48px;
}

.movie-hero img{
    width:100%;
    height:540px;

    object-fit:cover;

    border:2px solid #222;
}


/* ==========================================
   CONTENT
========================================== */

.movie-content{
    display:grid;

    grid-template-columns: 320px 1fr;

    gap:40px;

    align-items:start;
}


/* ==========================================
   POSTER
========================================== */

.movie-poster img{
    width:100%;
    height:760px;

    object-fit:cover;

    border:2px solid #222;
}


/* ==========================================
   TEXT
========================================== */

.movie-text{
    display:flex;
    flex-direction:column;

    gap:80px;

    text-align:left;
    padding-top:5px;
}

.movie-text h2{
    margin-top:0;

    font-size:56px;
    line-height:1.1;
}

.movie-text p{
    color:#777;
}


/* ==========================================
   THUMBS
========================================== */

.movie-thumbs{
    display:flex;

    gap:28px;

    margin-top:40px;
}

.thumb{
    width:86px;
}

.thumb img{
    width:100%;
    aspect-ratio:1/1;

    object-fit:cover;

    border:2px solid #222;
}




/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px){

    .movies-top{
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .movie-content{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .movie-intro{
        padding-top: 28px;
        margin-bottom: 28px;
    }

    .movie-intro h1{
        font-size: 48px;
    }

    .movie-intro p{
        font-size: 15px;
    }

    .movie-hero img{
        height: 260px;
    }

    .movie-poster img{
        height: auto;
        max-height: 480px;
    }

    .movie-text{
        gap: 40px;
    }

    .movie-text h2{
        font-size: 36px;
    }

    .movie-thumbs{
        flex-wrap: wrap;
        gap: 14px;
    }

    .thumb{
        width: 68px;
    }

    .movie-poster{
        max-width: 200px;
    }

    .movie-poster img{
        height: auto;
        max-height: 280px;
    }

    .content{
        padding: 0 16px;
    }

    .movie-layout{
        padding: 0 16px;
    }

    /* Basis-Layout */
    body {
        font-size: 17px;
        line-height: 1.6;
    }

    h1 {
        font-size: 32px;
        line-height: 1.1;
    }

    h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    h3 {
        font-size: 22px;
    }

    header {
        padding-bottom: 20px;
    }

    div.header_text {
        padding: 0 12px;
    }

    /* Abstand zwischen den beiden Logos */
    div.header_text div[style*="text-align"] {
        margin-top: 3em;
    }

    /* Logo-Bilder nicht über Bildschirmbreite hinaus */
    div.header_text img {
        max-width: 100%;
        height: auto;
    }

    /* Zweispaltige Inhaltsbereiche → einspaltig */
    .fotos {
        flex-direction: column;
        align-items: center;
    }

    .lefttext,
    .righttext {
        width: 100% !important;
        float: none !important;
        box-sizing: border-box;
    }

    /* Flex-Container im User-Content (inkl. inline style="display:flex") */
    .wrap div[style*="display:flex"],
    .wrap div[style*="display: flex"] {
        flex-direction: column !important;
    }

    /* Kinder mit halber Breite → volle Breite */
    .wrap div[style*="width:50"],
    .wrap div[style*="width: 50"],
    .wrap div[style*="width:45"],
    .wrap div[style*="width: 45"] {
        width: 100% !important;
    }

    /* .two-columns → einspaltig */
    .two-columns {
        flex-direction: column;
    }

}

@media (max-width: 480px){

    .movies-top{
        grid-template-columns: 1fr;
    }

    .movie-intro h1{
        font-size: 28px;
    }

    .movie-text h2{
        font-size: 22px;
    }

    .movie-hero img{
        height: 200px;
    }

    .movie-thumbs{
        gap: 10px;
    }

    .thumb{
        width: 56px;
    }

    body {
        font-size: 16px;
        line-height: 1.5;
    }

    h1 {
        font-size: 28px;
        line-height: 1.1;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

    header {
        padding-bottom: 16px;
    }

}

/* ==================================================
   BACK TO TOP
================================================== */

#back-to-top {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    background: black;
    color: white;
    border: none;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    width: 80px;
    height: 40px;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 0;
}

#back-to-top.visible {
    opacity: 0.5;
    pointer-events: auto;
}

#back-to-top:hover {
    opacity: 1;
}
















