/* Pixelwerk Studio – Basis-Styles */

@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--pw-midnight: #0B1220;
	--pw-deep: #04060D;
	--pw-slate: #132238;
	--pw-blue: #267BEE;
	--pw-ice: #75B5FF;
	--pw-cloud: #EAF3FF;
	--pw-gray: #A9B7C9;
	--pw-font-display: "Sora", system-ui, sans-serif;
	--pw-font-heading: "Space Grotesk", system-ui, sans-serif;
	--pw-font-body: "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pw-deep); color: var(--pw-cloud); font-family: var(--pw-font-body); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, p, ul) { margin: 0; }
a { color: var(--pw-ice); }
a:hover { color: var(--pw-cloud); }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Header: oben transparent, beim Scrollen mattes Glas */
.pw-header { position: sticky; top: 0; z-index: 50; margin-bottom: -84px; background: rgba(4, 6, 13, 0); border-bottom: 1px solid rgba(117, 181, 255, 0); transition: background-color .35s, box-shadow .35s, border-color .35s, backdrop-filter .35s; }
.admin-bar .pw-header { top: 32px; }
.pw-header.is-scrolled { background: rgba(11, 18, 32, .55); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-bottom-color: rgba(117, 181, 255, .16); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
@media (max-width: 782px) { .admin-bar .pw-header { top: 46px; } }

/* Hover-Animationen */
.pw-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.pw-card:hover { transform: translateY(-6px) scale(1.015); border-color: var(--pw-blue) !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 32px rgba(38, 123, 238, .35) !important; }
.pw-card svg { transition: transform .35s cubic-bezier(.2, .8, .2, 1), stroke .35s; }
.pw-card:hover svg { transform: scale(1.12) rotate(-4deg); stroke: #A8D0FF; }
.pw-btn { transition: transform .25s, box-shadow .25s, filter .25s; }
.pw-btn:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 10px 28px rgba(38, 123, 238, .45); }
.pw-btn:active { transform: translateY(0); }
.pw-nav a { position: relative; transition: color .25s; }
.pw-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--pw-blue); transform: scaleX(0); transition: transform .3s; }
.pw-nav a:hover { color: #FFFFFF !important; }
.pw-nav a:hover::after, .pw-nav a.pw-on::after { transform: scaleX(1); }
.pw-foot a { transition: color .2s, padding-left .2s; }
.pw-foot a:hover { color: var(--pw-cloud) !important; padding-left: 4px; }
.pw-soc { transition: background-color .25s, border-color .25s, transform .25s; }
.pw-soc:hover { background: var(--pw-blue) !important; border-color: var(--pw-blue) !important; transform: translateY(-3px); }
.pw-faq summary { transition: color .2s; }
.pw-faq summary:hover { color: var(--pw-ice); }
.pw-in { transition: border-color .2s, box-shadow .2s; }
.pw-in:focus { outline: none; border-color: var(--pw-blue) !important; box-shadow: 0 0 0 3px rgba(38, 123, 238, .25); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pw-ice); outline-offset: 3px; border-radius: 6px; }

/* Einblenden und Schweben */
@keyframes pwRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pw-rise { animation: pwRise .9s cubic-bezier(.2, .8, .2, 1) both; }
.pw-d1 { animation-delay: .12s; } .pw-d2 { animation-delay: .24s; } .pw-d3 { animation-delay: .36s; }
@keyframes pwFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -12px); } }
.pw-float { animation: pwFloat 10s ease-in-out infinite; }
@keyframes pwBreath { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.pw-breath { animation: pwBreath 7s ease-in-out infinite; }

/* Formular-Meldungen */
.pw-note { padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.pw-note--ok { background: rgba(38, 123, 238, .15); border: 1px solid var(--pw-blue); }
.pw-note--err { background: rgba(238, 120, 38, .12); border: 1px solid #E8893A; }

/* Inhaltsseiten (Impressum, Datenschutz) */
.pw-prose { font-size: 16px; line-height: 1.7; color: #D6E4F5; max-width: 760px; }
.pw-prose h2 { font-family: var(--pw-font-heading); color: var(--pw-cloud); font-size: 24px; margin: 40px 0 12px; }
.pw-prose h3 { font-family: var(--pw-font-heading); color: var(--pw-cloud); font-size: 19px; margin: 28px 0 8px; }
.pw-prose p, .pw-prose ul { margin: 0 0 16px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
