:root{--aw-surface:#10141a;--aw-surface-contrast:#fff;--aw-text:#e6e8ec;--aw-accent:#5aa6ff;--aw-focus:#ffb545;--aw-radius:14px}

/* MAXIMALE CSS-ISOLATION - Widget komplett abschirmen */
#aw-root {
    all: initial !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #e6e8ec !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.aw-toggle:hover{width:280px;height:80px;padding:16px;border-radius:40px;background:#000;color:#fff;right:0;bottom:20px}
.aw-root.aw-dragging{cursor:grabbing}
.aw-root.bottom-right{right:var(--aw-offset-x,16px);bottom:var(--aw-offset-y,16px)}
.aw-root.bottom-left{left:var(--aw-offset-x,16px);bottom:var(--aw-offset-y,16px)}
.aw-root.top-right{right:var(--aw-offset-x,16px);top:var(--aw-offset-y,16px)}
.aw-root.top-left{left:var(--aw-offset-x,16px);top:var(--aw-offset-y,16px)}

/* TOGGLE BUTTON - MAXIMALE ISOLATION */
#aw-root .aw-toggle {
    all: initial !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    border: 3px solid #fff !important;
    background: #fff !important;
    color: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px #000000, 0 0 40px #000000, 0 4px 12px rgba(255,255,255,0.3) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    padding: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}
.aw-toggle:hover{width:320px;height:80px;padding:20px;border-radius:40px;background:#fff;color:#000;position:fixed;right:0;bottom:20px;box-shadow:0 0 20px #000000, 0 0 40px #000000, 0 4px 12px rgba(255,255,255,0.3)}
.aw-toggle:active{cursor:grabbing;transform:scale(0.98)}
.aw-toggle:focus{outline:3px solid #000;outline-offset:2px}
.aw-toggle-content{display:flex;align-items:center;gap:20px;width:100%;transition:all 0.3s ease;padding-right:10px}
.aw-icon{display:flex;align-items:center;justify-content:center;transition:all 0.3s ease;flex-shrink:0;opacity:1;width:48px;height:48px}
.aw-toggle:hover .aw-icon{opacity:1}
.aw-toggle-text{font-size:16px;font-weight:700;color:#000;text-align:left;line-height:1.2;opacity:0;transition:opacity 0.3s ease;white-space:nowrap}
.aw-toggle:hover .aw-toggle-text{opacity:1}

/* HOVER EXPAND - MAXIMALE ISOLATION */
#aw-root .aw-toggle:hover {
    width: 320px !important;
    height: 80px !important;
    padding: 20px !important;
    border-radius: 40px !important;
    background: #fff !important;
    color: #000 !important;
    position: fixed !important;
    right: var(--aw-offset-x,16px) !important;
    bottom: var(--aw-offset-y,16px) !important;
    box-shadow: 0 0 20px #000000, 0 0 40px #000000, 0 4px 12px rgba(255,255,255,0.3) !important;
    z-index: 100000 !important;
}
#aw-root .aw-toggle:hover .aw-icon { opacity: 1 !important; }
#aw-root .aw-toggle:hover .aw-toggle-text { opacity: 1 !important; color:#000 !important; }

/* Sicherstellen, dass der Text im Hover-Zustand schwarz ist */
#aw-root .aw-toggle:hover,
#aw-root .aw-toggle:hover * {
    color:#000 !important;
}

/* PANEL - MAXIMALE ISOLATION */
#aw-root .aw-panel {
    all: initial !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: min(92vw, 380px) !important;
    height: 100vh !important;
    background: #10141a !important;
    color: #e6e8ec !important;
    border-radius: 0 !important;
    box-shadow: -10px 0 40px rgba(0,0,0,.5) !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    display: none !important;
    overflow: hidden !important;
    z-index: 999999 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
@media (max-width: 480px) {
	.aw-panel{width:100vw;max-width:100vw;right:0;left:0}
}
/* PANEL ANZEIGEN - ROBUST */
#aw-root .aw-panel[aria-hidden="false"] {
    display: block !important;
}

#aw-root .aw-panel[aria-hidden="true"] {
    display: none !important;
}
/* HEADER - MAXIMALE ISOLATION */
#aw-root .aw-header {
    all: initial !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    position: sticky !important;
    top: 0 !important;
    background: #10141a !important;
    z-index: 1 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* TITLE - MAXIMALE ISOLATION */
#aw-root .aw-title {
    all: initial !important;
    font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif !important;
    color: #e6e8ec !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CONTENT - MAXIMALE ISOLATION */
#aw-root .aw-content {
    all: initial !important;
    height: calc(100% - 73px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,255,255,0.3) transparent !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #e6e8ec !important;
    background: transparent !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: block !important;
}
/* Webkit scrollbar styling for better browser support */
.aw-content::-webkit-scrollbar{width:6px}
.aw-content::-webkit-scrollbar-track{background:transparent}
.aw-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.3);border-radius:3px}
.aw-content::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.5)}

/* Fallback for browsers without scrollbar-color support */
@supports not (scrollbar-color: rgba(255,255,255,0.3) transparent) {
	.aw-content{scrollbar-width:thin}
}
/* SECTIONS & ROWS - MAXIMALE ISOLATION */
#aw-root .aw-section {
    all: initial !important;
    display: grid !important;
    gap: 12px !important;
    margin: 16px 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box !important;
}

#aw-root .aw-row {
    all: initial !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-height: 36px !important;
    padding: 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    margin: 0 !important;
}

#aw-root .aw-controls {
    all: initial !important;
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* BUTTONS - MAXIMALE ISOLATION - GRAU STATT GRÜN! */
#aw-root .aw-btn {
    all: initial !important;
    height: 32px !important;
    min-width: 60px !important;
    max-width: 100px !important;
    padding: 0 6px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background: rgba(255,255,255,.1) !important;
    color: #e6e8ec !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-decoration: none !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
/* BUTTON STATES - MAXIMALE ISOLATION */
#aw-root .aw-btn[aria-pressed="true"],
#aw-root .aw-btn.is-active {
    background: #5aa6ff !important;
    color: #000 !important;
    border-color: #5aa6ff !important;
}

#aw-root .aw-btn:hover {
    background: rgba(255,255,255,.1) !important;
    border-color: rgba(255,255,255,.3) !important;
}

#aw-root .aw-btn[aria-pressed="true"]:hover,
#aw-root .aw-btn.is-active:hover {
    background: #5aa6ff !important;
    color: #000 !important;
    border-color: #5aa6ff !important;
}

#aw-root .aw-btn:focus {
    outline: 2px solid #ffb545 !important;
    outline-offset: 2px !important;
}
.aw-stepper{display:inline-flex;border:1px solid rgba(255,255,255,.2);border-radius:8px;overflow:hidden;background:rgba(255,255,255,.05);align-items:center;justify-content:center}
.aw-stepper button{height:32px;width:32px;background:transparent;color:var(--aw-text);border:0;border-right:1px solid rgba(255,255,255,.2);font-size:12px;font-weight:600;transition:all 0.2s ease;display:flex;align-items:center;justify-content:center;text-align:center}
.aw-stepper button:hover{background:rgba(255,255,255,.1)}
.aw-stepper button:last-child{border-right:0}
.aw-select{
	height:32px;
	padding:0 6px;
	border:1px solid rgba(255,255,255,.2);
	border-radius:6px;
	background:rgba(255,255,255,.1);
	color:var(--aw-text);
	font-size:11px;
	min-width:90px;
	max-width:120px;
	flex-shrink:1;
}

/* Dropdown-Optionen - ALLE ZUSTÄNDE mit gutem Kontrast */
.aw-select option{
	background:#1a1a1a !important;
	color:#ffffff !important;
	padding:8px 12px !important;
	font-size:12px !important;
}

/* Hover-Zustand für Optionen */
.aw-select option:hover{
	background:#3a3a3a !important;
	color:#ffffff !important;
}

/* Selected-Zustand für Optionen */
.aw-select option:checked{
	background:#5aa6ff !important;
	color:#000000 !important;
	font-weight:600 !important;
}

/* Focus-Zustand für Optionen */
.aw-select option:focus{
	background:#4a4a4a !important;
	color:#ffffff !important;
	outline:2px solid var(--aw-focus) !important;
}

/* Dropdown-Liste selbst */
.aw-select:focus{
	outline:2px solid var(--aw-focus);
	outline-offset:2px;
	background:rgba(255,255,255,.15);
}

/* Browser-spezifische Dropdown-Verbesserungen */
.aw-select option::-moz-focus-inner{
	background:#3a3a3a !important;
	color:#ffffff !important;
}

/* Webkit-Browser (Chrome, Safari, Edge) */
.aw-select option::-webkit-scrollbar{
	width:8px;
}
.aw-select option::-webkit-scrollbar-track{
	background:#1a1a1a;
}
.aw-select option::-webkit-scrollbar-thumb{
	background:#4a4a4a;
	border-radius:4px;
}
.aw-select option::-webkit-scrollbar-thumb:hover{
	background:#5a5a5a;
}

/* Zusätzliche Kontrast-Verbesserungen */
.aw-select option[selected]{
	background:#5aa6ff !important;
	color:#000000 !important;
	font-weight:600 !important;
}

.aw-select option[value]:hover{
	background:#3a3a3a !important;
	color:#ffffff !important;
}
/* LABELS - MAXIMALE ISOLATION - WEIßE SCHRIFT GARANTIERT */
#aw-root .aw-row label {
    all: initial !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #e6e8ec !important;
    min-width: 130px !important;
    max-width: 130px !important;
    text-align: left !important;
    flex-shrink: 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    line-height: 1.2 !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* ZUSÄTZLICHE LABEL-ISOLATION für alle Label-Typen */
#aw-root label,
#aw-root .aw-row label,
#aw-root .aw-section label,
#aw-root .aw-content label {
    color: #e6e8ec !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* ALLE TEXT-ELEMENTE IM WIDGET - WEIßE SCHRIFT GARANTIERT */
#aw-root * {
    color: #e6e8ec !important;
    font-family: system-ui, -apple-system, sans-serif !important;
}

/* AUSNAHMEN für Buttons und spezielle Elemente */
#aw-root .aw-btn {
    color: #e6e8ec !important;
}

#aw-root .aw-btn[aria-pressed="true"],
#aw-root .aw-btn.is-active {
    color: #000 !important;
}

#aw-root .aw-section-title {
    color: #5aa6ff !important;
}
/* SECTION TITLES - MAXIMALE ISOLATION */
#aw-root .aw-section-title {
    all: initial !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #5aa6ff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    line-height: 1.2 !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* States on document */
html.aw-contrast{filter:contrast(1.3) brightness(1.1) !important}
html.aw-contrast-aa{filter:contrast(1.5) brightness(1.2) !important}
html.aw-contrast-aaa{filter:contrast(1.8) brightness(1.3) !important}
html.aw-dark{color-scheme:dark}
html.aw-bluefilter{filter:hue-rotate(-10deg) saturate(.9) sepia(.15)}
html.aw-grayscale{filter:grayscale(100%)}
html.aw-hide-images img:not(.aw-root img):not(.aw-root * img):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor img):not(.aw-fake-cursor * img),html.aw-hide-images picture:not(.aw-root picture):not(.aw-root * picture):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor picture):not(.aw-fake-cursor * picture),html.aw-hide-images video:not(.aw-root video):not(.aw-root * video):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor video):not(.aw-fake-cursor * video),html.aw-hide-images iframe:not(.aw-root iframe):not(.aw-root * iframe):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor iframe):not(.aw-fake-cursor * iframe),html.aw-hide-images canvas:not(.aw-root canvas):not(.aw-root * canvas):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor canvas):not(.aw-fake-cursor * canvas),html.aw-hide-images svg:not(.aw-root svg):not(.aw-root * svg):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor svg):not(.aw-fake-cursor * svg),html.aw-hide-images object:not(.aw-root object):not(.aw-root * object):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor object):not(.aw-fake-cursor * object),html.aw-hide-images embed:not(.aw-root embed):not(.aw-root * embed):not(.aw-root):not(.aw-root *):not(.aw-fake-cursor embed):not(.aw-fake-cursor * embed),html.aw-hide-images [style*="background-image"]:not(.aw-root):not(.aw-root *):not(.aw-fake-cursor):not(.aw-fake-cursor *),html.aw-hide-images [class*="image"]:not(.aw-root):not(.aw-root *):not(.aw-fake-cursor):not(.aw-fake-cursor *),html.aw-hide-images [class*="img"]:not(.aw-root):not(.aw-root *):not(.aw-fake-cursor):not(.aw-fake-cursor *),html.aw-hide-images [id*="image"]:not(.aw-root):not(.aw-root *):not(.aw-fake-cursor):not(.aw-fake-cursor *),html.aw-hide-images [id*="img"]:not(.aw-root):not(.aw-root *):not(.aw-fake-cursor):not(.aw-fake-cursor *){display:none !important}

/* CVD filters */
html.aw-cvd-protan{filter:url('#aw-cvd-protan')}
html.aw-cvd-deutan{filter:url('#aw-cvd-deutan')}
html.aw-cvd-tritan{filter:url('#aw-cvd-tritan')}

/* Focus management */
/* Fokus immer sichtbar - STÄRKERE SELEKTOREN */
html.aw-focus-visible *:focus,
html.aw-focus-visible button:focus,
html.aw-focus-visible input:focus,
html.aw-focus-visible select:focus,
html.aw-focus-visible a:focus,
html.aw-focus-visible [tabindex]:focus {
    outline: 3px solid var(--aw-focus) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px var(--aw-focus) !important;
}
html.aw-focus-visible *:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Bewegung reduzieren - STÄRKERE SELEKTOREN */
html.aw-reduce-motion *,
html.aw-reduce-motion *::before,
html.aw-reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
html.aw-reduce-motion *:hover,
html.aw-reduce-motion *:focus,
html.aw-reduce-motion *:active {
    animation: none !important;
    transition: none !important;
}

/* Parallax stoppen - STÄRKERE SELEKTOREN */
html.aw-no-parallax *,
html.aw-no-parallax *::before,
html.aw-no-parallax *::after {
    transform: none !important;
    will-change: auto !important;
    transform-style: flat !important;
    perspective: none !important;
    backface-visibility: visible !important;
}

/* Dark + Contrast combinations */
html.aw-dark.aw-contrast{filter:contrast(1.15)}
html.aw-dark.aw-contrast-aa{filter:contrast(1.3) brightness(1.1)}
html.aw-dark.aw-contrast-aaa{filter:contrast(1.5) brightness(1.2)}

/* Font scaling and typography - exclude widget completely */
html{--font-scale:1;--line-height:1.2;--word-spacing:0em}

/* Line-height und Word-spacing - NUR BEI AKTIVEM FEATURE anwenden */
html.aw-typo *:not(.aw-root):not(.aw-root *):not(.aw-panel):not(.aw-panel *):not(.aw-toggle):not(.aw-toggle *){line-height:var(--line-height) !important;word-spacing:var(--word-spacing) !important}

/* Widget font size isolation - complete separation */
.aw-root{font-size:14px !important;line-height:1.2 !important;word-spacing:0em !important}
.aw-root *{font-size:inherit !important;line-height:inherit !important;word-spacing:inherit !important}
.aw-panel{font-size:14px !important}
.aw-panel *{font-size:inherit !important}
.aw-toggle{font-size:14px !important}
.aw-toggle *{font-size:inherit !important}

/* Dyslexia font: Nur Schriftart ändern */
html.aw-dyslexia-font *:not(.aw-root):not(.aw-root *):not(.aw-panel):not(.aw-panel *):not(.aw-toggle):not(.aw-toggle *) {
	font-family: 'OpenDyslexic', 'Comic Sans MS', cursive !important;
}

/* Reading ruler */
html.aw-reading-ruler::before{
	content:'';
	position:fixed;
	top:50%;
	left:0;
	right:0;
	height:2px;
	background:rgba(255,255,0,0.8);
	z-index:99998;
	pointer-events:none;
	transform:translateY(-50%);
}

/* Big cursor */
/* FAKE-CURSOR - RIESIG UND ANIMIERBAR */
html.aw-big-cursor * {
    cursor: none !important;
}

/* EINFACHE CURSOR-LÖSUNG - Funktioniert garantiert! */
.aw-fake-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.2s ease;
    /* Hotspot-Positionierung */
    transform: translate(-2px, -2px);
}

html.aw-big-cursor .aw-fake-cursor {
    opacity: 1;
}

/* CURSOR GRÖSSEN - Großes SVG-Dreieck */
.aw-fake-cursor[data-cursor-size="normal"] {
    width: 40px;
    height: 40px;
}

.aw-fake-cursor[data-cursor-size="large"] {
    width: 60px;
    height: 60px;
}

.aw-fake-cursor[data-cursor-size="xlarge"] {
    width: 80px;
    height: 80px;
}

/* CURSOR ELEMENTE - Einfache CSS-Dreiecke */
.aw-cursor-arrow {
    position: absolute;
    top: 0;
    left: 0;
}

.aw-cursor-shaft {
    position: absolute;
}

/* Link highlighting */
html.aw-link-highlight a{text-decoration:underline !important;background:rgba(255,255,0,0.3) !important;padding:1px 2px !important;border-radius:2px !important}

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

/* Skip links */
.aw-skip-link{
	position:absolute;
	left:-9999px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
	background:var(--aw-accent);
	color:#000;
	padding:8px 16px;
	text-decoration:none;
	border-radius:4px;
	font-weight:600;
	z-index:100000;
}
.aw-skip-link:focus{
	position:fixed;
	left:8px;
	top:8px;
	width:auto;
	height:auto;
	overflow:visible;
	clip:auto;
}

/* (entfernt) TTS FLOATING BAR */
