@font-face {
  font-family: 'custom_font';
  src: url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/1034246754.woff2') format('woff2'),
       url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/1399037529.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'header';
  src: url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/763129785.woff2') format('woff2'),
       url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/1544087676.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'headlines';
  src: url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/font_6a1c57083f7b5.woff2') format('woff2'),
       url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/font_6a1c57083f7b5.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'standard';
  src: url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/font_6a1c56fe7cf06.woff2') format('woff2'),
       url('https://cloud.anoxa.ai/lib/userfiles/307/fonts/font_6a1c56fe7cf06.woff') format('woff');
  font-display: swap;
}

/**
 * Swiper 11.2.2
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: January 31, 2025
 */

@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}
/* ==========================================================================
   FRONTEND.CSS — Modernisiert Februar 2026
   Struktur:
   1. Reset & Basis
   2. Accessibility
   3. Animationen / Keyframes
   4. Lazy-Load
   5. Layout (main, section, footer)
   6. Container & Slots
   7. Hintergrund (bg, overlay, video)
   8. Header & Navigation
   9. Suche
   10. Lightbox (Fancybox)
   11. Popup
   12. Slider (Swiper)
   13. Slider (Background/Legacy)
   14. Video
   15. Google Maps
   16. Module (Gallery, Download, Text)
   17. Öffnungszeiten
   18. Umfrage
   19. Adventskalender
   20. Cookie-/Infobanner
   21. Service
   22. Kontaktformular
   23. Checkbox (Custom)
   24. Login
   25. Presse / Medienarchiv
   26. Wartung
   27. Ladeanimation
   28. Responsive
   29. Instagram Feed
   30. Shops
   31. Events
   32. Angebote (Übersicht & Shop-Kontext)
   33. Jobs / Stellenangebote
   34. Mieterportal: Stellenanzeigen (Modul "Jobs Mieter")
   ========================================================================== */


/* ==========================================================================
   1. RESET & BASIS
   ========================================================================== */

/* ── Brand-Variablen ─────────────────────────────────────────────────────────
   Default: ACL-Teal als sinnvoller Fallback. Mandanten überschreiben in ihrer
   client.css per `:root { --brand-primary: #...; --logo-filter: none; }`.
   --logo-filter: brightness(0) wirkt als Default für helle Themes (CMS liefert
   weiße Logos → schwarz auf hellem Background). Dunkle Themes: `none` setzen.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
    --brand-primary: #6aaeaa;
    --brand-primary-dark: #4a8b88;
    --card-border: #d8d8d8;
    --logo-filter: brightness(0);
    /* Schmale, condensed Brand-Schrift (z.B. DIN Condensed). Default = ACL "Bold".
       Mandanten überschreiben in client.css falls anderer Schrift-Alias. */
    --font-condensed: 'Bold', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: auto !important;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

a, button, i {
    transition: 0.5s ease;
}

select {
    appearance: none;
    padding: 15px 10px;
}

h1 {
    margin-bottom: 0;
}

input[type='date'],
input[type='time'] {
    appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: white;
}

meter {
    width: 98%;
    top: 20px;
    margin: 1%;
    height: 10px;
    border-radius: 0;
    border: 0;
}

meter::-webkit-meter-bar {
    background: none;
    background-color: whiteSmoke;
    box-shadow: 0 5px 5px -5px #333 inset;
}

meter::-webkit-meter-optimum-value {
    background: green;
}

meter::-webkit-meter-suboptimum-value {
    background: orange;
}

meter::-webkit-meter-even-less-good-value {
    background: red;
}


/* ==========================================================================
   2. ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateY(-100%);
    background: #000;
    color: #fff !important;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ==========================================================================
   3. ANIMATIONEN / KEYFRAMES
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 1.3s cubic-bezier(0, 0, 0.4, 1) forwards;
}


/* ==========================================================================
   4. LAZY-LOAD
   ========================================================================== */

img.lazy-load {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

img.lazy-load.fade-in {
    opacity: 1;
}

img.lazy-load::before {
    content: " ";
    display: block;
    position: absolute;
    inset: 0;
    height: calc(100% + 10px);
    width: 100%;
    background-color: rgb(230, 230, 230);
}

img.lazy-load::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: calc(100% + 10px);
    padding: 10px 0;
    content: "\f127   Fehlerhaftes Bild '" attr(alt) "'";
    display: block;
    font-size: 16px;
    font-family: FontAwesome;
    color: rgb(100, 100, 100);
    text-align: center;
}

img.lazy-load:not([src])::after {
    content: "Bild '" attr(alt) "' wird geladen";
}


/* ==========================================================================
   5. LAYOUT — <main>, <section>, <footer>
   ========================================================================== */

/* --- Hauptbereich -------------------------------------------------------- */

main#wrapper {
    position: relative !important;
    width: 100%;
    /* kein overflow — würde background-attachment:fixed auf .bg brechen */
    flex: 1 0 auto;   /* nimmt allen verfügbaren Platz */
    z-index: 1;
}

/* --- Sections (Container-Abschnitte) ------------------------------------- */

main > section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    /* KEIN overflow hier — overflow:clip/hidden auf section bricht background-attachment:fixed auf .bg */
    z-index: 6;
}

/* Onepager-Variante (falls unterschiedliches Verhalten nötig) */
main > section.onepager {
    height: auto !important;
}

/* Full-Onepager (Case C): Sections liegen NICHT in <main>, der Selektor
   "main > section" greift dort also nicht. Positionierung + Stacking-Context
   hier eigenstaendig setzen, sonst rutscht .bg (z-index:-2) hinter die Seite
   und der Section-Hintergrund verschwindet. */
section.onepager {
    position: relative;
    width: 100%;
    z-index: 6;
}

/* Onepager-Anker (unsichtbar, gibt Anker-IDs vor erster Section einer Page) */
.onepager-anchor {
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
    /* Falls Sticky-Header verwendet wird: --header-h setzen */
    scroll-margin-top: var(--header-h, 0px);
}

/* --- Footer -------------------------------------------------------------- */

footer {
    position: relative !important;
    width: 100%;
    padding: 20px;
    z-index: 1;
    flex-shrink: 0;   /* Footer wird nie gestaucht */
}

/* ── Footer ── */
.site-footer {
    display: flex;
    justify-content: space-between;
}

/* Links: Nav vertikal */
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Rechts: Social oben, Copyright unten */
.footer-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-aside {
        align-items: center;
        margin-top: 1rem;
    }

    .footer-copyright {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-copyright {
        font-size: 11px;
    }
    .footer-nav a,
    .footer-nav span {
        font-size: 13px;
    }
}

/* --- Inner (Detail-Seiten Spacer) ---------------------------------------- */

.inner {
    width: 100%;
    margin: 90px auto 0;
    position: relative;
    height: auto !important;
    overflow: hidden;
    font-size: 18px;
    color: #000;
    z-index: 2;
}


/* ==========================================================================
   6. CONTAINER & SLOTS
   ========================================================================== */

/* --- Row (ersetzt inline-container + container_content_wrapper) ----------- */

.row {
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    overflow: clip;  /* clip statt hidden: kein Scroll Container → background-attachment:fixed funktioniert */
    z-index: 6;
}

.row h1 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* --- Slots (ersetzt container_wrapper) ----------------------------------- */

.slot {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding: 30px 2%;
    overflow: hidden;
    position: relative;
    z-index: 8;
}

.slot.zwei {
    max-width: 50%;
}

.slot.drei {
    max-width: 33.333%;
}

.slot.vier {
    max-width: 25%;
}
.slot img {
    max-width: 100%;
    height: auto;
    margin-bottom: -7px;
    display: block;       /* ← verhindert inline-Whitespace */
}
.slot.zwei img,
.slot.drei img,
.slot.vier img {
    width: 100%;
}

/* --- Proportionale Slots --------------------------------------------------
   --slot-basis wird vom __wrapper.php (build_slot_flex_basis) ausgegeben,
   wenn alle Slots eines Containers px-Breiten haben. Slots behalten dann ab
   Desktop das Breitenverhältnis ihrer konfigurierten Breiten (altes
   width + flex-shrink Verhalten). Mobil greift weiterhin das Stacking. */
@media (min-width: 769px) {
    .row > .slot.proportional {
        flex: 0 1 var(--slot-basis);
    }
}

.slot.fullscreen,
.row.fullscreen {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* --- Slot Content-Defaults (nach globalem margin:0 Reset) ---------------- */

.slot p,
.slot ul,
.slot ol {
    margin-bottom: 1em;
}
.slot p:last-child,
.slot ul:last-child,
.slot ol:last-child {
    margin-bottom: 0;
}
.slot ul,
.slot ol {
    padding-left: 1.5em;
}
.slot li {
    margin-bottom: 0.25em;
}

/* --- Trenner ------------------------------------------------------------- */

.trenner {
    flex-basis: 100%;
    width: 100%;
    clear: both;
}


/* --- Legacy: one / sinner (für alte Onepager-Seiten) --------------------- */

.one,
.sinner {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: auto;
    overflow: hidden;
    font-size: 18px;
}

.sinner {
    color: #000;
    z-index: 6;
}

.sinner h1,
.one h1 {
    position: relative;
    width: 100%;
    padding: 1%;
    font-size: 40px;
    height: auto;
    overflow: hidden;
    text-align: center;
    margin: 20px 0;
    color: #000;
}

.one h1 {
    margin-bottom: 0;
}


/* ==========================================================================
   7. HINTERGRUND (BG, OVERLAY, VIDEO)
   ========================================================================== */

/* --- Section-Hintergrund ------------------------------------------------- */

/* Background- und Overlay-Layer der Section. Negative z-index hält sie immer
   hinter dem Content (h1, .row), unabhängig von Modus (normal/onepager_sub/full). */
.bg,
.overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: -2;
}

.overlay {
    z-index: -1;
    background-repeat: repeat;
}

section.onepager .overlay {
    z-index: -1;
    background-repeat: repeat;
}

/* --- Legacy-Klassen (falls noch im Einsatz) ------------------------------
   Identische z-index-Werte wie .bg/.overlay oben, sonst überschreiben sie
   die neuen Regeln durch Cascade (kommen später im CSS). */

.sectionbg    { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 100%; min-width: 100%; z-index: -2; }
.sectionverlay { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 100%; min-width: 100%; z-index: -1; background-repeat: repeat; }

.onesectionbg,
.onesectionbg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    z-index: -2;
}

.onesectionverlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    z-index: -1;
}

#onesectionverlay {
    z-index: -1;
    background-repeat: repeat;
}

.onesection > .sectionbg {
    z-index: -2 !important;
}

/* --- Globaler Seitenhintergrund (fixed) ---------------------------------- */

.bgmix,
.bgoverlay {
    position: fixed;
    inset: 0;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto;
    height: auto;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: 1s opacity;
    z-index: 0;
}

.bgoverlay {
    z-index: 1;
    background-repeat: repeat;
}

.bgv video {
    position: fixed;
    inset: 0;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto;
    height: auto;
    z-index: 0;
    background-position: top center;
    background-size: cover;
    transition: 1s opacity;
}

.bg video,
.sectionbg video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}


/* ==========================================================================
   8. HEADER & NAVIGATION
   ========================================================================== */

/* --- Header -------------------------------------------------------------- */

header {
    position: fixed;
    overflow: visible !important;
    z-index: 99;
}

#logo_bild {
    z-index: 103;
    position: absolute;
}

/* --- Burger-Button ------------------------------------------------------- */
/* --- Nav Toggle (Position aus __dynamic_styles.php) ---------------------- */

.nav-toggle {
    z-index: 103;
    position: fixed;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.nav-toggle img {
    width: 30px;
    height: auto;
}

.nav-toggle i {
    font-size: 30px;
    line-height: 30px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    transform: scale(1.2);
}

/* Open/Close Icons umschalten */
/* Nav Toggle: Open/Close umschalten */
.nav-toggle__close {
    display: none;
}

.nav-toggle.is-active .nav-toggle__open {
    display: none;
}

.nav-toggle.is-active .nav-toggle__close {
    display: block;
}

/* --- Nav Search (floating, fixed, pulsierend — Position aus frontend.addon.php) */

.nav-search {
    position: fixed;
    z-index: 110;
    margin: 0;
    padding: 0;
    border: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Doppelter Pulse-Ring */
.nav-search::before,
.nav-search::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    pointer-events: none;
    animation: nav-search-pulse 2.8s ease-out infinite;
}

.nav-search::after {
    animation-delay: 1.4s;
}

@keyframes nav-search-pulse {
    0%   { opacity: 0.65; transform: scale(1);   }
    100% { opacity: 0;    transform: scale(2.0); }
}

.nav-search img {
    width: 36px;
    height: auto;
    display: block;
}

.nav-search i {
    font-size: 26px;
    line-height: 1;
}

.nav-search:hover,
.nav-search:focus-visible {
    transform: scale(1.12);
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* --- Nav Overlay (wie .navigation-display, rechts ausgerichtet) ---------- */

.nav-overlay {
    position: fixed;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 102;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-overlay ul {
    list-style: none;
    max-height: 60vh;
    position: relative;
    margin: 50px auto 0;
    padding: 0;
}

.nav-overlay ul li {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.nav-overlay ul a {
    text-decoration: none;
    display: block;
    text-align: center;
    text-transform: uppercase;
}

/* Sub-Toggle */
.nav-overlay .sub-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.2s ease;
}

.nav-overlay .sub-toggle i {
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.nav-overlay li.is-expanded > .sub-toggle i {
    transform: rotate(0);
}

/* Untermenü (2. Ebene) */
.nav-overlay ul li ul {
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-overlay li.is-expanded > ul {
    max-height: 500px;
}


/* --- Sprachauswahl ------------------------------------------------------- */
.language_select {
    display: inline-block;
    font-size: 24px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    position: fixed;
    z-index: 101;
}

.language_select a {
    padding: 0 12px;
    height: 50px;
    text-decoration: none;
    display: inline-block;
    transition: 1s ease;
}


/* ==========================================================================
   9. KI-CHAT (rechtes Seitenpanel — kein Overlay)
   ========================================================================== */

/* ── Panel (fährt von rechts ein) ───────────────────────────────────────── */
#suche {
    position: fixed;
    top: var(--ki-panel-top, 80px);
    right: 0;
    width: 380px;
    height: calc(100vh - var(--ki-panel-top, 80px));
    /* dvh berücksichtigt mobile URL-Bar — fällt auf vh zurück, wenn Browser dvh nicht kennt */
    height: calc(100dvh - var(--ki-panel-top, 80px));
    z-index: 105;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#suche.ki-chat--open {
    transform: translateX(0);
    pointer-events: all;
}

/* ── Panel-Inneres ───────────────────────────────────────────────────────── */
#ki-chat-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 28, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
#ki-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

#ki-chat-agent-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.06);
    /* Logo zentriert einpassen, nicht beschneiden — funktioniert für SVG, PNG und nicht-quadratische Bilder */
    background-size: 65% auto;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    flex-shrink: 0;
}

#ki-chat-header-info {
    flex: 1;
    min-width: 0;
}

#ki-chat-header-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ki-status-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

#ki-status-text:not(:empty)::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.close_suche {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
    margin-left: auto;
}

.close_suche:hover,
.close_suche:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── Nachrichten-Bereich ─────────────────────────────────────────────────── */
#ki-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

#ki-chat-messages::-webkit-scrollbar { width: 4px; }
#ki-chat-messages::-webkit-scrollbar-track { background: transparent; }
#ki-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* ── Bubble Wrapper (Avatar + Bubble) ───────────────────────────────────── */
.ki-msg-row {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    width: 100%;
    animation: kiBubbleFadeIn 0.2s ease;
}

.ki-msg-row--agent { flex-direction: row; }
.ki-msg-row--user  { flex-direction: row-reverse; }

@keyframes kiBubbleFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Avatar (Agent-Kreis mit Logo) ──────────────────────────────────────── */
.ki-msg-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.06);
    /* Logo zentriert einpassen, nicht beschneiden */
    background-size: 65% auto;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    overflow: hidden;
}

/* ── Bubbles ─────────────────────────────────────────────────────────────── */
.ki-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
}

/* Agent: links, dunkles Glas */
.ki-msg-row--agent .ki-bubble {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    border-bottom-left-radius: 4px;
}

/* User: rechts, Akzentfarbe — per Client überschreibbar */
.ki-msg-row--user .ki-bubble {
    background: rgba(5, 155, 246, 0.75);
    border: 1px solid rgba(5, 155, 246, 0.4);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Links innerhalb Agent-Bubbles */
.ki-msg-row--agent .ki-bubble a {
    color: rgba(4, 245, 219, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.ki-msg-row--agent .ki-bubble a:hover {
    color: #04f5db;
}

/* Link-Button — ersetzt nackte URLs */
.ki-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(4, 245, 219, 0.1);
    border: 1px solid rgba(4, 245, 219, 0.25);
    color: rgba(4, 245, 219, 0.9);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    word-break: normal;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ki-link-btn:hover {
    background: rgba(4, 245, 219, 0.18);
    border-color: rgba(4, 245, 219, 0.45);
    color: #04f5db;
    text-decoration: none;
}

.ki-link-btn i {
    font-size: 11px;
    flex-shrink: 0;
}

/* Intro-Bubble (erste Begrüßung) */
.ki-bubble--intro {
    background: rgba(4, 245, 219, 0.06);
    border-color: rgba(4, 245, 219, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

/* ── Typing Indicator ────────────────────────────────────────────────────── */
.ki-bubble--typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    min-width: 52px;
}

.ki-bubble--typing span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(4, 245, 219, 0.6);
    animation: kiTypingBounce 1.2s infinite ease-in-out;
}

.ki-bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.ki-bubble--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes kiTypingBounce {
    0%, 60%, 100% { transform: translateY(0);    opacity: 0.4; }
    30%            { transform: translateY(-6px); opacity: 1; }
}

/* ── Input-Bereich ───────────────────────────────────────────────────────── */
#ki-chat-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

#ki-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #fff;
    resize: none;
    outline: none;
    line-height: 1.45;
    font-family: inherit;
    min-height: 42px;
    max-height: 120px;
    overflow-y: auto;
    transition: border-color 0.15s ease;
}

#ki-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#ki-chat-input:focus {
    border-color: rgba(5, 155, 246, 0.5);
}

#ki-chat-input:disabled {
    opacity: 0.45;
}

#ki-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: rgba(5, 155, 246, 0.85);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

#ki-chat-send:hover {
    background: #059bf6;
    transform: scale(1.05);
}

#ki-chat-send:active {
    transform: scale(0.96);
}

#ki-chat-send:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

/* ── Sprachein-/ausgabe (client.chat.audio.js) ──────────────────────────────
   Markup wird per JS ergänzt und nur für freigeschaltete Mandanten geladen.
   Die Regeln stören ohne das Modul nicht — die Selektoren greifen dann nie. */

#ki-chat-mic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;

    /* Gedrückthalten darf weder scrollen noch Text markieren oder auf iOS
       das Kontextmenü öffnen — sonst bricht die Aufnahme beim Halten ab. */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

#ki-chat-mic:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#ki-chat-mic:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Laufende Aufnahme — Puls signalisiert das offene Mikrofon deutlich */
#ki-chat-mic.is-recording {
    background: rgba(214, 44, 44, 0.9);
    border-color: transparent;
    color: #fff;
    animation: ki-mic-puls 1.4s ease-in-out infinite;
}

@keyframes ki-mic-puls {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214, 44, 44, 0.55); }
    50%      { box-shadow: 0 0 0 7px rgba(214, 44, 44, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #ki-chat-mic.is-recording { animation: none; }
}

/* Lautsprecher an der Antwort */
.ki-audio-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    vertical-align: middle;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ki-audio-play:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ki-audio-play.is-loading {
    opacity: 0.5;
    cursor: default;
}

.ki-audio-play.is-playing {
    background: rgba(5, 155, 246, 0.85);
    color: #fff;
}

/* ── Disclaimer-Screen (vor erster Nutzung) ─────────────────────────────── */
#ki-chat-disclaimer {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 28px;
    gap: 16px;
    overflow-y: auto;
}

#ki-chat-disclaimer[aria-hidden="true"] {
    display: none;
}

.ki-disclaimer-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.ki-disclaimer-titel {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.ki-disclaimer-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 360px;
}

.ki-disclaimer-links {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 360px;
}

.ki-disclaimer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.ki-disclaimer-links a:hover,
.ki-disclaimer-links a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.ki-disclaimer-links a i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.ki-disclaimer-start {
    margin-top: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: var(--bikini-red, #e30613);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.18s ease, transform 0.12s ease;
}

.ki-disclaimer-start:hover {
    background: var(--bikini-red-hover, #b8050f);
}

.ki-disclaimer-start:active {
    transform: translateY(1px);
}

.ki-disclaimer-start:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ── Permanenter Hinweisbanner (im aktiven Chat) ────────────────────────── */
#ki-chat-banner {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 200, 0, 0.08);
    border-bottom: 1px solid rgba(255, 200, 0, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 11.5px;
    line-height: 1.45;
}

#ki-chat-banner[aria-hidden="true"] {
    display: none;
}

#ki-chat-banner i {
    flex-shrink: 0;
    color: rgba(255, 200, 0, 0.85);
    font-size: 13px;
    margin-top: 1px;
}

#ki-banner-text {
    flex: 1;
}

/* Form ausgeblendet, solange Disclaimer aktiv ist */
#ki-chat-form[aria-hidden="true"] {
    display: none;
}

#ki-chat-messages[aria-hidden="true"] {
    display: none;
}

/* ── Screen-reader only ──────────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Responsiv ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    /* Mobile: Panel füllt den sichtbaren Viewport mit 20px Abstand oben+unten.
       Override der --ki-panel-top aus frontend.addon.php (DB-Header-Höhe) —
       die ist auf Desktop sinnvoll, würde mobil aber 120-180px Leerraum erzeugen.
       dvh statt vh, damit die mobile URL-Bar korrekt berücksichtigt wird. */
    #suche {
        top: 20px;
        width: 100%;
        max-width: 100%;
        height: calc(100dvh - 40px);
        padding: 0;
        align-items: flex-end;
        /* Slide-In von unten statt von rechts (mobil intuitiver).
           +20px kompensiert das top:20px-Offset, sonst bleiben 20px Element
           unten am Viewport-Rand sichtbar wenn das Panel zu ist. */
        transform: translateY(calc(100% + 20px));
    }
    #suche.ki-chat--open {
        transform: translateY(0);
    }
    #ki-chat-panel {
        max-width: 100%;
        width: 100%;
        height: 100%;
        border-radius: 20px 20px 0 0;
        /* Kein eigener transform — slidet mit #suche */
        transform: none;
    }
    #suche.ki-chat--open #ki-chat-panel {
        transform: none;
    }
    #ki-chat-form {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        flex-shrink: 0;
    }
    #ki-chat-banner {
        padding: 8px 14px;
        font-size: 11px;
    }
    #ki-chat-disclaimer {
        padding: 24px 20px;
    }
    .close_suche {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}


/* ==========================================================================
   10. LIGHTBOX (FANCYBOX)
   ========================================================================== */

.fancybox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.fancybox-overlay.visible {
    opacity: 1;
}

.fancybox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fancybox-caption {
    position: relative;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #FFF;
    padding: 10px 0 0;
}

.fancybox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    border: 10px solid white;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fancybox-image.fadeEffect-out {
    opacity: 0;
}

.fancybox-image.fadeEffect-in {
    opacity: 0;
    animation: fadeEffect 0.3s ease-in-out forwards;
}

.fancybox-close,
.fancybox-next,
.fancybox-prev {
    position: absolute;
    color: white;
    cursor: pointer;
    width: 35px !important;
    height: 35px !important;
    background: #000;
    border-radius: 50%;
    border: 2px solid #FFF;
    font-size: 30px;
    line-height: 30px;
    transition: 0.5s ease;
    display: flex;
    z-index:20;
    justify-content: center;
    align-items: center;
}

.fancybox-close:hover,
.fancybox-next:hover,
.fancybox-prev:hover {
    background: #FFF;
    color: black;
}

.fancybox-close {
    top: 20px;
    right: 20px;
}

.fancybox-next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.fancybox-prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}


/* ==========================================================================
   11. POPUP
   ========================================================================== */

#popupfenster {
    display: none;
}

.popufenster {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
    z-index: 50;
    padding: 0;
    margin: 0;
    max-width: 600px;
    width: calc(100% - 40px);
}

.popupclose {
    position: absolute;
    cursor: pointer;
    top: 20px;
    right: 20px;
    z-index: 51;
    font-size: 30px;
}

.popupnext,
.popupbefore {
    position: absolute;
    top: 50%;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 50px;
    height: 40px;
    line-height: 40px;
    width: 22px;
    z-index: 51;
    transform: translateX(-50%);
    cursor: pointer;
}

.popupbefore {
    left: 20px !important;
}

.popupnext {
    right: 0;
    text-align: right;
}


/* ==========================================================================
   12. SLIDER (SWIPER)
   ========================================================================== */

.slidetext {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    height: calc(100% - 40px);
}



.swiper-slide {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    cursor: grab;
}

.swiper-slide:active {
    cursor: grabbing;
}

.swiper-slide > a {
    flex: 1 1 auto;
    display: flex;
    z-index: 10;
    cursor: pointer;
}

.swiper-slide > a img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.swiper-slide a img {
    transition: 0.5s ease;
}

.swiper-slide a:focus img,
.swiper-slide a:focus-within img {
    transform: scale(1.1);
    overflow: hidden;
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    margin: 4px;
    background: #ccc;
}

.swiper-pagination-bullet-active {
    background: #333;
}

.swiper-pagination-bullet:focus-within,
.swiper-pagination-bullet:hover {
    background: #FFF;
}

button.pause-swiper,
button.start-swiper {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border: 0;
    margin: 0;
    padding: 5px;
    height: 30px;
    width: 30px;
    z-index: 999;
    color: #FFF;
    font-size: 20px !important;
    line-height: 20px !important;
    background: transparent;
    transition: 1s ease;
}

button.pause-swiper:hover,
button.start-swiper:hover,
button.pause-swiper:focus,
button.start-swiper:focus {
    background: #000;
}


/* ==========================================================================
   13. SLIDER (BACKGROUND / LEGACY)
   ========================================================================== */

#controls {
    top: 55%;
    margin-top: -25px;
    height: 50px;
    overflow: hidden;
    width: 100%;
    z-index: 3;
    position: absolute;
}

#slidecaption {
    position: absolute;
    font-size: 55px;
    width: 50%;
    padding: 0.5% 2% 0.5% 0.5%;
    height: auto;
    overflow: hidden;
    top: 150px;
    right: 50px;
    z-index: 3;
    text-align: center;
    color: #FFF;
}

.slider_subline {
    border-top: 1px solid #FFF;
    padding: 20px 0 20px 25%;
    width: 50%;
    text-align: center;
    font-size: 25px !important;
    font-weight: normal;
    color: #FFF;
    height: auto !important;
    overflow: hidden;
    display: block;
}

#prevslide,
#nextslide {
    position: absolute;
    margin: 0;
    border: none;
    top: 0;
    color: #000;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px 10px 10px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

#prevslide { left: 10px; }
#nextslide { right: 10px; }

#prevslide:hover,
#nextslide:hover {
    color: rgba(0, 0, 0, 0.7);
}


/* ==========================================================================
   14. VIDEO
   ========================================================================== */

.container_video {
    position: relative;
    width: 100%;
}

.container_video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.container_video iframe,
.container_video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.container_video video {
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    /* KEINE translate(-50%,-50%)-Zentrierung: das Video ist via inset:0 +
       width/height:100% ohnehin exakt slotgroß — die Zentrierung erzeugte
       nur Subpixel-Rundung (1px-Rand rechts sichtbar, z.B. stb-lp Kanzlei) */
}

button.video-control {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border: 0;
    margin: 0;
    padding: 5px;
    height: 30px;
    width: 30px;
    z-index: 999;
    color: #FFF;
    font-size: 20px !important;
    line-height: 20px !important;
    background: transparent;
    transition: 1s ease;
}

button.video-control.play-btn {
    display: none;
}

button.video-control:hover,
button.video-control:focus {
    background: #000;
}

/* Untertitel-Styling */
::cue {
    font-size: 1rem;
    line-height: 1.4;
    font-family: inherit;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.75);
    text-shadow: none;
    white-space: pre-wrap;
    padding: 0.15em 0.5em;
    border-radius: 2px;
}

.addon_video {
    position: relative;
    width: 33.3%;
    float: left;
}

.addon_video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.addon_video iframe,
.addon_video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   15. GOOGLE MAPS
   ========================================================================== */

.google {
    position: relative;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

#map_canvas {
    position: relative;
    min-height: 400px;
    background: transparent;
}

#googleoverlay {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

#googleoverlay img {
    display: block;
    position: absolute;
    height: 400px !important;
    width: auto !important;
    min-width: 100vw;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    max-width: none;
    max-height: none;
}

.overlaywindow {
    position: absolute;
    top: 50%;
    left: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFF;
    font-size: 20px;
    transition: 0.5s ease;
}


/* ==========================================================================
   16. MODULE (GALLERY, DOWNLOAD, TEXT)
   ========================================================================== */

.basic_container {
    position: relative;
    width: 100%;
    padding: 2%;
    font-size: 18px;
    text-align: justify;
}

.basic_container img {
    width: 100%;
    height: auto;
}

.basic_container p {
    margin-bottom: 15px;
}

.basic_container li {
    margin-left: 15px;
}

.igallery,
.downloadcontainer,
.videocontainer {
    position: relative;
    width: 100%;
    padding: 2%;
    height: auto;
    overflow: hidden;
}

.igallery img {
    float: left;
    width: 20% !important;
    height: auto;
    transition: 0.5s ease;
}

.igallery img:hover,
.igallery a:focus img {
    padding: 20px;
}

.igallery,
.igallery img {
    transition: 0.5s ease;
}

.igallery h3,
.downloadcontainer h3,
.videocontainer h3 {
    font-size: 24px;
    width: 100%;
    height: 40px;
    line-height: 40px;
}


/* ==========================================================================
   17. ÖFFNUNGSZEITEN
   ========================================================================== */

.openclass {
    position: relative;
    height: auto;
    overflow: hidden;
}
.openclass h2 {
    float: none;
    font-size: 30px;
    line-height: 30px;
}
.openclass h2 i {
    color: #000;
}
.geoffnet {
    color: #000;
    font-weight: bold;
}
.home .openclass {
    font-size: 20px;
    line-height: 25px;
}



.opentill {
    font-size: 80px;
    line-height: 90px;
    color: #22a857;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
}

.openbis {
    font-size: 37px;
    line-height: 45px;
}

.opentitel {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.opentage {
    font-size: 17px;
    letter-spacing: 0.2px;
}




/* ==========================================================================
   18. UMFRAGE  (User-Umfrage-Modal)
   --------------------------------------------------------------------------
   Pattern: fullscreen-overlay-modal mit scrollbarer zentrierter Card.
   #updateumfrage  = position:fixed full-viewport (Top-Level-Wrapper)
   .umfrage-bg     = absolute backdrop (semi-transparent)
   .umfrage        = relative zentrierte Card (innerhalb des Overlays)
   .umfrage-close  = absolute Close-Button oben rechts
   Klassennamen:
     - Bindestrich (z.B. .umfrage-bg)  = neuer Standard, im PHP genutzt
     - Underscore  (z.B. .umfrage_bg)  = Legacy-Alias (Backwards-Compat)
   Tenant-spezifische Anpassungen (Farben, Schriften, Akzent) leben in
   der client.css/client.css.php des jeweiligen Mandanten.
   ========================================================================== */

#updateumfrage {
    position: fixed;
    inset: 0;
    z-index: 120;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.umfrage-bg,
.umfrage_bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    cursor: pointer;
}

.umfrage {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 800px;
    margin: 60px auto;
    padding: 48px 40px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.4);
}

.umfrage-close,
.umfrage_close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.umfrage-close:hover,
.umfrage_close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.umfrage h1 {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 0;
    font-size: 32px;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    text-shadow: none;
}

.umfrage h2 {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 16px;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.umfrage-einleitung,
.umfrage_einleitung {
    width: 100%;
    max-width: 640px;
    margin: 24px auto;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.umfrage-antworten,
.umfrage_antworten {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 32px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.umfrage-antworten img,
.umfrage_antworten img {
    width: 100% !important;
    height: auto;
    margin-bottom: 16px;
    border-radius: 0;
}

.umfrage-outer,
.umfrage_outer {
    width: auto;
    margin: 32px auto 0;
    text-align: center;
}

.umfrage-outer-buttons,
.umfrage_outer_buttons {
    width: 100%;
    max-width: 640px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 32px auto 0;
}

.umfrage-start,
.umfrage_start,
.umfrage-next,
.umfrage_next,
.umfrage-back,
.umfrage_back {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #666;
    background: transparent;
    color: #666;
    -webkit-appearance: none;
    appearance: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.umfrage-start,
.umfrage_start {
    background: #333;
    color: #fff;
    border-color: #333;
}
.umfrage-next,
.umfrage_next {
    margin-left: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .umfrage {
        margin: 24px auto;
        padding: 32px 20px;
    }
    .umfrage h1 {
        font-size: 24px;
    }
    .umfrage-outer-buttons,
    .umfrage_outer_buttons {
        flex-direction: column-reverse;
    }
    .umfrage-next,
    .umfrage_next {
        margin-left: 0;
    }
}


/* ==========================================================================
   19. ADVENTSKALENDER
   --------------------------------------------------------------------------
   Layout-Mechanik für Gewinnspiel-Modul (zwei Varianten: 24-Türchen-Kalender
   oder einfaches Tagesgewinnspiel). Brand-Spezifika (Farben, Schriftarten,
   Häkchen-Farbe) leben in den jeweiligen client.css als Overrides — siehe
   CSS-Variablen-Defaults am Ende dieses Blocks.

   Markup-Verhalten:
   - .gewinnmodul        = Hauptcontainer
   - .kalender-wand      = Türchen-Grid
   - .tuerchen.today     = klickbares Türchen (heutiger Termin)
   - .tuerchen.nottoday  = gedimmtes Deko-Türchen
   - .gewinner           = Gewinn-Bereich, öffnet sich UNTER der Wand
                           via aria-hidden-Toggle (kein display-Flackern,
                           CSS macht display:none/block automatisch)
   - .gewinne            = Grid für ein oder mehrere .gewinn-artikel
   - #teilnahmeformular  = Card-Container für das Anmelde-Formular
   ========================================================================== */

.gewinnmodul {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 40px auto;
}

.gewinnmodul h1 {
    margin: 0 0 30px;
    line-height: 1.1;
    text-align: center;
}

.kalenderinfo {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
}
.kalenderinfo p {
    margin: 0 0 1em;
}
.kalenderinfo p:last-child {
    margin-bottom: 0;
}

/* ── Türchen-Wand: Grid statt Float ─────────────────────────────────────── */

.kalender-wand {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tuerchen {
    position: relative;
    aspect-ratio: 1;
    cursor: default;
    transition: transform 0.2s ease;
}
.tuerchen.today {
    cursor: pointer;
}
.tuerchen.nottoday {
    opacity: 0.65;
}
.tuerchen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.tuerchen.today:hover img,
.tuerchen.today:focus img {
    transform: scale(0.85);
}

/* ── Gewinn-Bereich: öffnet sich unter der Türchen-Wand ─────────────────── */

.gewinner {
    position: relative;
    width: 100%;
    padding: 40px 20px;
    margin-top: 20px;
    overflow: hidden;
}
.gewinner[aria-hidden="true"] {
    display: none;
}

.gewinn-titel,
.verlosung-titel {
    position: relative;
    font-size: 30px;
    line-height: 38px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    padding-right: 50px;
}
.verlosung-titel {
    max-width: 60%;
    margin: 50px auto;
    padding-right: 0;
}

.gewinn-close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    z-index: 8;
    font-size: 30px;
    transition: transform 0.2s ease;
}
.gewinn-close:hover {
    transform: rotate(-90deg);
}

/* ── Gewinn-Übersicht (1 oder mehrere Artikel) ──────────────────────────── */

.gewinne {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 600px));
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.gewinn-artikel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.gewinn-artikel-bild {
    position: relative;
    width: 100%;
}
/* Mieter-Logo im Container (kompakt oben) */
.gewinn-artikel-bild .imagecontainer {
    position: relative;
    overflow: hidden;
    height: 80px;
    width: 100%;
    margin-bottom: 20px;
}
.gewinn-artikel-bild .imagecontainer img {
    position: absolute;
    max-height: 70px;
    max-width: 200px;
    width: auto !important;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Gewinn-Bild: groß und zentral, mit Höhen-Limit */
.gewinn-artikel-bild > img {
    display: block;
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.gewinn-artikel-info {
    position: relative;
    padding: 25px 0 0;
    width: 100%;
}
.gewinn-artikel-info h2,
.gewinn-artikel h1 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 15px;
}
.gewinn-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}
/* Subline (z.B. "Gewinnabholung bis ...") */
.gewinn-artikel-info h3,
.verlosung-titel h3 {
    font-size: 11px;
    line-height: 13px;
    font-weight: normal;
    font-style: italic;
    text-transform: none;
}

/* ── Teilnahmeformular: Card-Container ─────────────────────────────────── */

#teilnahmeformular {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}


/* ==========================================================================
   20. COOKIE- / INFOBANNER
   ========================================================================== */

#myinfos {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    z-index: 500000;
}

#cookiebanner,
#mysettings,
#infosbanner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    z-index: 99999;
    width: 500px;
    transition: transform 0.4s ease;
    max-width: calc(100% - 40px);
}

#mysettings button{
    margin-right: 10px;

}
/* ==========================================================================
   Cookie-Banner (#infosbanner)
   - font-size desktop 14px, mobile 12px
   - Buttons mit margin-bottom für mobile Wrap
   - Kategorien-Liste mit Tooltip on Hover/Focus
   ========================================================================== */

#infosbanner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 500001;
    max-width: calc(100% - 40px);
    width: 600px;
    padding: 30px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}
#infosbanner.is-active {
    display: block;
}

#infosbanner h2 {
    color: #FFF !important;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 16px;
}

#infosbanner a {
    color: #FFF;
    text-decoration: underline;
}

#infosbanner .cookies_text,
#infosbanner .cookies_text *,
#infosbanner .cookies_text a,
#infosbanner .cookies_text a span,
#infosbanner .cookies_text p,
#infosbanner .cookies_text span {
    color: #FFF;
    font-size: 14px !important;
    line-height: 1.5;
    margin: 0 0 12px;
}

#infosbanner button {
    background: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    padding: 10px 20px;
    margin: 0 8px 12px 0;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
#infosbanner button:hover {
    background: #FFF;
    color: #000;
}
#infosbanner button:focus,
#infosbanner input[type=checkbox].css-checkbox:focus + label.css-label,
#infosbanner a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

/* Cookie-Kategorien — Grid mit gleichbreiten Items für sauberes Desktop-Layout */
#infosbanner .cookie-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}
#infosbanner .cookie-cat {
    position: relative;
    display: flex;
    align-items: center;
    cursor: help;
    min-width: 0;
}
#infosbanner input[type=checkbox].css-checkbox + label.css-label {
    font-size: 14px;
    margin: 0;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info-Tooltip pro Kategorie (sichtbar on hover / focus-within) */
#infosbanner .cookie-cat-info {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    max-width: 280px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.95);
    color: #FFF;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10;
    margin: 0;
}
#infosbanner .cookie-cat:hover .cookie-cat-info,
#infosbanner .cookie-cat:focus-within .cookie-cat-info,
#infosbanner .cookie-cat:focus .cookie-cat-info {
    opacity: 1;
    visibility: visible;
}

/* Mobile: 12px Schrift, kleinere Buttons */
@media (max-width: 767px) {
    #infosbanner {
        font-size: 12px;
        padding: 20px;
    }
    #infosbanner h2 {
        font-size: 16px;
    }
    #infosbanner .cookies_text,
    #infosbanner .cookies_text *,
    #infosbanner .cookies_text a,
    #infosbanner .cookies_text a span,
    #infosbanner .cookies_text p,
    #infosbanner .cookies_text span {
        font-size: 12px !important;
    }
    #infosbanner button {
        font-size: 12px;
        padding: 8px 14px;
    }
    #infosbanner input[type=checkbox].css-checkbox + label.css-label {
        font-size: 12px;
    }
    #infosbanner .cookie-cat-info {
        font-size: 12px;
        max-width: 220px;
    }
    #infosbanner .cookie-categories {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   21. Service
   ========================================================================== */

.service-icon{
    position: relative;
    height:auto;
    overflow: hidden;
    cursor: pointer !important;
    transition: transform 0.4s ease;
}
.service-close {
    position: absolute;
    top: 15px;
    right: 15px;
    transition: transform 0.2s ease;
}
.service-button{position:absolute; top:0; left:0; height:100%; width:100%; cursor: pointer; background:transparent; border:0;}

/* ── Service-Sidebar (fix rechts, vertikal mittig) ────────────────────────── */
#service-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    padding: 10px;
    background: #000;
    text-align: center;
    z-index: 20;
}

.service-sidebar__icon {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 0;
    border: 1px solid #000;
    color: #fff;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.service-sidebar__icon:hover,
.service-sidebar__icon:focus-within {
    border-color: #fff;
}

.service-sidebar__icon img {
    display: block;
    width: auto;
    height: 20px;
    margin: 5px auto;
}

.service-sidebar__icon i {
    display: block;
    font-size: 20px;
    line-height: 1;
    padding: 8px 0;
}


/* ==========================================================================
   22. KONTAKTFORMULAR
   ========================================================================== */
#kontaktformular {
    width: 100%;
    padding: 2%;
}

/* ── Felder (input + textarea) ───────────────────────────────────────────── */
.kontakt-feld {
    background: #efefef;
    color: #333;
    border: 0;
    font-family: inherit;
    font-size: 18px;
    padding: 15px 10px;
    width: 100%;
    margin: 10px 0;
    appearance: none;
    transition: background 0.3s, color 0.3s;
}

/* Placeholder sichtbar auf hellem Feld-Hintergrund */
.kontakt-feld::placeholder {
    color: #666;
    opacity: 1;
}

.kontakt-feld:hover,
.kontakt-feld:focus {
    background: #333;
    color: #fff;
    outline: none;
}

/* Placeholder bleibt sichtbar wenn Feld dunkel wird (Hover/Focus) */
.kontakt-feld:hover::placeholder,
.kontakt-feld:focus::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.kontakt-feld:focus {
    box-shadow: 0 0 0 2px var(--brand-primary);
}

/* ── Email + Telefon nebeneinander ───────────────────────────────────────── */
.kontakt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}

/* ── Nachricht (textarea) ────────────────────────────────────────────────── */
.kontakt-nachricht {
    min-height: 200px;
    resize: vertical;
}

/* ── Senden-Button ───────────────────────────────────────────────────────── */
.kontakt-button {
    background: #333;
    color: #fff;
    font-family: inherit;
    font-size: 24px;
    border: 0;
    padding: 2%;
    width: 100%;
    margin: 40px 0;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

.kontakt-button:hover {
    background: var(--brand-primary);
    color: #fff;
}

.kontakt-button:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* ── Validierung-Feedback ────────────────────────────────────────────────── */
.kontakt-feld-fehler {
    border: 2px solid #c00 !important;
}

.kontakt-fehler {
    color: #c00;
}

.kontakt-erfolg {
    color: #333;
}

.kontakt-meldung {
    display: none;
}

.kontakt-meldung.is-active {
    display: block;
    width: 100%;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 2% 0;
    text-align: center;
    font-size: 24px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .kontakt-row {
        grid-template-columns: 1fr;
    }
    .kontakt-feld,
    .kontakt-button {
        font-size: 18px;
    }
}

/* ==========================================================================
   23. CHECKBOX (CUSTOM)
   --------------------------------------------------------------------------
   Visuell verstecktes <input>, daneben sichtbares <label> mit Pseudo-Box.
   Box-Optik 100% CSS — keine Background-Image-PNGs mehr.

   Mandanten passen Farben über CSS-Variablen an:
     --css-checkbox-border   = Outline & Hover (default: weiß)
     --css-checkbox-fill     = Füllfarbe bei :checked (default: weiß)
     --css-checkbox-mark     = Farbe von Häkchen/Radio-Dot
                               (default: dunkel — auf weißer Füllung sichtbar)

   Setzen z.B. in client.css:
     :root { --css-checkbox-mark: #871918; }   (ACL: Brand-Häkchen-Farbe)
   ========================================================================== */

input[type=checkbox].css-checkbox,
input[type=radio].css-checkbox {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox + label.css-label,
input[type=radio].css-checkbox + label.css-label {
    position: relative;
    display: inline-block;
    padding: 0 0 0 32px;
    margin: 0 20px 12px 0;
    height: auto;
    line-height: 22px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    background-image: none;
}

/* Pseudo-Box: Quadrat für Checkbox, Kreis für Radio */
input[type=checkbox].css-checkbox + label.css-label::before,
input[type=radio].css-checkbox + label.css-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--css-checkbox-border, rgba(255, 255, 255, 0.7));
    background: transparent;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}
input[type=radio].css-checkbox + label.css-label::before {
    border-radius: 50%;
}

/* Hover/Focus: stärkere Outline */
input[type=checkbox].css-checkbox + label.css-label:hover::before,
input[type=radio].css-checkbox + label.css-label:hover::before,
input[type=checkbox].css-checkbox:focus + label.css-label::before,
input[type=radio].css-checkbox:focus + label.css-label::before {
    border-color: var(--css-checkbox-border, #FFF);
}

/* Checkbox: gefüllt + Häkchen */
input[type=checkbox].css-checkbox:checked + label.css-label::before {
    background: var(--css-checkbox-fill, #FFF);
    border-color: var(--css-checkbox-fill, #FFF);
}
input[type=checkbox].css-checkbox:checked + label.css-label::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 7px;
    height: 13px;
    border: solid var(--css-checkbox-mark, #1a1a1a);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio: Outline bleibt, Inner-Dot füllt */
input[type=radio].css-checkbox:checked + label.css-label::before {
    border-color: var(--css-checkbox-fill, #FFF);
}
input[type=radio].css-checkbox:checked + label.css-label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--css-checkbox-fill, #FFF);
}

fieldset {
    border: none;
}


/* ==========================================================================
   24. LOGIN
   ========================================================================== */

.login_info {
    width: 600px;
    max-width: 96%;
    margin: 50px auto 0;
    padding: 40px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.login_info h1 {
    margin: 0;
    height: auto !important;
}

.login_info h1::after {
    height: 0 !important;
    background: transparent;
}

.login_info h3 {
    margin-top: 2px;
    font-size: 20px;
    line-height: 20px;
    height: auto !important;
}

.login_info h4 {
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 18px;
    width: auto;
    display: table;
    border-radius: 5px;
    height: auto !important;
    padding: 10px;
}

.login_info h4 a {
    font-size: 18px;
    line-height: 18px;
}

#auth-login,
#auth-reset {
    width: 600px;
    max-width: 96%;
    margin: 0 auto 80px auto;
    padding: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.login_hinweis {
    position: relative;
    text-align: left;
    text-transform: none;
    padding: 10px 80px 10px 10px;
    margin-bottom: 20px;
}

.login_eingabe {
    position: relative;
    display: table;
    width: 100%;
    margin: 4px 4px 8px 4px;
}

.login_eingabe i {
    position: absolute;
    cursor: pointer;
    top: 50%;
    margin-top: -12px;
    right: 20px;
    font-size: 24px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

/* ── Login Submit Button ────────────────────────────────────── */

.login_submit, .auth-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s linear;
}

.login_submit:hover, .auth-close:hover, .toggle-pw:hover  {
    background:transparent !important;
}
.auth-close {
    width: 50px;
    height: 50px;
    line-height: 50px;
}
.login_submit i, .auth-close i{
    position: static;
    transition: all 0.6s linear;
    margin: 0;
}
/* ── Toggle Passwort Button ─────────────────────────────────── */

.toggle-pw {
    position: absolute;
    top: 0;
    right: 60px;
    height: 100%;
    width: 40px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-pw i {
    position: static;
    transition: all 0.6s linear;
    margin: 0;
}

/* ── Input Padding für Buttons ──────────────────────────────── */

#login_passwort {
    padding-right: 60px !important;
}

#user_passwort,
#user_passwort1 {
    padding-right: 100px !important;
}

/* ── Felder ─────────────────────────────────────────────────── */

#auth-login .kontakt_felder,
#auth-reset .kontakt_felder {
    margin: 0;
    padding: 20px;
    background: transparent;
    border-radius: 5px;
}

#auth-login .kontakt_felder::placeholder,
#auth-reset .kontakt_felder::placeholder {
    opacity: 0.7;
}

/* ── Passwort Meter ─────────────────────────────────────────── */

#PassValue {
    width: 100%;
    height: 8px;
}

/* ── Toggle Passwort Button ─────────────────────────────────── */

.toggle-pw {
    position: absolute;
    top: 50%;
    right: 12%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* ── Passwort Meter ─────────────────────────────────────────── */

#PassValue {
    width: 100%;
    height: 8px;
}
/* ── CONFIRMATION ─────────────────────────────────────────── */
.confirmation {
    position: fixed;
    z-index:100000;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:500px;
    max-width:96%;
}

.confirmation::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

.confirmation-inner {
    position: relative;
    padding: 36px 32px 28px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15);
    color: #1a1a1a;
}

.confirmation .auth-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 1;
    font-size: 24px;
    color: #555;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.confirmation .auth-close:hover,
.confirmation .auth-close:focus-visible {
    background: rgba(0,0,0,0.06);
    color: #000;
    outline: none;
}

.confirmation-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.confirmation-content {
    font-size: 14px;
    line-height: 1.5;
}

.confirmation-content p { margin: 0 0 10px 0; }
.confirmation-content p:last-child { margin-bottom: 0; }
.confirmation-content a { color: inherit; text-decoration: underline; }

@media (max-width: 600px) {
    .confirmation { width: 92%; }
    .confirmation-inner { padding: 32px 22px 22px; }
}

/* ==========================================================================
   25. PRESSE / MEDIENARCHIV
   ========================================================================== */
/* ── Download-Container ─────────────────────────── */
.downloadcontainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* ── Gruppe (1/3 Breite) ────────────────────────── */
.file-kategorie {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Gruppen-Header mit Bild ────────────────────── */
.file-kategorie .home_img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.file-kategorie .home_img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.file-kategorie .home_img h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 16px;
}

/* ── Gruppen-Header ohne Bild ───────────────────── */
.gruppen_line {
    position: relative;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.gruppen_header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* ── Einzelne Datei ─────────────────────────────── */
.mediaarchiv_download {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    min-height: 60px;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 4px;
    transition: background 0.2s;
}

.mediaarchiv_download:hover {
    background: rgba(180, 180, 180, 0.3);
}

/* ── Icon / Preview ─────────────────────────────── */
.media_preview {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215, 215, 215, 0.5);
    border-radius: 4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.media_preview i {
    font-size: 24px;
    color: #333;
}

/* ── Datei-Details ──────────────────────────────── */
.media_details {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.media_details h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media_details .fa-arrow-down {
    margin-left: 4px;
}

/* ── Links ──────────────────────────────────────── */
.file-kategorie a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 860px) {
    .downloadcontainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .downloadcontainer {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   25a. NEWS
   ========================================================================== */
.archiv_container, .news_focus{
    position: relative;
    height:auto;
    float:none;
    overflow: hidden;
}

/* ==========================================================================
   26. WARTUNG
   ========================================================================== */

#wartung {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: #CCC;
}

#hinweis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
}


/* ==========================================================================
   27. LADEANIMATION
   ========================================================================== */

.pending,
.ladeanzeige {
    position: fixed;
    inset: 0;
    display: none;
    background-color: rgba(0, 0, 0, .8);
    text-align: center;
    z-index: 100001;
}

.ladeanzeige img {
    position: relative;
    top: 50%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    transform: translateY(-50%);
}

.pending img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -27px;
    margin-left: -27px;
}


/* ==========================================================================
   28. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .onesectionbg,
    .sectionbg,
    section.onepager .bg {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}

@media (max-width: 999px) {
    .menu_selected_text {
        color: #000 !important;
    }

    .menu_selected {
        background: transparent !important;
    }

}

@media (max-width: 768px) {

    .slot.zwei,
    .slot.drei {
        width: 100%;
    }

    #sliderinfo {
        font-size: 25px;
    }
}

@media (max-width: 667px) {


    #slidecaption {
        width: 80%;
        left: 10%;
    }

    #sliderinfo {
        font-size: 20px;
    }
}

@media (max-width: 415px) {
    #sliderinfo {
        font-size: 18px;
    }
}

/* ==========================================================================
   29. INSTAGRAM FEED
   ========================================================================== */

.instaheader {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.instaheader a {
    text-decoration: none;
}

.instatitel {
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    transition: opacity 0.2s;
}

.instaheader a:hover .instatitel {
    opacity: 0.7;
}

#instafeed {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

#instafeed a {
    display: block;
    aspect-ratio: 4 / 4;
    overflow: hidden;
}

#instafeed a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#instafeed a:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

@media (max-width: 1024px) {
    #instafeed {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    #instafeed {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==========================================================================
   30. Shops
   ========================================================================== */
/* ── Shop Container (Layout: Isotope, siehe unten) ──────────────────────── */
.shop_container {
    padding: 32px 0 0;
}

.shop_icon {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4;
    display: block;
    background: #111;
}
.shop_icon a {
    display: block;
    width: 100%; height: 100%;
    text-decoration: none;
    outline: none;
}
.shop_icon a:focus-visible {
    outline: 3px solid rgba(255,255,255,0.8);
    outline-offset: -3px;
}

/* Foto */
.shop_icon img:not(.mieterlogo) {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Linkes Gradient-Overlay (statisch) */
.shop_icon a::before {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 45%,
        transparent 75%
    );
    z-index: 1;
    pointer-events: none;
}

/* Hover-Overlay (vollfläche) */
.shop-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index:2;
}
.shop_icon:hover .shop-hover-overlay,
.shop_icon:focus-within .shop-hover-overlay {
    opacity: 1;
}
.shop_icon:hover .mieterlogo , .shop_icon:focus-within .mieterlogo{ filter: invert(0);}
.shop-hover-overlay i {
    color: #000;
    margin-top:130px;
    font-size: 36px;
}

/* Logo oben links */
.shop_icon .mieterlogo{
    position: absolute;
   top:50%;
    left: 50%;
    filter: invert(1);
    transform: translate(-50%, -50%);
    max-width: 140px; max-height: 100px;
    width: 100px; height: 100px;
    object-fit: contain;
    background:rgba(0,0,0,0.8);
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 10px;
    z-index: 3;
}

/* Shop-Name unten links */
.shop_icon h2 {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: transparent !important;
    margin: 0;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    z-index: 2;
}
.shop_icon h2 span {
    position: relative;
    padding-left: 10px;
}
.shop_icon h2 span::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; bottom: 10%;
    width: 3px;
    background: #fff;
    opacity: 0.5;
    border-radius: 0 2px 2px 0;
}

/* Umbau-Badge */
.shop_icon .postit {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,200,0,0.92);
    color: #111;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 4;
}

/* ── Shop Detail ─────────────────────────────────────────────────────────── */
.sd-day { font-weight: 600; }
.sd-time { opacity: 0.75; }
/* Hero: Foto + Panel */
.sd-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: #111;
}
@media (max-width: 768px) { .sd-hero { aspect-ratio: 4 / 3; } }
.sd-foto,
.sd-hero .sd-foto {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    max-width: none;
    margin-bottom: 0;
    object-fit: cover;
    display: block;
}

/* Zurück-Button */
.sd-back {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 10;
    width: 44px; height: 44px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sd-back:hover, .sd-back:focus-visible {
    background: rgba(0,0,0,0.75);
    outline: none;
}
.sd-back i { font-size: 18px; transition: all 0.2s ease; }

/* Rechtes Panel */
.sd-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: clamp(260px, 30vw, 420px);
    background: rgba(0,0,0,0.82);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 40px) clamp(24px, 3vw, 48px) clamp(28px, 3.5vw, 52px);
    gap: clamp(4px, 0.6vw, 10px);
    z-index: 5;
}

@media (max-width: 600px) {
    .sd-hero {
        display: flex;
        flex-direction: column;
        aspect-ratio: unset;
        overflow: visible;
        height: auto;
    }
    .sd-foto,
    .sd-hero .sd-foto {
        position: relative;
        inset: auto;
        width: 100%;
        height: 260px;
        object-fit: cover;
        flex-shrink: 0;
    }
    .sd-back {
        position: absolute;
        z-index: 10;
    }
    .sd-panel {
        position: relative;
        inset: auto;
        width: 100%;
        background: rgba(0,0,0,0.92);
        justify-content: flex-start;
        padding: 20px;
    }
    .sd-panel::before { display: none; }
}

/* Shop-Name im Panel */
.sd-panel > h1, .sd-panel > .sd-name {
    font-size: clamp(16px, 1.8vw, 28px);
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Logo */
.sd-logo {
    filter: invert(1);
    max-width: 100px; max-height: 100px;
    width: 100px; height: 100px;
    object-fit: contain;
    background:rgba(0,0,0,0.8);
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 10px;
    z-index: 3;
    display: flex;
    margin:0 auto 20px;
    flex-shrink: 0;
}

.sd-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Name im Panel (wenn kein Logo) */
.sd-panel-name {
    color: #fff;
    font-size: clamp(18px, 2vw, 32px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: clamp(10px, 1.2vw, 20px);
}

/* Kontaktliste — Icon-Buttons in einer Reihe */
.sd-contacts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
}
.sd-contact-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
    text-shadow: none;
}
.sd-contact-item a:hover,
.sd-contact-item a:focus-visible {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.08);
}
.sd-contact-item a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}
.sd-contact-item i {
    width: auto;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
    color: inherit;
}
/* Text-Label des Kontakt-Items visually hidden — aria-label am <a> trägt die Info */
.sd-contact-item span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Centerplan-Button */
.sd-btn-plan {
    margin-top: clamp(10px, 1.2vw, 20px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left:auto;
    margin-right:auto;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: clamp(10px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: clamp(7px, 0.7vw, 11px) clamp(12px, 1.2vw, 18px);
    transition: all 0.2s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
}
.sd-btn-plan:hover, .sd-btn-plan:focus-visible {
    border: 1px solid rgba(255,255,255,1);
    outline: none;
}
.sd-btn-plan i { font-size: 13px; }

/* Body unterhalb des Fotos */
.sd-body {
    padding: clamp(32px, 4vw, 64px) 0 clamp(40px, 5vw, 80px);
}
.sd-body-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: grid;
    grid-template-columns: 1fr clamp(240px, 28vw, 400px);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
/* Wenn keine Öffnungszeiten-Spalte vorhanden: body-left zentriert, lesefreundlich */
.sd-body-inner:not(:has(.sd-body-right)) {
    grid-template-columns: 1fr;
    max-width: 900px;
}
@media (max-width: 900px) {
    .sd-body-inner { grid-template-columns: 1fr; gap: 32px; }
}

.sd-body-left h1 { margin: 0 0 8px; font-size: clamp(22px, 2.5vw, 42px); }
.sd-body-left h2 { margin: 0 0 20px; font-weight: 400; opacity: 0.7; font-size: clamp(14px, 1.4vw, 22px); }
.sd-text { line-height: 1.7; opacity: 0.85; font-size: clamp(14px, 1.1vw, 18px); }

/* Öffnungszeiten */
.sd-body-right h2 {
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(15px, 1.3vw, 22px);
}
.sd-open-now {
    display: inline-block;
    margin-bottom: 12px;
    background: #22c55e;
    color: #fff;
    font-size: clamp(10px, 0.8vw, 13px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.sd-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(4px, 0.5vw, 8px) 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    font-size: clamp(13px, 1.1vw, 17px);
}
/* ==========================================================================
   Gutscheinteilnehmer — kompakte Logo-Liste (mieter_gutschein = 1)
   Basis-Style; Center-spezifisches Feintuning gehört in client.css.
   Logos bewusst kleiner als die Shop-Kacheln.
   ========================================================================== */

.gutschein_container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 0;
}

.gutschein_logo {
    flex: 0 0 auto;
    width: 140px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.gutschein_logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.gutschein_name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

@media (max-width: 600px) {
    .gutschein_logo { width: calc(33.333% - 16px); height: 72px; }
}

/* ==========================================================================
   Shop-Kacheln (Isotope-Layout)
   ========================================================================== */

.shop_container {
    position: relative;
}
.shop_icon {
    width: calc(25% - 20px);
    box-sizing: border-box;
    margin: 10px;
}
@media (max-width: 900px) { .shop_icon { width: calc(33.333% - 20px); } }
@media (max-width: 600px) { .shop_icon { width: calc(50% - 20px); } }

/* ==========================================================================
   Shop-Grid (Vanilla, Nachfolger von .shop_container + Isotope)
   --------------------------------------------------------------------------
   CSS-Grid statt JS-Reflow. Filter rein über CSS-Klasse .shop-hidden, kein
   DOM-Umbau. Custom Event "shop-grid:filtered" für client-spezifische Hooks.
   Pilot: cms_id=90 (MZ). Andere Center können schrittweise migrieren, indem
   im _shops.php-Override die Klasse von .shop_container auf .shop-grid und
   .button-group auf .shop-filter umgestellt wird.
   ========================================================================== */

.shop-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
@media (max-width: 900px)  { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .shop-grid { grid-template-columns: repeat(3, 1fr); } }

/* Items im Grid: feste Breite/Margin aus .shop_icon werden überschrieben,
   damit Grid die Zellen füllt. aspect-ratio sorgt für Quadrate. */
.shop-grid .shop_icon {
    width: auto;
    margin: 0;
    aspect-ratio: 1 / 1;
}

/* Filter: ausgeblendete Items komplett aus Layout entfernt */
.shop-grid .shop_icon.shop-hidden {
    display: none;
}

/* Filter-Leiste (Nachfolger von .button-group im Shop-Kontext) */
.shop-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 24px;
}
.shop-filter .button,
.shop-filter button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border: 1px solid rgba(128,128,128,0.35);
    border-radius: 20px;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.shop-filter .button:hover,
.shop-filter button:hover,
.shop-filter .button:focus-visible,
.shop-filter button:focus-visible {
    background: rgba(128,128,128,0.12);
    border-color: rgba(128,128,128,0.6);
    outline: none;
}
.shop-filter .button.is-checked,
.shop-filter button.is-checked {
    background: #333;
    border-color: #333;
    color: #fff;
    font-weight: 600;
}

/* Shopübersicht (_shopuebersicht.php / Centerplan / Mallguide) */
.shopsuebersicht {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 16px -6px 40px;
}
.shop-item {
    width: calc(25% - 12px);
    height: 140px;
    box-sizing: border-box;
    margin: 6px;
    display: flex;
}
@media (max-width: 900px) { .shop-item { width: calc(33.333% - 12px); } }
@media (max-width: 600px) { .shop-item { width: calc(50% - 12px); } }

/* ── Card ───────────────────────────────────────────────────────────────── */
.shop-card {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease,
                box-shadow 0.2s ease, transform 0.2s ease;
}
.shop-card:hover,
.shop-card:focus-visible {
    background: rgba(0, 0, 0, 1);
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    outline: none;
    transform: translateY(-1px);
}
/* Card "ohne Link" (Umbau-Mieter) — gleiche Optik aber nicht klickbar */
.shop-card--umbau {
    opacity: 0.6;
    cursor: not-allowed;
}
.shop-card--umbau:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
}

/* ── Kategorie-Tags (in der Mitte unterhalb des Namens) ────────────────── */
.shop-card__kats {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    line-height: 1;
}
.shop-card__kat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 8px;
    color: #fff;
    /* Background wird per inline-style aus DB-Kategorie-Farbe gesetzt;
       fallback hier auf Brand-Farbe */
    background: var(--brand-primary);
    white-space: nowrap;
}

/* ── Shop-Name (oben, 2 Zeilen reserviert für konsistente Card-Höhen) ──── */
.shop-card__name {
    order: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    /* 2 Zeilen reservieren: 18px × 1.25 × 2 = 45px. Auch bei einzeiligen
       Namen bleibt der Platz oben gleich → Kats und Tel sitzen einheitlich. */
    min-height: calc(18px * 1.25 * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Telefon-Zeile (unten, condensed Brand-Schrift) ────────────────────── */
.shop-card__tel {
    order: 3;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-condensed);
    font-size: 15px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}
.shop-card__tel i {
    color: var(--brand-primary);
    font-size: 15px;
    flex-shrink: 0;
}

/* ── Filter-Buttons (modifier-Klasse für Shop-Filter, basis aus Sektion 31) — */
.shops-filter,
.shopsuebersicht-filter {
    margin-bottom: 16px;
}

/* ==========================================================================
   31. Filter-Buttons & Button-Groups
   ========================================================================== */

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 24px;
}

/* Basis-Button */
.button-group .button,
.button-group button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border: 1px solid rgba(128,128,128,0.35);
    border-radius: 20px;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button-group .button:hover,
.button-group button:hover,
.button-group .button:focus-visible,
.button-group button:focus-visible {
    background: rgba(128,128,128,0.12);
    border-color: rgba(128,128,128,0.6);
    outline: none;
}

/* Aktiver Zustand */
.button-group .button.is-checked,
.button-group button.is-checked {
    background: #333;
    border-color: #333;
    color: #fff;
    font-weight: 600;
}

/* Auf dunklem Hintergrund */
.button-group--light .button,
.button-group--light button {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.button-group--light .button:hover,
.button-group--light button:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
}
.button-group--light .button.is-checked,
.button-group--light button.is-checked {
    background: #fff;
    border-color: #fff;
    color: #111;
}

@media (max-width: 600px) {
    .button-group { gap: 6px; padding: 12px 0 16px; }
    .button-group .button,
    .button-group button { font-size: 12px; padding: 5px 12px; }
}


/* ==========================================================================
   31. Events / News
   ========================================================================== */

/* ── Übersicht: Teaser-Grid ───────────────────────────────────────────────── */

.news-focus {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 12px 20px;  /* horizontal padding für outline + scale-Platz */
}

.event-teaser {
    overflow: hidden;
    background: #fff;
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: outline-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.event-teaser:hover,
.event-teaser:focus-within {
    outline-color: var(--focus-outline, rgba(0,0,0,0.6));
    transform: scale(1.02);
}
.event-teaser > a:focus-visible {
    outline: 2px solid var(--focus-outline, rgba(0,0,0,0.6));
    outline-offset: 3px;
}
.event-teaser > a {
    display: block;
    text-decoration: none;
}
.event-teaser > a img {
    width: 100%;
    height: auto;
    max-width: none;
    margin-bottom: 0;
    display: block;
}
.event-teaser-info {
    padding: 16px 20px 20px;
}
.event-teaser-info h2 {
    font-size: clamp(16px, 1.4vw, 22px);
    margin: 0 0 8px;
    line-height: 1.25;
    color: inherit;
}
.event-teaser-date {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meter {
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.bar-meter {
    height: 100%;
    background: #333;
    border-radius: 2px;
}

/* ── Übersicht: Archiv ────────────────────────────────────────────────────── */

.archiv-headline {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    margin: 40px 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.archiv-headline::before {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
}

.archiv-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 12px 12px 32px;  /* outline + scale Platz */
}

.event-archiv-icon {
    aspect-ratio: 1;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.event-archiv-icon:hover,
.event-archiv-icon:focus-within { opacity: 1; transform: scale(1.05); }
.event-archiv-icon a { display: block; width: 100%; height: 100%; }
.event-archiv-icon a:focus-visible {
    outline: 2px solid var(--focus-outline, rgba(0,0,0,0.6));
    outline-offset: 3px;
}
.event-archiv-icon img {
    width: 100%; height: 100%;
    max-width: none; margin-bottom: 0;
    object-fit: cover;
    display: block;
}

/* ── Detail: Hero fullscreen ──────────────────────────────────────────────── */

.event-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
}

.event-foto,
.event-hero .event-foto {
    width: 100%;
    height: auto;
    max-width: none; margin-bottom: 0;
    display: block;
}

.event-back {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 10;
    width: 44px; height: 44px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}
.event-back:hover, .event-back:focus-visible {
    background: rgba(0,0,0,0.75);
    outline: none;
}
.event-back i { font-size: 18px; }

/* ── Detail: Content-Bereich ──────────────────────────────────────────────── */

.event-detail {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 clamp(16px, 4vw, 48px);
}
.event-maintext h1 {
    font-size: clamp(24px, 3vw, 42px);
    margin-bottom: 0;
    line-height: 1.2;
}
.event-maintext > h2 {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    color: #666;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-maintext > h2 i { font-size: 1em; }

@media (max-width: 600px) {
    .news-focus { gap: 16px; padding: 24px 0 12px; grid-template-columns: 1fr; }
    .event-detail { margin: 32px auto; }
    .archiv-container { grid-template-columns: repeat(2, 1fr); }
}

/* ── Event-Buchung (Teilnehmen-CTA) ───────────────────────────────────────── */

.event-buchung {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}

.event-buchung-status {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-buchung-status.warn { color: #b8860b; }
.event-buchung-status.closed { color: #888; }
.event-buchung-status i { font-size: 14px; }

.event-buchung-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    min-height: 48px; /* touch target */
}

.event-buchung-cta:hover,
.event-buchung-cta:focus-visible {
    background: #000;
    outline: none;
}

.event-buchung-cta:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
}

.event-buchung-cta:active { transform: translateY(1px); }

.event-buchung-cta[disabled],
.event-buchung-cta.is-disabled {
    background: #ccc;
    color: #777;
    cursor: not-allowed;
    pointer-events: none;
}

.event-buchung-cta.is-soldout {
    background: #c8392f;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
}

.event-buchung-cta i { font-size: 16px; }

@media (max-width: 600px) {
    .event-buchung { padding: 18px; margin: 24px 0; }
    .event-buchung-cta { width: 100%; }
}

/* ── Event-Buchung Inline-Formular ────────────────────────────────────────── */

.event-buchung-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.event-buchung-form[hidden] { display: none; }

.event-buchung-step[hidden] { display: none; }

.event-buchung-step h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.event-buchung-step p.intro {
    margin: 0 0 16px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.event-buchung-field {
    margin-bottom: 14px;
}

.event-buchung-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.event-buchung-field input[type="email"],
.event-buchung-field input[type="text"],
.event-buchung-field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.3;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 6px;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
    min-height: 44px;
}

.event-buchung-field input:focus,
.event-buchung-field select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}

.event-buchung-field input[aria-invalid="true"] {
    border-color: #c8392f;
}

.event-buchung-field-error {
    margin-top: 4px;
    font-size: 12px;
    color: #c8392f;
}

.event-buchung-newsletter,
.event-buchung-agb,
.event-buchung-userinfo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

.event-buchung-userinfo {
    padding: 12px 14px;
    background: rgba(0,0,0,0.04);
    border-left: 3px solid #04f5db;
    border-radius: 4px;
    font-size: 14px;
}
.event-buchung-userinfo i { margin-top: 3px; color: #04f5db; }
.event-buchung-userinfo small { display: inline-block; margin-top: 4px; opacity: 0.7; }

.event-buchung-newsletter input[type="checkbox"],
.event-buchung-agb input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.event-buchung-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.event-buchung-actions .event-buchung-cta { flex: 1 1 auto; }

.event-buchung-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #1a1a1a;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    cursor: pointer;
    min-height: 48px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.event-buchung-secondary:hover,
.event-buchung-secondary:focus-visible {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.4);
    outline: none;
}

.event-buchung-secondary:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
}

.event-buchung-result {
    margin: 0;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.event-buchung-result.success {
    background: rgba(40,140,80,0.08);
    color: #1f5e3b;
    border: 1px solid rgba(40,140,80,0.25);
}

.event-buchung-result.error {
    background: rgba(200,57,47,0.06);
    color: #8a2a22;
    border: 1px solid rgba(200,57,47,0.25);
}

.event-buchung-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: event-buchung-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes event-buchung-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .event-buchung-actions { flex-direction: column-reverse; }
    .event-buchung-actions .event-buchung-cta,
    .event-buchung-secondary { width: 100%; }
}

/* ── Sonderöffnungszeiten ─────────────────────────────────────────────────── */

.open-sonder {
    display: block !important;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 16px;
}

.open-sonder .open-titel {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    font-weight: 700;
}

.open-sonder-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 2px 0;
}

.open-sonder-row .day {
    flex: 1;
}

.open-sonder-row .time {
    flex-shrink: 0;
    text-align: right;
}

/* ==========================================================================
   32. ANGEBOTE (ÜBERSICHT & SHOP-KONTEXT)
   ──────────────────────────────────────────────────────────────────────────
   Card-Layout für Angebote — wird auf zwei Seiten verwendet:
     • Übersichts-Seite (`.angebot_container > .angebot_icon`): mit Logo, Bild,
       Titel und einklappbarem Detail-Text via Toggle-Button (JS-gesteuert).
       Kategorie-Filter via Isotope; CSS gap wird ignoriert (absolute Items),
       Card-Margin sorgt für Abstand.
     • Mieter-Detail-Seite (`.shopangebot > .shopangebot_detail`): kein Logo,
       kein Toggle, voller Beschreibungstext sichtbar.
   Brand-Akzent (Hover-Outline, Toggle-Button-Farbe) per `--brand-primary`.
   --logo-filter steuert ob CMS-Weiß-Logos invertiert werden für helle Themes.
   ========================================================================== */

/* ── Container ──────────────────────────────────────────────────────────── */
.shopangebot,
.angebot_container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding: 0;
    margin: 40px auto 10px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.angebot_container {
    justify-content: center;
}

/* ── Card (Übersicht) ───────────────────────────────────────────────────── */
.angebot_icon {
    position: relative;
    width: calc(33.333% - 22px);
    margin: 11px;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    color: #000;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--card-border);
    /* border statt outline: damit Logo-Bereich (.imagecontainer mit
       negativen Margins über Card-Padding hinaus) den border nicht
       überlagert. */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.angebot_icon:hover,
.angebot_icon:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* ── Logo (Streifen oben in der Card, analog zu Jobs) ───────────────────── */
.angebot_icon .imagecontainer {
    position: relative;
    height: 80px;
    width: calc(100% + 40px);
    margin: -20px -20px 16px;
    background: #f0f0f0;
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
}
.angebot_icon .imagecontainer img {
    position: absolute;
    max-height: 60%;
    max-width: 50%;
    width: auto !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: var(--logo-filter);
}

/* ── Hauptbild (4:3) ────────────────────────────────────────────────────── */
.angebot_icon > a > img,
.angebot_icon img:not(.imagecontainer img) {
    width: 100% !important;
    aspect-ratio: 4 / 4;
    object-fit: cover;
    height: auto;
    background: transparent;
    margin-bottom: 16px;
    display: block;
}

/* ── Titel (line-clamp 2 für einheitliche Höhe; h3-Subtitle ausgeblendet) ── */
.angebot_icon h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px 0;
    padding-right: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}
.angebot_icon h3 {
    display: none;
}
.angebote .angebot_icon h2 {
    color: #000;
}

/* ── Toggle-Button für shoptext (per JS injiziert) ──────────────────────── */
.angebot_icon .angebot-toggle {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 0 4px 0;
    margin-top: auto;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    text-align: left;
}
.angebot_icon .angebot-toggle:hover,
.angebot_icon .angebot-toggle:focus-visible {
    color: var(--brand-primary-dark);
    outline: none;
}
.angebot_icon .angebot-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.angebot_icon.is-expanded .angebot-toggle i {
    transform: rotate(180deg);
}

/* ── Details: collapsed by default, expand via .is-expanded ─────────────── */
.angebot_icon .angebot-details {
    display: none;
}
.angebot_icon.is-expanded .angebot-details {
    display: block;
    animation: angebotDetailsFadeIn 0.25s ease-out;
}
@keyframes angebotDetailsFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.angebot_icon .shoptext {
    padding: 12px 0 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 !important;
}
.angebot_icon .angebot_link {
    margin: 12px 0 0 0 !important;
    padding: 0;
    font-size: 15px;
}
.shops .angebot_link a,
.angebote .angebot_link a,
.angebot_container .angebot_link a,
.angebot_container .angebot_link i {
    color: #000;
}

/* ── Shop-Detail-Kontext (.shopangebot_detail) ──────────────────────────── */
.shopangebot_detail {
    position: relative;
    width: calc(33.333% - 22px);
    margin: 11px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.shopangebot_detail:hover,
.shopangebot_detail:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.shopangebot_detail img {
    width: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
    margin: 0 0 16px 0;
    display: block;
}
.shopangebot_detail h2 {
    color: #000;
    font-size: 22px;
    line-height: 1.3;
    padding: 0;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
}
.shopangebot_detail h3 {
    display: none;
}
.shopangebot_detail .shoptext {
    padding: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    margin: 12px 0 16px 0 !important;
    flex: 1;
}
.shopangebot_detail .angebot_link {
    color: #000;
    padding: 0;
    margin: auto 0 0 0 !important;
    font-size: 14px;
}
.shopangebot_detail .angebot_link a,
.shopangebot_detail .angebot_link i {
    color: var(--brand-primary);
}
.shopangebot_detail .angebot_link a:hover,
.shopangebot_detail .angebot_link a:focus-visible {
    color: var(--brand-primary-dark);
    text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 999px) {
    .angebot_icon,
    .shopangebot_detail {
        width: calc(50% - 22px);
    }
}
@media (max-width: 575px) {
    .angebot_icon,
    .shopangebot_detail {
        width: calc(100% - 22px);
        margin: 11px;
    }
}


/* ==========================================================================
   33. JOBS / STELLENANGEBOTE
   ──────────────────────────────────────────────────────────────────────────
   Card-Layout für Stellenangebote — analog zu Sektion 32 (Angebote).
     • Logo-Streifen oben (heller BG, Logo via --logo-filter invertiert)
     • Kategorie-Badge (.jobart) in Brand-Farbe
     • Job-Titel mit line-clamp 2
     • "Verfügbar ab"-Zeile dezent
     • Detail-Bereich (.jobdetail) klappt via JS auf — toggleJobDetail()
     • Bewerbungs-CTA als Button-Style am unteren Rand
   ========================================================================== */

/* ── Container ──────────────────────────────────────────────────────────── */
.jobcontainer {
    position: relative;
    max-width: 1200px;
    width: 96%;
    padding: 0;
    margin: 40px auto 80px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.jobwrapper {
    position: relative;
    width: calc(33.333% - 22px);
    margin: 11px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--card-border);
    /* border statt outline: Inhalts-Backgrounds (z.B. .imagecontainer)
       können den border nicht überlagern, weil border zum Box-Modell zählt.
       Mit box-sizing: border-box bleibt Card-Größe identisch. */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.jobwrapper:hover,
.jobwrapper:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* ── Logo-Streifen oben ─────────────────────────────────────────────────── */
.jobwrapper .imagecontainer {
    position: relative;
    background: #f0f0f0;
    height: 140px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
}
.jobwrapper .imagecontainer img {
    position: absolute;
    max-height: 50%;
    max-width: 60%;
    height: auto;
    width: auto !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: var(--logo-filter);
}

/* ── Kategorie-Badge (z.B. "MINIJOB" / "VOLLZEIT") ──────────────────────── */
.jobart {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-primary);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

/* ── Job-Titel (line-clamp 2 für einheitliche Höhe) ─────────────────────── */
.jobwrapper h1,
.jobwrapper a h1 {
    /* Override globaler `.row h1 { width: 100% }`: in der Card wollen wir
       die natürliche Inhaltsbreite mit padding statt fix 100% + margin,
       sonst ragt h1 über die Card-Grenze. */
    width: auto;
    text-align: center;
    margin: 24px 0 8px;
    padding: 0 20px;
    font-size: 17px;
    line-height: 1.3;
    color: #000;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.3em);
    transition: color 0.3s ease;
}

/* ── "Verfügbar ab"-Zeile (dezent) ──────────────────────────────────────── */
.jobwrapper h2 {
    width: auto;
    text-align: center;
    margin: 0 0 16px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Toggle-Chevron für .jobdetail ──────────────────────────────────────── */
.jobwrapper > .showsub {
    margin: auto auto 16px;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease;
}
.jobwrapper > .showsub i {
    font-size: 22px;
    color: var(--brand-primary);
    transition: transform 0.3s ease, color 0.2s ease;
}
.jobwrapper > .showsub:hover i,
.jobwrapper > .showsub:focus-visible i {
    color: var(--brand-primary-dark);
    outline: none;
}
.jobwrapper > .showsub[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* ── Detail-Bereich (Animation analog .angebot-details) ─────────────────── */
.jobdetail {
    display: none;
    position: relative;
}
.jobdetail.is-open {
    display: block;
    animation: jobDetailFadeIn 0.25s ease-out;
}
@keyframes jobDetailFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Close-Toggle innerhalb .jobdetail (oben rechts, X-Icon).
   Position relativ zum .jobdetail (das selbst position: relative ist),
   nicht zur ganzen .jobwrapper — sonst überlappt es mit dem Logo. */
.jobdetail .showsub {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    transition: background 0.2s ease;
}
.jobdetail .showsub:hover,
.jobdetail .showsub:focus-visible {
    background: rgba(0,0,0,0.1);
    outline: none;
}
.jobdetail .showsub i {
    font-size: 14px;
    color: #333;
}

/* ── Job-Text (Beschreibung + Module) ───────────────────────────────────── */
.job_text {
    padding: 24px 24px 24px;
    padding-right: 56px; /* Platz für X-Button oben rechts */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
.job_text h3 {
    margin: 18px 0 10px;
    padding: 0;
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}
.job_text h3:first-child {
    margin-top: 0;
}
.job_text p {
    margin: 0 0 12px;
}

/* Eingebettete Downloads (PDF-Anhänge etc.) */
.job_text .mediaarchiv_download {
    background: transparent;
    margin: 12px 0;
}
.job_text .media_preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--card-border);
    text-align: center;
    line-height: 60px;
    margin: 0;
    float: left;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.job_text .media_preview i {
    color: #000;
    line-height: 60px;
    font-size: 22px;
    transition: color 0.2s ease;
}
.job_text .media_preview:hover {
    border-color: var(--brand-primary);
    background: rgba(0,0,0,0.02);
}
.job_text .media_preview:hover i {
    color: var(--brand-primary);
}
.job_text .media_details {
    display: none;
}

/* ── "Jetzt bewerben"-CTA ───────────────────────────────────────────────── */
.bewerbung-link {
    display: block;
    margin: 0;
    padding: 18px 20px;
    background: var(--brand-primary);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}
.bewerbung-link:hover,
.bewerbung-link:focus-visible {
    background: var(--brand-primary-dark);
    outline: none;
}
.bewerbung-link h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff !important;
    min-height: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

/* Versteckte Felder im Card-Markup (h3, .media_details auf Card-Ebene) */
.jobwrapper h3,
.jobwrapper > .media_details {
    display: none;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 999px) {
    .jobwrapper {
        width: calc(50% - 22px);
    }
}
@media (max-width: 575px) {
    .jobwrapper {
        width: calc(100% - 22px);
        margin: 11px;
    }
}


/* ==========================================================================
   34. MIETERPORTAL: STELLENANZEIGEN  (Modul 110 "Jobs Mieter")
   Portal-Datei lib/php/module/_jobs.mieter.php · JS jobmieter_* (client.basic.js)

   Basis fuer ALLE Mieterportale. Farben ausschliesslich ueber die Portal-
   Design-Tokens (--bk-red, --bk-line, --bk-muted …) mit neutralen Fallbacks:
   ein Portal mit Tokens erscheint automatisch in seiner Akzentfarbe, eines
   ohne Tokens neutral. Status-Farben (gruen/orange/grau) sind funktional und
   bewusst fest. Portal-CSS (client.css) muss NICHTS ergaenzen; Overrides nur
   bei bewusst abweichendem Design. Listenzeilen nutzen .angebot_container
   (Portal-CSS, Abschnitt Angebote).
   ========================================================================== */

/* ── Modul-Container: gleiche Buehne wie #angebot_uebersicht ─────────────── */
body #jobmieter_uebersicht {
    padding: 48px 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* ── Toolbar: Hinweis links, Button "manuell anlegen" rechts ─────────────── */
body #jobmieter_uebersicht > .data_container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    width: auto;
    text-align: left;
    float: none;
}
body #jobmieter_uebersicht > .data_container .data_info {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: standard, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--bk-ink-soft, #4a4a4a);
    width: auto;
    float: none;
}
body #jobmieter_uebersicht > .data_container .data_info::before {
    content: none;
}
body #jobmieter_uebersicht > .data_container .data_info span {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
body #jobmieter_uebersicht > .data_container .saveit_button {
    flex: 0 0 auto;
    margin: 0;
}
/* Toolbar unter der Dropzone: Trennlinie zur Liste */
body #jobmieter_uebersicht > .jobmieter_dropzone + .data_container {
    justify-content: flex-end;
    margin: 0 0 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--bk-line, #e2e2e2);
}

/* ── KI-Dropzone: deutlich sichtbare Ablageflaeche ──────────────────────── */
body #jobmieter_uebersicht .jobmieter_dropzone {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 36px 24px;
    background: var(--bk-surface-cool, #f3f3f3);
    border: 2px dashed var(--bk-muted, #9a9a9a);
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
body #jobmieter_uebersicht .jobmieter_dropzone:hover,
body #jobmieter_uebersicht .jobmieter_dropzone.drag-highlight {
    background: var(--bk-red-soft, #eaeaea);
    border-color: var(--bk-red, #333);
}
body #jobmieter_uebersicht .jobmieter_dropzone[data-busy="1"] {
    cursor: progress;
    background: var(--bk-surface, #fff);
    border-style: solid;
    border-color: var(--bk-line, #e2e2e2);
}
body #jobmieter_uebersicht .jobmieter_dropzone .dropzone-hint {
    font-family: standard, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--bk-ink-soft, #4a4a4a);
    max-width: 560px;
    margin: 0 auto;
}
body #jobmieter_uebersicht .jobmieter_dropzone .dropzone-hint i {
    display: block;
    margin: 0 auto 12px;
    font-size: 34px;
    color: var(--bk-red, #333);
}
body #jobmieter_uebersicht .jobmieter_dropzone .dropzone-title {
    display: block;
    margin: 0 0 4px;
    font-family: standard, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--bk-ink, #151515);
}
/* Spinner-/Ergebnis-Zeile waehrend und nach dem Import */
body #jobmieter_uebersicht .jobmieter_dropzone .dropzone-status {
    font-family: standard, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--bk-ink, #151515);
}
body #jobmieter_uebersicht .jobmieter_dropzone .dropzone-status i {
    margin-right: 8px;
    color: var(--bk-red, #333);
}

/* ── Listenzeile: Status-Pill in der Meta-Zeile ─────────────────────────── */
body .jobmieter_container .angebot__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.4;
}
body .jobmieter_container .jobmieter_status {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--bk-surface-cool, #ececec);
    color: var(--bk-ink-soft, #4a4a4a);
}
body .jobmieter_container .jobmieter_status.is-active   { background: #e3f7ea; color: #1e7f43; }
body .jobmieter_container .jobmieter_status.is-pending  { background: #fff1d6; color: #a15d00; }
body .jobmieter_container .jobmieter_status.is-draft    { background: var(--bk-red-soft, #eaeaea); color: var(--bk-red-deep, #333); }
body .jobmieter_container .jobmieter_status.is-planned  { background: #e4eefb; color: #1f4f8f; }
body .jobmieter_container .jobmieter_status.is-expired  { background: #f1f1f1; color: #6b6b6b; }
body .jobmieter_container .jobmieter_status.is-inactive { background: #f1f1f1; color: #6b6b6b; }

/* Status-Icon rechts (analog Angebote: gruen/orange, plus weitere Stati) */
body .jobmieter_container .actions .angebot__status.is-draft    { color: var(--bk-red, #333); }
body .jobmieter_container .actions .angebot__status.is-planned  { color: #2f6fc4; }
body .jobmieter_container .actions .angebot__status.is-expired,
body .jobmieter_container .actions .angebot__status.is-inactive { color: var(--bk-muted, #9a9a9a); }

/* "Wieder einstellen" wie Edit/Delete als Icon-Button */
body .jobmieter_container .actions i.fa-arrow-rotate-right {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--bk-surface-cool, #ececec);
    border: 1px solid var(--bk-line, #e2e2e2);
    color: var(--bk-ink-soft, #4a4a4a) !important;
    font-size: 14px;
    cursor: pointer;
    margin: 0 !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body .jobmieter_container .actions i.fa-arrow-rotate-right:hover {
    background: #e3f7ea;
    color: #1e7f43 !important;
    border-color: #1e7f43;
}

/* ── Rueckmeldung nach Speichern/Loeschen in Portal-Masken ──────────────── */
/* .kontakt-meldung ist fuer das Kontaktformular gedacht (24px, zentriert,
   volle Breite). In den AJAX-Masken der Mieterportale (Jobs, Angebote,
   Mitarbeiter) wirkt das wie eine Ueberschrift — hier eine ruhige Variante
   als Statuszeile. Gilt fuer alle *_response-Container im .formular. */
body .formular #jobmieter_response .kontakt-meldung.is-active,
body .formular #angebot_response .kontakt-meldung.is-active,
body .formular #subuser_response .kontakt-meldung.is-active {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    margin: 0 0 16px;
    padding: 12px 14px !important;   /* Inline-Padding aelterer JS-Aufrufe ueberschreiben */
    border: 0;
    border-left: 3px solid #1e7f43;
    background: #e3f7ea;
    text-align: left;
    font-family: standard, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #1e7f43;
}
body .formular #jobmieter_response .kontakt-meldung.is-active > i,
body .formular #angebot_response .kontakt-meldung.is-active > i,
body .formular #subuser_response .kontakt-meldung.is-active > i {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 14px;
}
body .formular #jobmieter_response .kontakt-meldung.is-active p,
body .formular #angebot_response .kontakt-meldung.is-active p,
body .formular #subuser_response .kontakt-meldung.is-active p {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
body .formular #jobmieter_response .kontakt-meldung.is-active strong,
body .formular #angebot_response .kontakt-meldung.is-active strong,
body .formular #subuser_response .kontakt-meldung.is-active strong {
    font-weight: 600;
}

/* ── Formular: Hinweise ────────────────────────────────────────────────── */
body .formular #jobmieter_form .data_info--hinweis {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: var(--bk-red-soft, #eaeaea);
    border-left: 3px solid var(--bk-red, #333);
    font-family: standard, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--bk-ink, #151515);
}
body .formular #jobmieter_form .data_info--hinweis i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--bk-red, #333);
}
body .formular #jobmieter_form .data_info--hinweis span {
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}
body .formular #jobmieter_form .form-hint {
    margin: -4px 0 14px;
    font-family: standard, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: var(--bk-muted, #767676);
}
/* Gesperrtes Bewerbungsfeld (E-Mail ODER Link) */
body .formular #jobmieter_form .mieter_felder:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    body #jobmieter_uebersicht {
        padding: 32px 0;
    }
    body #jobmieter_uebersicht .jobmieter_dropzone {
        padding: 26px 16px;
    }
    body #jobmieter_uebersicht > .jobmieter_dropzone + .data_container {
        justify-content: stretch;
    }
    body #jobmieter_uebersicht > .jobmieter_dropzone + .data_container .saveit_button {
        width: 100%;
    }
}


/* ==========================================================================
   Mapplic — Responsive
   ========================================================================== */
@media (max-width: 860px) {
    .mapplic-sidebar {
        display: none !important;
    }
}



body {  font-size: 14px;  line-height: px;  color: #3c3c3b;  background: ;font-family:standard;}strong, b { font-family:standard; }input, button, .mapplic-search-input, .mapplic-about { font-family:standard; }.mapplic-tooltip-content { font-family:headlines; }a { font-size: 14px; text-decoration: none; }a:link, a:active, a:visited { color: #22a857; }a:hover, a:focus { color: #747474; }h1 {  font-size: 70px;  line-height: 70px;  color: ;  text-transform: uppercase;font-family:headlines;}h2 {  font-size: 30px;  line-height: 30px;  color: ;  text-transform: uppercase;font-family:headlines;}h3 {  font-size: 24px;  line-height: 24px;  color: #22a857;  text-transform: uppercase;font-family:headlines;}h4 {  font-size: 20px;  line-height: 20px;  color: ;  text-transform: uppercase;font-family:headlines;}h5 {  font-size: 18px;  line-height: 23px;  color: ;  text-transform: none;font-family:headlines;}main#wrapper {  left: 0; margin: 0 auto;}main > section:first-of-type, section.onepager:first-of-type {  max-width: ;  margin: 150px auto 0 auto;  padding: ;}main > section, section.onepager {  width: 100%;  max-width: ;  margin: ;  padding: ;}.section, .onesection {  width: 100%;  max-width: ;  margin: ;  padding: ;}footer {  flex-shrink: 0;  background: rgba(34,168,87,1);  font-size: 12px;  line-height: 24px;  color: #ffffff;font-family:standard;}.site-footer {  display: flex;  justify-content: space-between;}.footer-nav ul {  list-style: none;  margin: 0; padding: 0;  display: flex;  flex-direction: column;  gap: 0.35rem;}.footer-aside {  display: flex;  flex-direction: column;  justify-content: space-between;  align-items: flex-end;}.footer-social {  display: flex;  gap: 0.75rem;}footer a:link, footer a:active, footer a:visited {  font-size: 12px; line-height: 24px; color: #ffffff;}footer a:hover, footer a:focus {  color: #000000;}.footer-social a:link, .footer-social a:visited { color: #ffffff; }.footer-social a:hover, .footer-social a:focus { color: #000000; }@media (max-width: 768px) {  .site-footer { flex-direction: column; align-items: center; text-align: center; }  .footer-aside { align-items: center; margin-top: 1rem; }  .footer-copyright { margin-top: 0.5rem; }}header {  top: 0px;  background: rgba(0,0,0,1);  height: 120px;  position: fixed;  left: 0; margin: 0 auto; width: 100%;}.content_header { top: 0px; background: rgba(0,0,0,1); height: 120px; position: fixed;left: 0; margin: 0 auto; width: 100%; }#header_logo img {  overflow: hidden;  position: absolute !important;  margin: 0; padding: 0;  top: 20px;  max-height: 80px;  width: auto; max-width: 250px;  left: 50%; transform: translateX(-50%);}.nav-overlay {  width: 300px;  background: rgba(0, 0, 0, 0.85);font-family:standard;}.nav-overlay ul { max-width: ; }.nav-overlay ul li a {  padding: 5px;  margin: 2px auto;  background: ;  color: #ffffff;  font-size: 17px;  line-height: 17px;}.nav-overlay .sub-toggle { color: #ffffff; }.nav-overlay ul li a:hover,.nav-overlay ul li a:focus-visible {  background: rgba(34,168,87,1);  color: #ffffff;}.nav-overlay ul li:focus-within > a { color: #ffffff; }:root { --ki-panel-top: 120px; }.nav-search { position: fixed; top: 50vh;  right: 70px;}.nav-toggle { top: 40px;  right: 20px;}.nav-toggle__close { color: #ffffff; }.nav-search i { color: #ffffff; }@media (max-width: 1023px) {  body { font-size: px; line-height: px; }  h1 { font-size: 50px; line-height: 50px; }  h2 { font-size: 25px; line-height: 25px; }  h3 { font-size: 20px; line-height: 20px; }  h4 { font-size: 18px; line-height: 18px; }  h5 { font-size: px; line-height: 0px; }}@media (max-width: 675px) {  body, a { font-size: px; line-height: px; }  h1 { font-size: 40px; line-height: 40px; }  h2 { font-size: 22px; line-height: px; }  h3 { font-size: 18px; line-height: 18px; }  h4 { font-size: 16px; line-height: 16px; }  h5 { font-size: px; line-height: 0px; }}