diff --git a/templates/index.html b/templates/index.html index d63ee36..b9abfec 100644 --- a/templates/index.html +++ b/templates/index.html @@ -165,17 +165,17 @@ body { box-sizing: border-box; } .modal-close { - position: absolute; + position: fixed; top: 1em; right: 1em; - background: none; - border: none; + background: rgba(255, 255, 255, 0.95); + border: 2px solid var(--border); font-size: 1.5em; cursor: pointer; color: var(--text); padding: 0.5em; border-radius: 50%; - transition: background 0.2s; + transition: all 0.2s; width: 2.5em; height: 2.5em; display: flex; @@ -183,6 +183,8 @@ body { justify-content: center; min-width: 44px; min-height: 44px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + z-index: 1001; } .modal-close:hover { background: var(--border); @@ -516,6 +518,26 @@ button:focus, .accordion-header:focus { overflow-y: auto; overflow-x: hidden; } + + .modal-close { + top: 0.8em; + right: 0.8em; + font-size: 1.3em; + width: 2.2em; + height: 2.2em; + min-width: 48px; + min-height: 48px; + background: rgba(255, 255, 255, 0.98); + border: 2px solid var(--border); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); + } + + .modal-content h1 { + margin-top: 0; + margin-bottom: 1em; + font-size: 1.2em; + line-height: 1.3; + } } /* Sprachauswahl */ @@ -1011,7 +1033,7 @@ footer br + a {