/* Schriften liegen auf dem eigenen Server (Inter, Onest, Abhaya Libre; SIL Open Font License). */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Abhaya Libre"; font-weight: 400; font-display: swap; src: url("fonts/abhaya-libre-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Abhaya Libre"; font-weight: 400; font-display: swap; src: url("fonts/abhaya-libre-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--primary: #0bb4aa;
	--container: 1200px;
	--gutter: 30px;
	--panel: 380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #444; font: 400 16px/1.8 "Inter", sans-serif; }
a { color: var(--primary); text-decoration: none; transition: color .1s ease-in; }
a:hover { text-decoration: underline; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 8px 16px; background: #fff; }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.inner-wrap { max-width: var(--container); margin: 0 auto; }

/* Kopfleiste */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.navbar { padding: 18px 0; color: #fff; background: #101010; transition: .5s ease-in-out; }
.home .navbar { background: transparent; }
.site-header.is-scrolled { box-shadow: 0 0 18px 1px rgba(0, 0, 0, .1); }
.site-header.is-scrolled .navbar { padding: 12px 0; background: rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; justify-content: flex-end; height: 50px; }

.primary-menu { display: flex; }
.primary-menu li { margin: 0 15px; }
.primary-menu li:last-child { margin-right: 0; }
.primary-menu a { display: block; padding: 5px 0 3px; border-bottom: 1px solid transparent; color: #fff; font: 500 16px/1.8 "Onest", sans-serif; transition: border-color .2s, color .2s; }
.primary-menu a:hover { text-decoration: none; opacity: .72; }
.primary-menu a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .3); }

.navbar-toggle { display: none; width: 40px; height: 40px; margin-left: 12px; padding: 0 9px; border: 0; background: none; color: #fff; cursor: pointer; }
.navbar-toggle span.icon-bar { display: block; width: 22px; height: 2px; margin-left: auto; border-radius: 2px; background: currentColor; transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1); }
.navbar-toggle span.icon-bar + span.icon-bar { width: 14px; margin-top: 7px; }
.navbar-toggle:hover span.icon-bar, .navbar-toggle:focus span.icon-bar { width: 22px; }
.navbar-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }

/* Seitenmenü auf kleinen Bildschirmen */
.side-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9999; width: var(--panel); max-width: 100%; visibility: hidden; transform: translateX(100%); transition: transform .18s, visibility .18s; overflow-y: auto; background: rgba(16, 16, 16, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.side-nav-open .side-nav { visibility: visible; transform: none; transition: transform .18s, visibility 0s; }
.side-nav__wrap { position: relative; padding: 92px 30px 60px; }
.side-nav__close { position: absolute; top: 20px; right: 30px; }
.side-nav__close .navbar-toggle { display: block; margin: 0; }
.side-nav__close span.icon-bar { width: 22px; }
.side-nav__close span.icon-bar:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.side-nav__close span.icon-bar + span.icon-bar { width: 22px; transform: translateY(-4.5px) rotate(-45deg); }
.side-nav__label { margin: 0 0 6px; color: rgba(255, 255, 255, .45); font: 600 12px/1.4 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.side-nav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.side-nav li:last-child { border-bottom: 0; }
.side-nav li a { display: flex; padding: 14px 0; color: #fff; font: 500 20px/1.25 "Onest", sans-serif; }
.side-nav li a:hover { text-decoration: none; }
.side-nav-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .5); visibility: hidden; opacity: 0; transition: opacity .3s cubic-bezier(.7, 0, .3, 1), visibility .3s; }
.side-nav-open .side-nav-overlay { visibility: visible; opacity: 1; }
.side-nav-open { overflow: hidden; }

/* Titelbild der Startseite */
.custom-header { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.custom-header-media, .custom-header-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.custom-header-media img { object-fit: cover; }
.custom-header-media::before, .custom-header-media::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.custom-header-media::before { background-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 100%); }
.custom-header-media::after { background: linear-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .3) 75%, rgba(0, 0, 0, .3) 100%); }

.site-branding { position: absolute; top: 45%; left: 0; right: 0; z-index: 3; padding: 16px 0; text-align: center; transform: translateY(-50%); }
.site-branding-text { display: inline-block; max-width: 100%; }
.site-title { position: relative; margin: 0 0 40px; padding: 0 0 30px; color: #fff; font: 400 80px/1.25 "Abhaya Libre", serif; }
.site-title::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 310px; margin-left: -155px; border-bottom: 2px solid rgba(201, 201, 201, .4); }
.site-description { max-width: 950px; margin: 0 auto; color: #fff; font: 400 35px/1.8 "Abhaya Libre", serif; opacity: .8; }

.custom-header-button { display: inline-block; margin-top: 30px; padding: 12px 32px; border: 2px solid #fff; color: #fff; font: 500 16px/1.8 "Inter", sans-serif; transition: background-color .2s, color .2s; }
.custom-header-button:hover, .custom-header-button:focus-visible { background: #fff; color: #222; text-decoration: none; }
.custom-header-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Inhalt */
.site-content { padding-top: 86px; }
.entry-title { margin: 90px 0 20px; color: #222; font: 600 45px/1.4 "Onest", sans-serif; text-align: left; }
.entry-content { display: flow-root; margin-top: 65px; line-height: 1.9; }
.entry-content h2, .entry-content h3 { color: #000; font-weight: 600; line-height: 1.4; }
.entry-content h2 { margin: 24.9px 0 20px; font-size: 30px; }
.entry-content h3 { margin: 24px 0 20px; padding-top: 15px; font-size: 24px; }
.entry-content p { margin: 0 0 20px; }

/* Nach oben */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 990; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #111; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s, background-color .15s; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: opacity .1s; transform: none; } }

@media (max-width: 1260px) { .inner-wrap { padding-left: var(--gutter); padding-right: var(--gutter); } }

@media (max-width: 1024px) {
	.primary-menu { display: none; }
	.navbar-toggle { display: block; }
	.navbar { padding: 16px 0; }
	.site-content { padding-top: 82px; }
	.entry-title { margin-top: 48px; font-size: 32px; }
	.entry-content { margin-top: 40px; }
}

@media (max-width: 781px) {
	.site-title { font-size: 42px; }
	.site-description { font-size: 18px; }
}

@media (max-width: 640px) {
	.site-title { margin-bottom: 10px; padding-bottom: 0; font-size: 24px; }
	.site-title::after { display: none; }
	.site-description { font-size: 16px; }
	.custom-header-button { margin-top: 20px; padding: 8px 24px; }
	.entry-title { font-size: 24px; }
}

@media (max-width: 480px) { :root { --panel: 320px; } }
