/* AS-CMS Plugin CSS Bundle: 2026-10-15 12:58:02 */

/* === as_captcha.css === */
/* Frontend Captcha styles. Backend views are styled by the active admin theme. */

.as-captcha-widget { max-width: 420px; border: 1px solid currentColor; border-radius: 7px; padding: 15px; margin: 12px 0; color: CanvasText; background-color: Canvas; }
.as-captcha-widget label { display: flex; flex-direction: column; gap: 9px; }
.as-captcha-widget input { padding: 8px; border: 1px solid currentColor; border-radius: 5px; }
.as-captcha-prompt { font-weight: bold; }
.as-captcha-text-code { display: inline-block; width: max-content; padding: 8px 18px; letter-spacing: 5px; font: bold 24px monospace; border: 1px dashed currentColor; }
.as-captcha-image { display: block; max-width: 100%; height: auto; }
.as-captcha-modal[hidden] { display: none; }
.as-captcha-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; background-color: rgb(0 0 0 / 65%); }
.as-captcha-modal-window { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid currentColor; border-radius: 9px; color: CanvasText; background-color: Canvas; box-shadow: 0 18px 55px rgb(0 0 0 / 35%); }
.as-captcha-modal-window h2 { margin: 0 35px 12px 0; }
.as-captcha-modal-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.as-captcha-modal-prompt { font-weight: bold; line-height: 1.45; }
.as-captcha-modal-display { margin: 12px 0; }
.as-captcha-modal-label { display: flex; flex-direction: column; gap: 6px; font-weight: bold; }
.as-captcha-modal-answer { padding: 10px; border: 1px solid currentColor; border-radius: 5px; color: FieldText; background-color: Field; font-size: 16px; }
.as-captcha-modal-error { min-height: 1.3em; font-weight: bold; }
.as-captcha-modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.as-captcha-modal-actions button { border: 1px solid ButtonBorder; border-radius: 5px; padding: 9px 13px; color: ButtonText; background-color: ButtonFace; cursor: pointer; font-weight: bold; }
.as-captcha-modal-cancel { }
.as-captcha-modal-check { }
.as-captcha-modal-check:disabled { opacity: .55; cursor: wait; }

/* === as_captcha_style.css === */
/******************************************
*
* Pluginname: AS Captcha
* Version:    1.7
* Datum:      23.09.2026
* Autor:      Alfred Steckel
* Dateiname:  as_captcha_style.css.php
*
******************************************/
/* Frontend Captcha styles. Backend views are styled by the active admin theme. */

.as-captcha-widget { max-width: 420px; border: 1px solid currentColor; border-radius: 7px; padding: 15px; margin: 12px 0; color: CanvasText; background-color: Canvas; }
.as-captcha-widget label { display: flex; flex-direction: column; gap: 9px; }
.as-captcha-widget input { padding: 8px; border: 1px solid currentColor; border-radius: 5px; }
.as-captcha-prompt { font-weight: bold; }
.as-captcha-text-code { display: inline-block; width: max-content; padding: 8px 18px; letter-spacing: 5px; font: bold 24px monospace; border: 1px dashed currentColor; }
.as-captcha-image { display: block; max-width: 100%; height: auto; }
.as-captcha-modal[hidden] { display: none; }
.as-captcha-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; background-color: rgb(0 0 0 / 65%); }
.as-captcha-modal-window { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid currentColor; border-radius: 9px; color: CanvasText; background-color: Canvas; box-shadow: 0 18px 55px rgb(0 0 0 / 35%); }
.as-captcha-modal-window h2 { margin: 0 35px 12px 0; }
.as-captcha-modal-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.as-captcha-modal-prompt { font-weight: bold; line-height: 1.45; }
.as-captcha-modal-display { margin: 12px 0; }
.as-captcha-modal-label { display: flex; flex-direction: column; gap: 6px; font-weight: bold; }
.as-captcha-modal-answer { padding: 10px; border: 1px solid currentColor; border-radius: 5px; color: FieldText; background-color: Field; font-size: 16px; }
.as-captcha-modal-error { min-height: 1.3em; font-weight: bold; }
.as-captcha-modal-actions { display: flex; justify-content: flex-end; gap: 9px; }
.as-captcha-modal-actions button { border: 1px solid ButtonBorder; border-radius: 5px; padding: 9px 13px; color: ButtonText; background-color: ButtonFace; cursor: pointer; font-weight: bold; }
.as-captcha-modal-cancel { }
.as-captcha-modal-check { }
.as-captcha-modal-check:disabled { opacity: .55; cursor: wait; }

/* Backend: Abstand zwischen Captcha-Eingabebereich und Aktionsbutton. */
.adm_content-area form:has(.as-captcha-widget) > .adm_button {
    margin-top: 12px;
}
/* Backend: Farben kommen aus dem aktiven Admin-Theme. */
.adm_content-area .as-captcha-widget {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

.adm_content-area .as-captcha-widget input[type="text"] {
    color: inherit;
    background: inherit;
}

.adm_content-area .as-captcha-text-code {
    color: inherit;
    background: transparent;
    border-color: currentColor;
}

/* === as_eigene_seiten.css === */
﻿/* Grundlayout */
/* AS Eigene Seiten | Version 1.2 | 12.10.2026 */
.seiten-plugin {
    font-family: Arial, sans-serif;
    color: #222;
    background: #fff;
    padding: 15px;
}

.seiten-header {
    margin-bottom: 1em;
    border-bottom: 2px solid #007acc;
}

.seiten-header h3 {
    margin: 0;
    color: #007acc;
}

/* Flex Container */
.container-flex {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 220px; /* fixe Sidebar-Breite */
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 1em;
}

.sidebar ul li a.button-link {
    display: inline-block; /* block wÃ¤re ok, inline-block ermÃ¶glicht minimale Breite */
    width: 100%;           /* fÃ¼llt die Sidebar-Breite */
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;   /* verhindert Umbruch */
    overflow: hidden;
    text-overflow: ellipsis; /* falls doch mal zu lang */
}

.sidebar ul li a.button-link.btn-secondary {
    background-color: #555;
    color: #fff;
}

.sidebar ul li a.button-link.btn-secondary:hover {
    background-color: #444;
}

/* Suchformular */
.suchformular {
    background-color: #FAFAFA;
    padding: 10px;
    border: 1px solid #BBBBBB;
    border-radius: 7px;
    box-shadow: 0 3px 7px rgba(52,152,219,0.5);
}

.suchformular input[type="text"] {
    width: 90%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.suchformular label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 0.9em;
}

.suchformular .suchbutton {
    background-color: #DDDDDD;
    border-radius: 5px;
    box-shadow: 0 3px 7px rgba(52,152,219,0.5);
    color: black;
    border: none;
    padding: 7px 12px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.suchformular .suchbutton:hover {
    background-color: #BBBBBB;
}

/* Content Area */
.content-area {
    flex: 1 1 auto;
	/*background-color: #D5E1F0;*/
}

/* Frontend-Tabellen aus dem Editor duerfen nicht vom aktiven Theme blau eingefaerbt werden. */
.content-area .eigene-seite figure.table > table,
.content-area .eigene-seite-kategorie figure.table > table {
    width: 100%;
    border-collapse: collapse;
}

.content-area .eigene-seite figure.table > table th,
.content-area .eigene-seite figure.table > table td,
.content-area .eigene-seite-kategorie figure.table > table th,
.content-area .eigene-seite-kategorie figure.table > table td {
    padding: 10px;
    border: 1px solid #d7e0e8;
    vertical-align: top;
    color: inherit;
}

.content-area .eigene-seite figure.table > table th,
.content-area .eigene-seite-kategorie figure.table > table th {
    background: transparent;
    color: inherit;
}

.content-area .eigene-seite figure.table > table .as-editor-align-left,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-left {
    text-align: left;
}

.content-area .eigene-seite figure.table > table .as-editor-align-right,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-right {
    text-align: right;
}

.content-area .eigene-seite figure.table > table .as-editor-align-center,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-center {
    text-align: center;
}

.content-area .eigene-seite figure.table > table .as-editor-align-justify,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-justify {
    text-align: justify;
}

.content-area .eigene-seite figure.table > table .as-editor-align-right > *,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-right > * {
    margin-left: auto;
    margin-right: 0;
}

.content-area .eigene-seite figure.table > table .as-editor-align-center > *,
.content-area .eigene-seite-kategorie figure.table > table .as-editor-align-center > * {
    margin-left: auto;
    margin-right: auto;
}

/* Tabellen */
.notes-table {
    width: 100%;
    border-collapse: collapse;
    /*margin-top: 1em;*/
}

.notes-table th,
.notes-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

/* Angepasste Ãœberschriften */
.notes-table th {
    background: #3399ff;  /* helleres Blau */
    color: #fff;       /* weiÃŸ */
    cursor: pointer;
    user-select: none;
}

.notes-table tr.notes-row-overdue {
    background: #ffdddd;
}

.notes-table tr.notes-row-today {
    background: #fff9d9;
}

.notes-table tr.notes-row-future {
    background: #e7f5e7;
}

.notes-table td.action-links a {
    margin-right: 6px;
    text-decoration: none;
    font-size: 1.1em;
}

.notes-status-done {
    color: green;
    font-weight: bold;
}

.notes-status-open {
    color: red;
    font-weight: bold;
}

/* Formulare */
.note-form {
    max-width: 600px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.note-form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: bold;
}

.note-form input[type="text"],
.note-form input[type="datetime-local"],
.note-form select,
.note-form textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.note-form textarea {
    resize: vertical;
}

.form-row-inline {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-field-small {
    flex: 1;
}

.btn-primary {
    margin-top: 15px;
    background: #007acc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.btn-primary:hover {
    background: #005f99;
}

.cancel-link {
    margin-left: 15px;
    color: #777;
    text-decoration: none;
    font-size: 0.9em;
}

.cancel-link:hover {
    text-decoration: underline;
}

.btn-clear-date {
    background: #ccc;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    font-size: 1.1em;
    padding: 0 6px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 720px) {
    .container-flex {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 15px;
    }
}
/* Backend-Editor: Titel und Schreibbereich nutzen die Formularbreite */
.adm_content-area .adm_form input[name="seiten_header"],
.adm_content-area .adm_form #seiten_body,
.adm_content-area .adm_form .trumbowyg-box,
.adm_content-area .adm_form .trumbowyg-editor-box,
.adm_content-area .adm_form .trumbowyg-editor {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.adm_content-area .adm_form .trumbowyg-editor {
    min-height: 260px;
}

.as-eigene-seiten-edit-form .adm_form-row > label:has(> input[type="checkbox"]) {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 1.5;
}

.as-eigene-seiten-edit-form .adm_form-row > label > input[type="checkbox"] {
    position: static;
    float: none;
    transform: none;
    display: block;
    grid-column: 1;
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    margin: 0.2em 0 0;
    padding: 0;
}

/* === as_galerie.css === */
/********************************************************
*
* Pluginname:   AS Galerie
* Ordner:       as_galerie
* Datei:        as_galerie.css
* Version:      2.2
* Datum:        09.09.2026
* Autor:        Alfred Steckel
*
*********************************************************/
.zufallsbild-alben {
    margin: 1em 0;
}

.zufallsbild-alben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.zufallsbild-album-card {
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

.zufallsbild-album-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eee;
    margin-bottom: 8px;
}

.zufallsbild-album-card h3 {
    margin: 0 0 6px;
    font-size: 1.1em;
}

.zufallsbild-album-card p {
    margin: 0 0 8px;
}

.zufallsbild-album-link {
    display: inline-block;
    padding: 6px 10px;
    background: #007acc;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
}

.zufallsbild-album-detail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.zufallsbild-bilder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
    overflow: visible;
}

.zufallsbild-bild {
    position: relative;
    z-index: 1;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    overflow: visible;
    transition: z-index 0s linear 0s;
}

.zufallsbild-bild:hover,
.zufallsbild-bild:focus-within {
    z-index: 20;
}

.zufallsbild-bild button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: visible;
}

.zufallsbild-bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease, box-shadow 220ms ease;
    transform-origin: center center;
    will-change: transform;
}

.zufallsbild-bild:hover img,
.zufallsbild-bild button:hover img,
.zufallsbild-bild button:focus img {
    transform: scale(var(--zufallsbild-thumb-hover-scale-x, 1.6), var(--zufallsbild-thumb-hover-scale-y, 1.6));
    box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.zufallsbild-backlink {
    display: inline-block;
    margin-bottom: 12px;
}

.zufallsbild-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    padding: 18px;
}

.zufallsbild-lightbox.is-open {
    display: flex;
}

.zufallsbild-lightbox img {
    max-width: min(96vw, calc(100vw - 132px));
    max-height: 88vh;
    object-fit: contain;
    background: #fff;
}

.zufallsbild-lightbox-inner {
    position: relative;
    max-width: min(96vw, calc(100vw - 132px));
    max-height: 88vh;
}

.zufallsbild-lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: .95em;
    line-height: 1.35;
}

.zufallsbild-lightbox-close,
.zufallsbild-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    cursor: pointer;
    line-height: 1;
}

.zufallsbild-lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 28px;
}

.zufallsbild-lightbox-nav {
    top: 50%;
    width: 34px;
    height: 52px;
    margin-top: -26px;
    font-size: 32px;
    border-radius: 50%;
    transition: background 160ms ease, color 160ms ease;
}

.zufallsbild-lightbox-prev {
    left: -54px;
}

.zufallsbild-lightbox-next {
    right: -54px;
}

.zufallsbild-lightbox-close:hover,
.zufallsbild-lightbox-close:focus,
.zufallsbild-lightbox-nav:hover,
.zufallsbild-lightbox-nav:focus {
    background: rgba(255,255,255,.24);
    color: #fff;
    outline: 1px solid rgba(255,255,255,.55);
}

.zufallsbild-kommentare {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #d8d8d8;
}

.zufallsbild-kommentar {
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.zufallsbild-kommentar-meta {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.zufallsbild-kommentar-text {
    margin-bottom: 8px;
}

.zufallsbild-kommentar-text img.as-smilies-inline {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    vertical-align: middle;
}

.zufallsbild-kommentar-form {
    border: 1px solid #d8d8d8;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.zufallsbild-kommentar-form label {
    display: block;
    font-weight: bold;
    margin-top: 8px;
}

.zufallsbild-kommentar-form input,
.zufallsbild-kommentar-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 7px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
}

.zufallsbild-kommentar-form button {
    margin-top: 10px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: #007acc;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.zufallsbild-kommentar-meldung {
    border-left: 4px solid #2e7d32;
    background: #f1faf1;
    padding: 8px 10px;
    margin: 10px 0;
}

.zufallsbild-kommentar-fehler {
    border-left: 4px solid #b83a3a;
    background: #fff1f1;
    padding: 8px 10px;
    margin: 10px 0;
}

.zufallsbild-write-comment-btn,
.zufallsbild-reply-btn,
.zufallsbild-show-comments,
.zufallsbild-show-replies {
    margin: 6px 6px 6px 0;
    padding: 5px 9px;
    border: 1px solid #bbb;
    background: #f2f2f2;
    color: #222;
    cursor: pointer;
}

.zufallsbild-write-comment-btn {
    background: #007acc;
    border-color: #007acc;
    color: #fff;
    font-weight: bold;
}

.zufallsbild-reply-form {
    margin-top: 8px;
}

.zufallsbild-comments-container {
    display: none;
    margin-top: 10px;
}

.zufallsbild-main-comment-form {
    display: none;
}

.zufallsbild-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.zufallsbild-pagination a,
.zufallsbild-pagination span {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #bbb;
    background: #fff;
    color: #222;
    text-decoration: none;
}

.zufallsbild-pagination .is-active {
    background: #007acc;
    border-color: #007acc;
    color: #fff;
    font-weight: bold;
}

.zufallsbild-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--zufallsbild-slider-height, 320px);
    max-height: var(--zufallsbild-slider-height, 320px);
    background: #111;
    border-radius: 10px;
}

.zufallsbild-slider .zufallsbild-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(1);
    filter: none;
    clip-path: inset(0 100% 0 0);
    overflow: hidden;
    border-radius: 10px;
    transition: opacity 1200ms ease, transform 1200ms ease, filter 1200ms ease, clip-path 1200ms ease;
}

.zufallsbild-slider .zufallsbild-slide.is-active {
    z-index: 3;
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider .zufallsbild-slide.is-exiting {
    z-index: 2;
    opacity: 0;
}

.zufallsbild-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transform: scale(1);
    transition: transform var(--zufallsbild-slider-interval, 6000ms) ease;
}

.zufallsbild-slider.effect-none .zufallsbild-slide {
    transition: none;
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-fade .zufallsbild-slide,
.zufallsbild-slider.effect-crossfade .zufallsbild-slide {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide {
    transform: translateX(100%);
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide.is-active {
    transform: translateX(0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide.is-exiting {
    transform: translateX(-18%);
    opacity: 0;
}

.zufallsbild-slider.effect-push .zufallsbild-slide {
    transform: translateX(100%);
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-push .zufallsbild-slide.is-active {
    transform: translateX(0);
}

.zufallsbild-slider.effect-push .zufallsbild-slide.is-exiting {
    transform: translateX(-100%);
    opacity: 1;
}

.zufallsbild-slider.effect-zoom .zufallsbild-slide,
.zufallsbild-slider.effect-kenburns .zufallsbild-slide {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-zoom .zufallsbild-slide.is-active img {
    transform: scale(1.06);
}

.zufallsbild-slider.effect-kenburns .zufallsbild-slide.is-active img {
    transform: scale(1.08) translateX(-1.5%);
}

.zufallsbild-slider.effect-blur .zufallsbild-slide {
    filter: blur(12px);
    clip-path: inset(0 0 0 0);
    transform: scale(1.02);
}

.zufallsbild-slider.effect-blur .zufallsbild-slide.is-active {
    filter: blur(0);
    transform: scale(1);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide.is-active {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide.is-exiting {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

@media (max-width: 640px) {
    .zufallsbild-lightbox {
        padding: 8px;
    }

    .zufallsbild-lightbox img {
        max-width: 100vw;
        max-height: 86vh;
    }

    .zufallsbild-lightbox-inner {
        max-width: 100vw;
    }

    .zufallsbild-lightbox-nav {
        width: 30px;
        height: 46px;
        margin-top: -23px;
        font-size: 28px;
        background: rgba(0,0,0,.3);
    }

    .zufallsbild-lightbox-prev {
        left: 6px;
    }

    .zufallsbild-lightbox-next {
        right: 6px;
    }
}

/* Backend-Verwaltung: aus manage.php ausgelagert */
/* Grundlayout */
.zufallsbild-plugin { font-family: Arial, sans-serif; color: inherit; background: transparent; padding: 15px; }
.zufallsbild-header { margin-bottom: 1em; border-bottom: 1px solid currentColor; }
.zufallsbild-header h3 { margin: 0; color: inherit; }
.container-flex { display: flex; gap: 20px; }
.zufallsbild-plugin .sidebar { width: 200px; background: transparent; color: inherit; padding: 15px; border: 1px solid currentColor; border-radius: 6px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { margin-bottom: 1em; }

/* Linkfarben für as-cms */
.sidebar ul li a {
    display: block;
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    background: transparent;
    color: inherit;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.sidebar ul li a:hover {
    background: transparent;
    color: inherit;
}
.sidebar ul li a:visited {
    background: transparent;
    color: inherit;
}
.sidebar ul li a.active {
    background: transparent;
    color: inherit;
}

/* Suchformular */
.suchformular { background: transparent; color: inherit; padding: 10px; border: 1px solid currentColor; border-radius: 7px; margin-bottom: 15px; }
.suchformular input[type="text"] { width: 90%; padding: 6px; margin-bottom: 10px; border-radius: 4px; }
.suchformular .suchbutton { border-radius: 5px; padding: 7px 12px; cursor: pointer; width: 100%; font-weight: bold; }

.content-area { flex: 1 1 auto; }
.zufallsbild-footer { margin-top: 2em; text-align: center; font-size: 0.9em; color: inherit; }

.zufallsbild-box {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 12px;
    margin-bottom: 15px;
}

.zufallsbild-statistik {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.zufallsbild-statistik-box {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 12px;
    min-width: 150px;
}

.zufallsbild-statistik-box strong {
    color: inherit;
}

.zufallsbild-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.zufallsbild-table th,
.zufallsbild-table td { border: 1px solid currentColor; padding: 8px; text-align: left; vertical-align: top; background: transparent; color: inherit; }
.zufallsbild-table th { background: transparent; color: inherit; }
.zufallsbild-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.zufallsbild-button,
.zufallsbild-button:visited {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
.zufallsbild-message { border-left: 4px solid currentColor; background: transparent; color: inherit; padding: 8px 10px; margin-bottom: 10px; }
.zufallsbild-error { border-left: 4px solid currentColor; background: transparent; color: inherit; padding: 8px 10px; margin-bottom: 10px; }
.zufallsbild-album-cell { display: flex; gap: 10px; align-items: flex-start; min-width: 240px; }
.zufallsbild-album-preview {
    flex: 0 0 74px;
    width: 74px;
    height: 56px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    overflow: hidden;
}
.zufallsbild-album-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zufallsbild-album-preview.empty { display: flex; align-items: center; justify-content: center; color: inherit; font-size: 11px; text-align: center; padding: 4px; box-sizing: border-box; }
.zufallsbild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.zufallsbild-card { border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; padding: 8px; }
.zufallsbild-card img { display: block; width: 100%; height: 120px; object-fit: cover; background: transparent; margin-bottom: 8px; }
.zufallsbild-form-row { margin-bottom: 10px; }
.zufallsbild-form-row input[type="text"],
.zufallsbild-form-row input[type="url"],
.zufallsbild-form-row input[type="number"],
.zufallsbild-form-row input[type="date"],
.zufallsbild-form-row select,
.zufallsbild-form-row textarea { width: 100%; box-sizing: border-box; padding: 7px; }
.zufallsbild-upload-dropzone {
    border: 2px dashed currentColor;
    background: transparent;
    color: inherit;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}
.zufallsbild-upload-dropzone input[type="file"] { display: none; }
.zufallsbild-upload-label {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.zufallsbild-upload-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.zufallsbild-upload-list li {
    border-bottom: 1px solid currentColor;
    padding: 5px 0;
    font-size: 0.95em;
}
.zufallsbild-upload-meta { margin-top: 8px; color: inherit; }
.zufallsbild-upload-summary {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.zufallsbild-upload-summary span,
.zufallsbild-selection-counter {
    display: inline-block;
    padding: 5px 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-weight: bold;
}
.zufallsbild-shortcode-box {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
}
.zufallsbild-shortcode-input {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    padding: 6px 8px;
    border-radius: 4px;
    font-family: Consolas, monospace;
}
.zufallsbild-settings-section {
    border: 1px solid currentColor;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    padding: 12px;
    margin: 0 0 14px;
}
.zufallsbild-settings-section legend {
    font-weight: bold;
    color: inherit;
    padding: 0 6px;
}
.zufallsbild-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 14px;
}

@media (max-width: 720px) {
  .container-flex { flex-direction: column; }
  .sidebar { width: 100%; margin-bottom: 15px; }
}

/* Karussell-Verwaltung */
.zufallsbild-heading-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.zufallsbild-heading-actions h3 { margin-top: 0; }
.zufallsbild-inline-form { display: inline; }
.zufallsbild-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px 16px;
}
.zufallsbild-small-field { max-width: 300px; margin-top: 14px; }
.zufallsbild-picker-album {
    margin: 14px 0;
    padding-top: 8px;
    border-top: 1px solid currentColor;
}
.zufallsbild-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.zufallsbild-picker-card {
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 1px solid currentColor;
    border-radius: 7px;
    cursor: pointer;
}
.zufallsbild-picker-card:has(input[type="checkbox"]:checked) {
    box-shadow: 0 0 0 3px rgba(0,122,204,.28);
}
.zufallsbild-picker-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}
.zufallsbild-picker-card input[type="number"] { width: 70px; }

/* 3D-Karussell im Frontend */
.as-galerie-karussell {
    --as-carousel-card-width: min(320px, 78vw);
    --as-carousel-radius: clamp(310px, 38vw, 570px);
    --ring-angle: 0deg;
    position: relative;
    max-width: 1180px;
    margin: 32px auto;
    overflow: hidden;
    padding: 10px 16px 28px;
    box-sizing: border-box;
}
.as-galerie-karussell-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 12px;
}
.as-galerie-karussell-top h2 { margin: 0 0 5px; }
.as-galerie-karussell-top p { margin: 0; }
.as-galerie-karussell-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.as-galerie-karussell-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
}
.as-galerie-karussell-scene {
    position: relative;
    height: 520px;
    perspective: 1200px;
    perspective-origin: 50% 48%;
    touch-action: pan-y;
}
.as-galerie-karussell-ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--as-carousel-radius) * -1)) rotateY(var(--ring-angle));
    transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.as-galerie-karussell-item {
    position: absolute;
    width: var(--as-carousel-card-width);
    left: calc(50% - var(--as-carousel-card-width) / 2);
    top: 20px;
    transform: rotateY(var(--item-angle)) translateZ(var(--as-carousel-radius));
    opacity: .08;
    pointer-events: none;
    transition: opacity .55s ease;
    backface-visibility: hidden;
}
.as-galerie-karussell-item.is-near { opacity: .48; }
.as-galerie-karussell-item.is-current { opacity: 1; pointer-events: auto; }
.as-galerie-karussell-card {
    overflow: hidden;
    border: 1px solid rgba(128,128,128,.35);
    border-radius: 14px;
    background: #fff;
    color: #202733;
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.as-galerie-karussell-photo { height: 300px; background: #e8eaed; }
.as-galerie-karussell-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.as-galerie-karussell-body { padding: 16px; text-align: center; }
.as-galerie-karussell-body h3 { margin: 0 0 5px; font-size: 1.25em; }
.as-galerie-karussell-role { margin: 0 0 10px; font-weight: 700; opacity: .72; }
.as-galerie-karussell-text { margin: 8px 0; line-height: 1.45; }
.as-galerie-karussell-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.as-galerie-karussell-actions a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.as-galerie-karussell-actions a:first-child { background: #17324d; border-color: #17324d; color: #fff; }
.as-galerie-karussell-dots { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.as-galerie-karussell-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: .28;
    cursor: pointer;
}
.as-galerie-karussell-dots button.is-current { opacity: 1; transform: scale(1.35); }

@media (max-width: 720px) {
    .as-galerie-karussell { --as-carousel-radius: 330px; padding-left: 8px; padding-right: 8px; }
    .as-galerie-karussell-top { align-items: center; }
    .as-galerie-karussell-scene { height: 510px; }
    .as-galerie-karussell-photo { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .as-galerie-karussell-ring,
    .as-galerie-karussell-item { transition: none; }
}

/* === as_galerie_backend.css === */
/********************************************************
*
* Pluginname:   AS Galerie
* Ordner:       as_galerie
* Datei:        as_galerie_backend.css
* Version:      2.2
* Datum:        10.09.2026
* Autor:        Alfred Steckel
*
*********************************************************/
/* Backend-Verwaltung: aus manage.php ausgelagert */
/* Grundlayout */
.zufallsbild-plugin { font-family: Arial, sans-serif; color: inherit; background: transparent; padding: 15px; }
.zufallsbild-header { margin-bottom: 1em; border-bottom: 1px solid currentColor; }
.zufallsbild-header h3 { margin: 0; color: inherit; }
.container-flex { display: flex; gap: 20px; }
/* Suchformular */
.suchformular { background: transparent; color: inherit; padding: 10px; border: 1px solid currentColor; border-radius: 7px; margin-bottom: 15px; }
.suchformular input[type="text"] { width: 90%; padding: 6px; margin-bottom: 10px; border-radius: 4px; }
.content-area { flex: 1 1 auto; }
.zufallsbild-footer { margin-top: 2em; text-align: center; font-size: 0.9em; color: inherit; }

.zufallsbild-box {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 12px;
    margin-bottom: 15px;
}

.zufallsbild-statistik {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.zufallsbild-statistik-box {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 12px;
    min-width: 150px;
}

.zufallsbild-statistik-box strong {
    color: inherit;
}

.zufallsbild-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.zufallsbild-table th,
.zufallsbild-table td { border: 1px solid currentColor; padding: 8px; text-align: left; vertical-align: top; background: transparent; color: inherit; }
.zufallsbild-table th { background: transparent; color: inherit; }
.zufallsbild-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.zufallsbild-message { border-left: 4px solid currentColor; background: transparent; color: inherit; padding: 8px 10px; margin-bottom: 10px; }
.zufallsbild-error { border-left: 4px solid currentColor; background: transparent; color: inherit; padding: 8px 10px; margin-bottom: 10px; }
.zufallsbild-album-cell { display: flex; gap: 10px; align-items: flex-start; min-width: 240px; }
.zufallsbild-album-preview {
    flex: 0 0 74px;
    width: 74px;
    height: 56px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    overflow: hidden;
}
.zufallsbild-album-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zufallsbild-album-preview.empty { display: flex; align-items: center; justify-content: center; color: inherit; font-size: 11px; text-align: center; padding: 4px; box-sizing: border-box; }
.zufallsbild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.zufallsbild-card { border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; padding: 8px; }
.zufallsbild-card img { display: block; width: 100%; height: 120px; object-fit: cover; background: transparent; margin-bottom: 8px; }
.zufallsbild-form-row { margin-bottom: 10px; }
.zufallsbild-form-row input[type="text"],
.zufallsbild-form-row input[type="url"],
.zufallsbild-form-row input[type="number"],
.zufallsbild-form-row input[type="date"],
.zufallsbild-form-row select,
.zufallsbild-form-row textarea { width: 100%; box-sizing: border-box; padding: 7px; }
.zufallsbild-upload-dropzone {
    border: 2px dashed currentColor;
    background: transparent;
    color: inherit;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}
.zufallsbild-upload-dropzone input[type="file"] { display: none; }
.zufallsbild-upload-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.zufallsbild-upload-list li {
    border-bottom: 1px solid currentColor;
    padding: 5px 0;
    font-size: 0.95em;
}
.zufallsbild-upload-meta { margin-top: 8px; color: inherit; }
.zufallsbild-upload-summary {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.zufallsbild-upload-summary span,
.zufallsbild-selection-counter {
    display: inline-block;
    padding: 5px 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-weight: bold;
}
.zufallsbild-shortcode-box {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
}
.zufallsbild-shortcode-input {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    padding: 6px 8px;
    border-radius: 4px;
    font-family: Consolas, monospace;
}
.zufallsbild-settings-section {
    border: 1px solid currentColor;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    padding: 12px;
    margin: 0 0 14px;
}
.zufallsbild-settings-section legend {
    font-weight: bold;
    color: inherit;
    padding: 0 6px;
}
.zufallsbild-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 14px;
}

@media (max-width: 720px) {
  .container-flex { flex-direction: column; }
}

/* Karussell-Verwaltung */
.zufallsbild-heading-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.zufallsbild-heading-actions h3 { margin-top: 0; }
.zufallsbild-inline-form { display: inline; }
.zufallsbild-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px 16px;
}
.zufallsbild-small-field { max-width: 300px; margin-top: 14px; }
.zufallsbild-picker-album {
    margin: 14px 0;
    padding-top: 8px;
    border-top: 1px solid currentColor;
}
.zufallsbild-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.zufallsbild-picker-card {
    display: grid;
    gap: 7px;
    padding: 8px;
    border: 1px solid currentColor;
    border-radius: 7px;
    cursor: pointer;
}
.zufallsbild-picker-card:has(input[type="checkbox"]:checked) {
    box-shadow: 0 0 0 3px currentColor;
}
.zufallsbild-picker-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}
.zufallsbild-picker-card input[type="number"] { width: 70px; }


/* Hilfe im Backend */
.zufallsbild-help .zufallsbild-help-card {
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
}
.zufallsbild-help .zufallsbild-help-card summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}
.zufallsbild-help .zufallsbild-help-card summary::-webkit-details-marker {
    display: none;
}
.zufallsbild-help .zufallsbild-help-card summary::after {
    content: "+";
    float: right;
    font-size: 20px;
    line-height: 16px;
}
.zufallsbild-help .zufallsbild-help-card[open] summary::after {
    content: "-";
}
.zufallsbild-help .zufallsbild-help-card-body {
    padding: 0 16px 16px;
}
.zufallsbild-help ul,
.zufallsbild-help ol {
    margin: 8px 0;
    padding-left: 24px;
    list-style-position: outside;
}
.zufallsbild-help li {
    padding-left: 4px;
    margin: 4px 0;
}
.zufallsbild-help table {
    margin-left: 0;
}

/* === as_galerie_frontend.css === */
/********************************************************
*
* Pluginname:   AS Galerie
* Ordner:       as_galerie
* Datei:        as_galerie_frontend.css
* Version:      2.4
* Datum:        12.10.2026
* Autor:        Alfred Steckel
*
*********************************************************/
.zufallsbild-alben {
    margin: 1em 0;
}

.zufallsbild-alben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.zufallsbild-album-card {
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

.zufallsbild-album-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eee;
    margin-bottom: 8px;
}

.zufallsbild-album-card h3 {
    margin: 0 0 6px;
    font-size: 1.1em;
}

.zufallsbild-album-card p {
    margin: 0 0 8px;
}

.zufallsbild-album-link {
    display: inline-block;
    padding: 6px 10px;
    background: #007acc;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
}

.zufallsbild-album-detail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.zufallsbild-bilder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
    overflow: visible;
}

.zufallsbild-bild {
    position: relative;
    z-index: 1;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    overflow: visible;
    transition: z-index 0s linear 0s;
}

.zufallsbild-bild:hover,
.zufallsbild-bild:focus-within {
    z-index: 20;
}

.zufallsbild-bild button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: visible;
}

.zufallsbild-bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 2000ms ease-in-out, box-shadow 2000ms ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

.zufallsbild-bild:hover img,
.zufallsbild-bild button:hover img,
.zufallsbild-bild button:focus img {
    transform: translateX(var(--zufallsbild-thumb-hover-shift-x, 0px)) scale(var(--zufallsbild-thumb-hover-scale-x, 1.6), var(--zufallsbild-thumb-hover-scale-y, 1.6));
    box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.zufallsbild-backlink {
    display: inline-block;
    margin-bottom: 12px;
}

.zufallsbild-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    padding: 18px;
}

.zufallsbild-lightbox.is-open {
    display: flex;
}

.zufallsbild-lightbox img {
    max-width: min(96vw, calc(100vw - 132px));
    max-height: 88vh;
    object-fit: contain;
    background: #fff;
}

.zufallsbild-lightbox-inner {
    position: relative;
    max-width: min(96vw, calc(100vw - 132px));
    max-height: 88vh;
}

.zufallsbild-lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: .95em;
    line-height: 1.35;
}

.zufallsbild-lightbox-close,
.zufallsbild-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    cursor: pointer;
    line-height: 1;
}

.zufallsbild-lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 28px;
}

.zufallsbild-lightbox-nav {
    top: 50%;
    width: 34px;
    height: 52px;
    margin-top: -26px;
    font-size: 32px;
    border-radius: 50%;
    transition: background 160ms ease, color 160ms ease;
}

.zufallsbild-lightbox-prev {
    left: -54px;
}

.zufallsbild-lightbox-next {
    right: -54px;
}

.zufallsbild-lightbox-close:hover,
.zufallsbild-lightbox-close:focus,
.zufallsbild-lightbox-nav:hover,
.zufallsbild-lightbox-nav:focus {
    background: rgba(255,255,255,.24);
    color: #fff;
    outline: 1px solid rgba(255,255,255,.55);
}

.zufallsbild-kommentare {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #d8d8d8;
}

.zufallsbild-kommentar {
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.zufallsbild-kommentar-meta {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.zufallsbild-kommentar-text {
    margin-bottom: 8px;
}

.zufallsbild-kommentar-text img.as-smilies-inline {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    vertical-align: middle;
}

.zufallsbild-kommentar-form {
    border: 1px solid #d8d8d8;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.zufallsbild-kommentar-form label {
    display: block;
    font-weight: bold;
    margin-top: 8px;
}

.zufallsbild-kommentar-form input,
.zufallsbild-kommentar-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 7px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
}

.zufallsbild-kommentar-form button {
    margin-top: 10px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: #007acc;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.zufallsbild-kommentar-meldung {
    border-left: 4px solid #2e7d32;
    background: #f1faf1;
    padding: 8px 10px;
    margin: 10px 0;
}

.zufallsbild-kommentar-fehler {
    border-left: 4px solid #b83a3a;
    background: #fff1f1;
    padding: 8px 10px;
    margin: 10px 0;
}

.zufallsbild-write-comment-btn,
.zufallsbild-reply-btn,
.zufallsbild-show-comments,
.zufallsbild-show-replies {
    margin: 6px 6px 6px 0;
    padding: 5px 9px;
    border: 1px solid #bbb;
    background: #f2f2f2;
    color: #222;
    cursor: pointer;
}

.zufallsbild-write-comment-btn {
    background: #007acc;
    border-color: #007acc;
    color: #fff;
    font-weight: bold;
}

.zufallsbild-reply-form {
    margin-top: 8px;
}

.zufallsbild-comments-container {
    display: none;
    margin-top: 10px;
}

.zufallsbild-main-comment-form {
    display: none;
}

.zufallsbild-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.zufallsbild-pagination a,
.zufallsbild-pagination span {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #bbb;
    background: #fff;
    color: #222;
    text-decoration: none;
}

.zufallsbild-pagination .is-active {
    background: #007acc;
    border-color: #007acc;
    color: #fff;
    font-weight: bold;
}

.zufallsbild-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--zufallsbild-slider-height, 320px);
    max-height: var(--zufallsbild-slider-height, 320px);
    background: #111;
    border-radius: 10px;
}

.zufallsbild-slider .zufallsbild-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(1);
    filter: none;
    clip-path: inset(0 100% 0 0);
    overflow: hidden;
    border-radius: 10px;
    transition: opacity 1200ms ease, transform 1200ms ease, filter 1200ms ease, clip-path 1200ms ease;
}

.zufallsbild-slider .zufallsbild-slide.is-active {
    z-index: 3;
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider .zufallsbild-slide.is-exiting {
    z-index: 2;
    opacity: 0;
}

.zufallsbild-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transform: scale(1);
    transition: transform var(--zufallsbild-slider-interval, 6000ms) ease;
}

.zufallsbild-slider.effect-none .zufallsbild-slide {
    transition: none;
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-fade .zufallsbild-slide,
.zufallsbild-slider.effect-crossfade .zufallsbild-slide {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide {
    transform: translateX(100%);
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide.is-active {
    transform: translateX(0);
}

.zufallsbild-slider.effect-slide .zufallsbild-slide.is-exiting {
    transform: translateX(-18%);
    opacity: 0;
}

.zufallsbild-slider.effect-push .zufallsbild-slide {
    transform: translateX(100%);
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-push .zufallsbild-slide.is-active {
    transform: translateX(0);
}

.zufallsbild-slider.effect-push .zufallsbild-slide.is-exiting {
    transform: translateX(-100%);
    opacity: 1;
}

.zufallsbild-slider.effect-zoom .zufallsbild-slide,
.zufallsbild-slider.effect-kenburns .zufallsbild-slide {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-zoom .zufallsbild-slide.is-active img {
    transform: scale(1.06);
}

.zufallsbild-slider.effect-kenburns .zufallsbild-slide.is-active img {
    transform: scale(1.08) translateX(-1.5%);
}

.zufallsbild-slider.effect-blur .zufallsbild-slide {
    filter: blur(12px);
    clip-path: inset(0 0 0 0);
    transform: scale(1.02);
}

.zufallsbild-slider.effect-blur .zufallsbild-slide.is-active {
    filter: blur(0);
    transform: scale(1);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide.is-active {
    clip-path: inset(0 0 0 0);
}

.zufallsbild-slider.effect-wipe .zufallsbild-slide.is-exiting {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

@media (max-width: 640px) {
    .zufallsbild-lightbox {
        padding: 8px;
    }

    .zufallsbild-lightbox img {
        max-width: 100vw;
        max-height: 86vh;
    }

    .zufallsbild-lightbox-inner {
        max-width: 100vw;
    }

    .zufallsbild-lightbox-nav {
        width: 30px;
        height: 46px;
        margin-top: -23px;
        font-size: 28px;
        background: rgba(0,0,0,.3);
    }

    .zufallsbild-lightbox-prev {
        left: 6px;
    }

    .zufallsbild-lightbox-next {
        right: 6px;
    }
}

/* 3D-Karussell im Frontend */
.as-galerie-karussell {
    --as-carousel-card-width: min(320px, 78vw);
    --as-carousel-radius: clamp(310px, 38vw, 570px);
    --ring-angle: 0deg;
    position: relative;
    max-width: 1180px;
    margin: 32px auto;
    overflow: hidden;
    padding: 10px 16px 28px;
    box-sizing: border-box;
}
.as-galerie-karussell-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 12px;
}
.as-galerie-karussell-top h2 { margin: 0 0 5px; }
.as-galerie-karussell-top p { margin: 0; }
.as-galerie-karussell-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.as-galerie-karussell-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
}
.as-galerie-karussell-scene {
    position: relative;
    height: 520px;
    perspective: 1200px;
    perspective-origin: 50% 48%;
    touch-action: pan-y;
}
.as-galerie-karussell-ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--as-carousel-radius) * -1)) rotateY(var(--ring-angle));
    transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.as-galerie-karussell-item {
    position: absolute;
    width: var(--as-carousel-card-width);
    left: calc(50% - var(--as-carousel-card-width) / 2);
    top: 20px;
    transform: rotateY(var(--item-angle)) translateZ(var(--as-carousel-radius));
    opacity: .08;
    pointer-events: none;
    transition: opacity .55s ease;
    backface-visibility: hidden;
}
.as-galerie-karussell-item.is-near { opacity: .48; }
.as-galerie-karussell-item.is-current { opacity: 1; pointer-events: auto; }
.as-galerie-karussell-card {
    overflow: hidden;
    border: 1px solid rgba(128,128,128,.35);
    border-radius: 14px;
    background: #fff;
    color: #202733;
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.as-galerie-karussell-photo { height: 300px; background: #e8eaed; }
.as-galerie-karussell-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.as-galerie-karussell-body { padding: 16px; text-align: center; }
.as-galerie-karussell-body h3 { margin: 0 0 5px; font-size: 1.25em; }
.as-galerie-karussell-role { margin: 0 0 10px; font-weight: 700; opacity: .72; }
.as-galerie-karussell-text { margin: 8px 0; line-height: 1.45; }
.as-galerie-karussell-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.as-galerie-karussell-actions a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.as-galerie-karussell-actions a:first-child { background: #17324d; border-color: #17324d; color: #fff; }
.as-galerie-karussell-dots { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }
.as-galerie-karussell-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: .28;
    cursor: pointer;
}
.as-galerie-karussell-dots button.is-current { opacity: 1; transform: scale(1.35); }

@media (max-width: 720px) {
    .as-galerie-karussell { --as-carousel-radius: 330px; padding-left: 8px; padding-right: 8px; }
    .as-galerie-karussell-top { align-items: center; }
    .as-galerie-karussell-scene { height: 510px; }
    .as-galerie-karussell-photo { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .as-galerie-karussell-ring,
    .as-galerie-karussell-item { transition: none; }
}

/* === as_legal.css === */
/*
 * AS Legal
 * Plugin-CSS enthält nur plugin-eigene Sonderdarstellungen.
 * Normale Backend-Formulare, Boxen, Buttons und Meldungen verwenden adm_*.
 */

/* Backend: besondere Editor-Anpassungen */
.as-legal-editor .trumbowyg-box,
.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck.ck-editor {
    width: 100%;
}

.as-legal-editor .trumbowyg-box,
.as-legal-editor .ck.ck-editor {
    margin-top: 8px;
}

.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck-editor__editable_inline {
    min-height: 280px;
}

/* Frontend: Rechtstexte */
.as-legal-front,
.as-legal-page {
    color: #1f2933;
    font-family: Arial, sans-serif;
}

.as-legal-page {
    margin: 0 auto;
    max-width: 900px;
    padding: 24px 16px;
}

.as-legal-text {
    line-height: 1.65;
}

.as-legal-text table {
    border-collapse: collapse;
    margin: 14px 0;
    width: 100%;
}

.as-legal-text th,
.as-legal-text td {
    border: 1px solid #c8d1dc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.as-legal-text th {
    background: #f4f7fb;
    font-weight: 700;
}

.as-legal-empty,
.as-legal-shortcode {
    color: #52606d;
}

.as-legal-footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 14px 8px;
}

.as-legal-footer-links a {
    color: inherit;
    text-decoration: underline;
}

/* Frontend: Cookie-Hinweis */
.as-legal-cookie {
    background: rgba(15, 23, 42, 0.55);
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    overflow-y: auto;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.as-legal-cookie-inline {
    background: transparent;
    bottom: auto;
    overflow: visible;
    padding: 16px 0;
    position: static;
    top: auto;
}

.as-legal-cookie-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    margin: 0 auto;
    max-width: 760px;
    padding: 18px;
}

.as-legal-cookie-box h3 {
    margin: 0 0 8px;
}

.as-legal-cookie-options {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.as-legal-cookie-option {
    align-items: flex-start;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.as-legal-cookie-option small {
    color: #52606d;
    display: block;
    margin-top: 3px;
}

.as-legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.as-legal-cookie button {
    background: #1f6f8b;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.as-legal-cookie button:first-child {
    background: #394b59;
}

.as-legal-cookie-saved {
    background: #e7f7e7;
    border: 1px solid #9ad29a;
    border-radius: 6px;
    color: #245f24;
    font-weight: 600;
    margin: 10px 0;
    padding: 8px 10px;
}

.as-legal-single-link {
    color: inherit;
}

@media (max-width: 760px) {
    .as-legal-cookie-actions {
        justify-content: stretch;
    }

    .as-legal-cookie-actions button {
        width: 100%;
    }
}

/* === as_legal_style.css === */
/*
 * Pluginname: AS Legal
 * Ordner:     as_legal
 * Datei:      as_legal_style.css
 * Version:    1.0
 * Datum:      30.09.2026
 * Autor:      Alfred Steckel
 *
 * Plugin-CSS enthält nur plugin-eigene Sonderdarstellungen.
 * Normale Backend-Formulare, Boxen, Buttons und Meldungen verwenden adm_*.
 */

/* Backend: besondere Editor-Anpassungen */
.as-legal-editor .trumbowyg-box,
.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck.ck-editor {
    width: 100%;
}

.as-legal-editor .trumbowyg-box,
.as-legal-editor .ck.ck-editor {
    margin-top: 8px;
}

.as-legal-editor .trumbowyg-editor,
.as-legal-editor .ck-editor__editable_inline {
    min-height: 280px;
}


/* Backend: Checkboxen in sauberer zweispaltiger Tabelle */
.as-legal-check-table {
    border-collapse: collapse;
    margin: 6px 0 12px;
    width: auto;
}

.as-legal-check-table td {
    border: 0;
    padding: 3px 8px 3px 0;
    text-align: left;
    vertical-align: middle;
}

.as-legal-check-table td:first-child {
    width: 24px;
}

.adm_form .as-legal-check-table input[type="checkbox"] {
    display: block;
    margin: 0;
    width: auto;
}

.adm_form .as-legal-check-table label {
    display: inline;
    margin: 0;
    width: auto;
}

/* Frontend: Rechtstexte */
.as-legal-front,
.as-legal-page {
    color: #1f2933;
    font-family: Arial, sans-serif;
}

.as-legal-page {
    margin: 0 auto;
    max-width: 900px;
    padding: 24px 16px;
}

.as-legal-text {
    line-height: 1.65;
}

.as-legal-text table {
    border-collapse: collapse;
    margin: 14px 0;
    width: 100%;
}

.as-legal-text th,
.as-legal-text td {
    border: 1px solid #c8d1dc;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.as-legal-text th {
    background: #f4f7fb;
    font-weight: 700;
}

.as-legal-empty,
.as-legal-shortcode {
    color: #52606d;
}

.as-legal-footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 14px 8px;
}

.as-legal-footer-links a {
    color: inherit;
    text-decoration: underline;
}

/* Frontend: Cookie-Hinweis */
.as-legal-cookie {
    background: rgba(15, 23, 42, 0.55);
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    overflow-y: auto;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.as-legal-cookie-inline {
    background: transparent;
    bottom: auto;
    overflow: visible;
    padding: 16px 0;
    position: static;
    top: auto;
}

.as-legal-cookie-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 760px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 18px;
    width: 100%;
}

.as-legal-cookie-box h3 {
    margin: 0 0 8px;
}

.as-legal-cookie-options {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.as-legal-cookie-option {
    align-items: flex-start;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.as-legal-cookie-option small {
    color: #52606d;
    display: block;
    margin-top: 3px;
}

.as-legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.as-legal-cookie button {
    background: #1f6f8b;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 10px 14px;
}

.as-legal-cookie button:first-child {
    background: #394b59;
}

.as-legal-cookie-saved {
    background: #e7f7e7;
    border: 1px solid #9ad29a;
    border-radius: 6px;
    color: #245f24;
    font-weight: 600;
    margin: 10px 0;
    padding: 8px 10px;
}

.as-legal-single-link {
    color: inherit;
}

@media (max-width: 760px) {
    .as-legal-cookie-actions {
        justify-content: stretch;
    }

    .as-legal-cookie-actions button {
        width: 100%;
    }
}

/* === as_login.css === */
﻿/********************************************************
*
* Pluginname:   Login
* Ordner:       login
* Datei:        as_login.css
* Version:      1.6
* Datum:        12.10.2026
* Autor:        Alfred Steckel
* OpenSource:   GPL-3.0-or-later
*
* Mail:         info@ascms.debug_backtrace
* Webseite:     https://ascms.de
*
*********************************************************/

.login-box,
.login-panel,
.overlay-content {
    box-sizing: border-box;
}

.login-box {
    width: 300px;
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
}

.login-box input,
.login-box button {
    margin-bottom: 10px;
}

.login-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-color, currentColor);
    border-radius: 8px;
    background: var(--bg-light, transparent);
    color: var(--text-dark, inherit);
    box-shadow: 0 8px 22px color-mix(in srgb, currentColor 8%, transparent);
}

.login-panel-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.login-panel-icon {
    display: none;
}

.login-panel-intro {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.login-primary-button,
.login-logout-button {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color, currentColor);
    background: var(--button-bg, var(--nav-bg, transparent));
    color: var(--button-text, var(--nav-text, inherit));
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.login-primary-button:hover,
.login-primary-button:focus-visible,
.login-logout-button:hover,
.login-logout-button:focus-visible {
    background: var(--button-hover-bg, var(--button-bg, var(--nav-bg, transparent)));
    color: var(--button-hover-text, var(--button-text, var(--nav-text, inherit)));
    text-decoration: none;
}

.login-panel-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    padding-top: 1px;
}

.login-panel-links a {
    color: var(--link-color, var(--highlight, inherit));
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
}

.login-panel-links a:hover,
.login-panel-links a:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-user-box {
    text-align: center;
    min-width: 90px;
}

.login-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--link-color, var(--highlight, inherit));
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

a.login-profile-link:hover,
a.login-profile-link:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-last-online {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
}

.login-profile-avatar,
.login-profile-placeholder {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
}

.login-profile-avatar {
    object-fit: cover;
    object-position: 50% 50%;
}

.login-profile-photo {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    overflow: hidden;
    border-radius: 50%;
}

.login-profile-photo.login-profile-photo-rectangular {
    height: 35px;
    border-radius: 2px;
}

.login-profile-photo .login-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: block;
}

.login-profile-placeholder {
    display: inline-block;
}

.login-profile-photo .login-profile-avatar[data-user-photo-crop] {
    position: absolute;
    max-width: none;
    object-fit: fill;
    margin: 0;
}

.login-post-hint {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    color: var(--link-color, var(--highlight, inherit));
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.login-post-hint:hover,
.login-post-hint:focus-visible {
    color: var(--link-hover-color, var(--link-color, var(--highlight, inherit)));
    text-decoration: underline;
}

.login-message {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: bold;
}

.overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: color-mix(in srgb, var(--nav-bg, var(--text-dark, currentColor)) 58%, transparent);
    z-index: 100000;
}

.overlay-content {
    width: 400px;
    max-width: 90%;
    position: relative;
    padding: 20px 30px;
    border-radius: 8px;
    background: var(--bg-light, inherit);
    color: var(--text-dark, inherit);
    box-shadow: 0 18px 55px color-mix(in srgb, currentColor 35%, transparent);
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 26px;
}

.overlay-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    text-align: center;
}

.overlay-content label {
    display: block;
    margin-top: 5px;
    font-weight: 600;
}

.overlay-content input[type=text],
.overlay-content input[type=password],
.overlay-content input[type=email],
.overlay-content select {
    width: 100%;
    min-height: 40px;
    margin-top: 3px;
    padding: 8px 10px;
    border: 1px solid var(--border-color, currentColor);
    background: var(--bg-light, inherit);
    color: var(--text-dark, inherit);
    border-radius: 6px;
    box-sizing: border-box;
}

.overlay-content button {
    width: 100%;
    min-height: 40px;
    margin-top: 5px;
    border: 0;
    border-radius: 6px;
    background: var(--button-bg, var(--nav-bg, transparent));
    color: var(--button-text, var(--nav-text, inherit));
    cursor: pointer;
    font-weight: 700;
}

.overlay-content button:hover,
.overlay-content button:focus-visible {
    background: var(--button-hover-bg, var(--button-bg, var(--nav-bg, transparent)));
    color: var(--button-hover-text, var(--button-text, var(--nav-text, inherit)));
}

.overlay-content p.error,
.overlay-content p.success {
    font-weight: bold;
    margin: 0 0 5px;
    text-align: center;
}

.password-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.password-wrapper input {
    width: 100%;
    padding-right: 46px;
}

.password-wrapper .toggle-pass,
.password-wrapper .login-password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 34px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: inherit;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-wrapper .login-password-toggle:hover,
.password-wrapper .login-password-toggle:focus-visible {
    background: color-mix(in srgb, currentColor 8%, transparent);
}

.overlay-content .login-inline-check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 10px;
    font-weight: 400;
}

.overlay-content .login-inline-check input {
    width: auto;
    min-height: 0;
    margin: 0;
}

.overlay-content .as-captcha-widget {
    margin: 10px 0 12px;
}

/* Backend: Login-Einstellungen */
.login-admin .login-settings-form {
    margin: 0;
    max-width: 980px;
}

.login-admin .login-settings-section {
    margin: 0 0 10px;
}

.login-admin .login-settings-table {
    width: 100%;
    border-collapse: collapse;
}

.login-admin .login-settings-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.login-admin .login-settings-label {
    width: 280px;
    font-weight: bold;
}

.login-admin .login-settings-field small,
.login-admin .login-section-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.login-admin .login-settings-field input[type=text],
.login-admin .login-settings-field input[type=number],
.login-admin .login-settings-field select,
.login-admin .login-settings-field textarea {
    max-width: 520px;
}

.login-admin .login-settings-field textarea {
    min-height: 76px;
}

.login-admin .login-form-actions {
    margin-top: 12px;
}

.login-admin .login-help p {
    max-width: 820px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .overlay-content {
        width: min(400px, 100%);
        max-width: 100%;
        padding: 18px;
    }

    .login-admin .login-settings-table,
    .login-admin .login-settings-table tbody,
    .login-admin .login-settings-table tr,
    .login-admin .login-settings-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .login-admin .login-settings-label {
        padding-bottom: 4px;
    }

    .login-admin .login-settings-field {
        padding-top: 4px;
    }

    .login-admin .login-settings-field input[type=text],
    .login-admin .login-settings-field input[type=number],
    .login-admin .login-settings-field select,
    .login-admin .login-settings-field textarea {
        max-width: none;
    }
}

/* === as_navigation_manager.css === */
/********************************************************
*
* Pluginname:   AS Navigationsmanager
* Ordner:       as_navigation_manager
* Datei:        as_navigation_manager.css
* Version:      1.3
* Datum:        26.09.2026
* Autor:        Alfred Steckel
*
*********************************************************/

/* Basis: Linklisten im Backend und Frontend */
.link-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.link-menu ul {
    padding-left: 20px;
    margin-top: 5px;
}

.link-item {
    margin-bottom: 5px;
}

.link-anchor {
    text-decoration: none;
    color: #007acc;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.link-anchor:hover {
    text-decoration: underline;
    color: #005f99;
}

.link-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    flex: 0 0 auto;
}

/* Frontend-Navigation */
.link-navigation {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    container-type: inline-size;
}

.link-navigation .link-menu-title,
.link-navigation .link-nav-toggle {
    display: none;
}

.link-navigation.link-layout-card {
    margin: 2px 0;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--highlight, #2e7fc1) 22%, #d9e2e8);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #f5f8fa 100%);
    box-shadow: 0 4px 14px rgba(25, 55, 75, .08);
}

.link-navigation.link-layout-card .link-menu-title {
    display: block;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dbe5ec;
    color: var(--text-dark, #263746);
    font-size: 16px;
    font-weight: 700;
}

.link-navigation.link-layout-card .link-item,
.link-navigation.link-layout-plain .link-item {
    margin: 0 0 6px;
}

.link-navigation.link-layout-card .link-item:last-child,
.link-navigation.link-layout-plain .link-item:last-child {
    margin-bottom: 0;
}

.link-navigation.link-display-button .link-anchor {
    display: flex;
    width: 100%;
    padding: 8px 11px;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--button-bg, #2e7fc1);
    color: var(--button-text, #fff);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.link-navigation.link-display-button .link-anchor:hover {
    background: var(--button-hover-bg, #24689f);
    color: var(--button-text, #fff);
    transform: translateY(-1px);
    text-decoration: none;
}

.link-navigation.link-display-text .link-anchor {
    padding: 4px 2px;
}

.link-navigation.link-layout-card .link-menu ul,
.link-navigation.link-layout-plain .link-menu ul {
    padding-left: 14px;
    margin-top: 6px;
}

/* Desktop: Untermenues nur bei Maus- oder Tastaturinteraktion anzeigen. */
.link-navigation .link-item > .link-menu {
    display: none;
}

.link-navigation .link-item:hover > .link-menu,
.link-navigation .link-item:focus-within > .link-menu {
    display: block;
}

/* Bereichsunabhaengig: breite Card/Plain-Menues nebeneinander. */
@container (min-width: 430px) {
    .link-navigation.link-layout-card > .link-menu,
    .link-navigation.link-layout-plain > .link-menu {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }

    .link-navigation.link-layout-card > .link-menu > .link-item,
    .link-navigation.link-layout-plain > .link-menu > .link-item {
        flex: 1 1 150px;
        margin: 0;
    }
}

/* Smartphone: Hamburger-Menue und klickbare Untermenues. */
@media (max-width: 760px) {
    .link-navigation .link-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
        margin: 0 0 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-sizing: border-box;
        background: var(--nav-bg, var(--button-bg, #2e7fc1));
        color: var(--nav-text, var(--button-text, #fff));
        cursor: pointer;
    }

    .link-navigation .link-nav-toggle-icon {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 24px;
        height: 20px;
        background: transparent !important;
    }

    .link-navigation .link-nav-toggle-line {
        display: block !important;
        width: 24px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        flex: 0 0 auto;
    }

    .link-navigation > .link-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100%;
    }

    .link-navigation.is-open > .link-menu,
    .link-navigation.link-nav-open > .link-menu {
        display: block !important;
    }

    .link-navigation > .link-menu > .link-item {
        margin: 0 !important;
    }

    .link-navigation .link-anchor {
        display: flex !important;
        width: 100%;
        box-sizing: border-box;
    }

    .link-navigation .link-item > .link-menu,
    .link-navigation .link-item:hover > .link-menu,
    .link-navigation .link-item:focus-within > .link-menu {
        display: none !important;
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .link-navigation .link-item.is-submenu-open > .link-menu {
        display: block !important;
    }
}
