/* email-einstellungen.com */
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root { color-scheme: light; --body-bg: #fff; --body-color: #212529; --emph: #000; --emph-rgb: 0,0,0; --panel: #495057; --link: #0d6efd; --line: #dee2e6; }
[data-theme="dark"] { color-scheme: dark; --body-bg: #212529; --body-color: #dee2e6; --emph: #fff; --emph-rgb: 255,255,255; --panel: #dee2e6; --link: #6ea8fe; --line: #495057; }

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font: 400 16px/24px "Open Sans", "Helvetica Neue", Arial, sans-serif; color: var(--body-color); background: var(--body-bg); -webkit-font-smoothing: antialiased; }
h1, h2, p, hr, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }

.skip { position: absolute; top: -100px; left: 10px; z-index: 2000; padding: 10px 15px; color: var(--body-bg); background: var(--emph); }
.skip:focus { top: 10px; }

/* ---- menu */
.bar { position: sticky; top: 0; z-index: 1020; padding: 8px 15px; background: var(--body-bg); }
.menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; list-style: none; text-align: center; }
.menu a, .menu button { display: block; padding: 8px; font: inherit; color: rgba(var(--emph-rgb), .65); text-decoration: none; background: none; border: 0; cursor: pointer; }
.menu a:hover, .menu button:hover { color: rgba(var(--emph-rgb), .8); }
.menu a[aria-current] { color: var(--emph); }
.toggler { display: none; margin-left: auto; padding: 4px 12px; font-size: 20px; line-height: 1; background: none; border: 1px solid rgba(var(--emph-rgb), .15); color: var(--emph); cursor: pointer; }
.toggler svg { display: block; width: 1.5em; height: 1.5em; }
.themes { position: relative; }
.themes ul { display: none; position: absolute; top: 100%; right: 0; z-index: 1000; min-width: 10rem; padding: 8px 0; list-style: none; background: var(--body-bg); border: 1px solid rgba(var(--emph-rgb), .15); border-radius: 6px; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
.themes.open ul { display: block; }
.themes ul button { display: flex; align-items: center; justify-content: center; width: 100%; padding: 4px 16px; color: var(--body-color); }
.themes ul button[aria-pressed="true"] { background: rgba(var(--emph-rgb), .08); }
.themes svg { width: 1em; height: 1em; fill: currentColor; opacity: .5; margin-right: 8px; }
.themes > button svg { margin: 0 2px 4px 0; opacity: 1; }
.themes > button::after { content: ""; display: inline-block; margin-left: 4px; vertical-align: .2em; border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; }
.themes { display: none; }
.js .themes { display: block; }

@media (max-width: 767.98px) {
    .bar { display: flex; flex-wrap: wrap; align-items: center; }
    .js .toggler { display: block; }
    .js .menu { display: none; width: 100%; flex-direction: column; }
    .js .menu.open { display: flex; }
    .themes ul { position: static; box-shadow: none; border: 0; }
    .menu { width: 100%; }
}

/* ---- sections */
.box { display: flow-root; width: 100%; max-width: 540px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .box { max-width: 720px; } }
@media (min-width: 992px) { .box { max-width: 960px; } }
@media (min-width: 1200px) { .box { max-width: 1140px; } }
.box.dark { color: var(--body-bg); background: var(--panel); }
.box.gap { margin-top: 20px; }
.box > section { padding-bottom: 1px; }
.box + .box:not(.gap):not(.dark) { margin-top: 0; }

h1, h2 { font-weight: 400; margin: 30px 0 15px; line-height: 1.1; }
h1, h2 { font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif; }
h2 { font-size: 32px; font-weight: 600; text-align: center; color: var(--emph); }
.dark h2 { color: var(--body-bg); }
.warn { color: #f00; }
#home h1 { font-size: 32px; font-weight: 400; color: #f00; }
#home .note { margin: 30px 0 15px; font-size: 28px; font-weight: 400; line-height: 1.1; color: #f00; }
p { margin: 13px 0 16px; font-weight: 700; line-height: 25px; color: var(--emph); }
.dark p { color: var(--body-bg); }
section img { margin-bottom: 35px; }
.w100 { width: 100%; }
.w600 { width: 100%; max-width: 600px; }
.w300 { width: 100%; max-width: 300px; }
hr { margin: 16px 0; color: inherit; border: 0; border-top: 1px solid; opacity: .25; }
.dark hr { color: var(--body-bg); }
b, strong { font-weight: 700; }

@media (max-width: 575.98px) { h1, h2 { overflow-wrap: break-word; } }
@media (scripting: none) { .themes { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
