:root { color-scheme: dark; --ink: #f4f6fa; --muted: #c1cad8; --blue: #9cc9ee; --red: #bd343d; --paper: #060c18; --line: #ffffff20; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; --interaction-glow: drop-shadow(0 0 3px rgba(244, 82, 93, .28)) drop-shadow(0 0 9px rgba(189, 52, 61, .24)); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid #a7d7ff; outline-offset: 5px; }
.page { min-height: 100svh; display: flex; flex-direction: column; overflow: clip; }
.container { width: min(1700px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 16px; padding: 12px 16px; background: #101e32; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.main { flex: 1; position: relative; display: flex; align-items: stretch; min-height: 640px; isolation: isolate; }
.wallpaper { position: absolute; z-index: -3; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 0; }
.backdrop-shade { display: none; }
.hero { position: relative; width: 100%; margin: 0; min-height: 640px; --safe-top: 8vh; --left-inset: 2vw; --left-space: 33vw; --right-inset: 2vw; --right-space: 31vw; --heading-size: 36px; --body-size: 18px; }
.visual { position: absolute; left: var(--left-inset); top: var(--safe-top); width: var(--left-space); aspect-ratio: 1200 / 520; isolation: isolate; }
.particle-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: default; }
.hc-fallback { position: absolute; inset: 15.38% 6.67%; display: flex; align-items: center; }
.hc-fallback img { display: block; width: 100%; height: auto; border-radius: 3px; }
.particle-ready .hc-fallback { display: none; }
.copy { position: absolute; right: var(--right-inset); top: var(--copy-top, var(--safe-top)); width: var(--right-space); z-index: 1; transform-origin: right top; animation: text-heartbeat 1s ease-in-out infinite; }
@keyframes text-heartbeat { 0%, 6%, 23%, 32%, 49%, 100% { transform: scale(1); } 9.5% { transform: scale(1.035); } 35.5% { transform: scale(1.022); } }
.accent { display: none; }
h1 { margin: 0; font-size: var(--heading-size); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.description { margin: 18px 0 0; font-size: var(--body-size); line-height: 1.65; color: #e0e5ee; }
.thanks { margin: 18px 0 0; font-size: var(--thanks-size, 13px); line-height: 1.6; color: var(--muted); }
.signature { display: block; margin-top: 5px; font-size: 1.3em; font-weight: 700; color: var(--ink); }
footer { position: relative; background: rgba(6, 12, 24, .65); }
.landing-page .main { min-height: 100svh; height: 100svh; }
.landing-page .hero { min-height: 0; }
.landing-page .page { position: relative; }
.landing-page footer { position: absolute; right: 0; bottom: 0; left: 0; margin-top: 0; z-index: 2; }
.footer-inner { border-top: 1px solid var(--line); min-height: 80px; padding-block: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; color: #e0e7f2; }
.landing-page .footer-inner { min-height: 52px; padding-block: 4px; flex-wrap: wrap; gap: 0 16px; font-size: 12px; }
/* Match the enhanced Impressum footer on every screen orientation. */
@media screen {
  .landing-page .footer-inner { width: min(1600px, calc(100% - 32px)); }
  .landing-page .footer-nav { gap: 16px; }
}
.landing-page .footer-nav a,.landing-page .footer-home { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { color: #e0e7f2; text-decoration: none; padding-block: 8px; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-nav a[aria-current="page"] { text-decoration: none; font-weight: 600; }
.legal-page { background: radial-gradient(ellipse at 0 0, #17273e 0%, transparent 55%), var(--paper); }
.legal { flex: 1; width: min(860px, calc(100% - 96px)); margin-inline: auto; padding-block: 54px 80px; }
.back { font-size: 13px; display: inline-block; margin-bottom: 32px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 32px; overflow-wrap: anywhere; }
.legal h2 { font-size: 21px; line-height: 1.4; margin: 34px 0 12px; font-weight: 600; }
.legal p, .legal li, .legal address { color: #c8d2df; font-size: 15px; line-height: 1.85; }
.legal p { margin: 0 0 14px; }
.legal address { font-style: normal; }
.legal ul { padding-left: 22px; }
.legal a { overflow-wrap: anywhere; }
.legal .date { font-size: 12px; color: #adb9ca; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 36px; }
@media (min-width: 1800px) { .wallpaper { object-position: 50% 0; } }
@media (max-aspect-ratio: 1/1) {
  .container { width: calc(100% - 48px); }
  .landing-page .main { min-height: 100svh; height: 100svh; --mobile-photo-height: max(240px, min(calc(100svh - 120px), 165vw)); }
  .wallpaper { inset: auto; bottom: 0; left: calc(100% - 8px - var(--mobile-photo-height) * .865955); width: calc(var(--mobile-photo-height) * 1.499407); height: var(--mobile-photo-height); object-fit: fill; }
  .hero { display: block; width: 100%; min-height: 0; padding: 0; margin: 0; }
  .visual { position: absolute; left: auto; right: 8px; top: 12px; width: var(--mobile-logo-width, 43vw); margin: 0; }
  .copy { position: absolute; left: 14px; right: auto; top: var(--mobile-copy-top, 60px); width: var(--mobile-copy-width, calc(48vw - 14px)); max-width: none; transform-origin: left top; }
  .copy h1 { font-size: clamp(18px, 4.8vw, 30px); hyphens: manual; overflow-wrap: anywhere; line-height: 1.15; }
  .description { margin-top: 10px; font-size: clamp(13px, 3.5vw, 18px); line-height: 1.45; }
  .thanks { margin-top: 12px; font-size: clamp(11px, 3vw, 14px); line-height: 1.45; }
  .legal-page .footer-inner { flex-wrap: wrap; gap: 10px; padding-block: 18px; }
  .legal-page .footer-nav { gap: 24px; }
  .legal { width: calc(100% - 48px); padding-block: 36px 55px; }
}
/* The network crop fills the phone's top area while the original portrait
   keeps its readable, uncropped composition below it. */
@media (max-width: 599px) and (max-aspect-ratio: 1/1) {
  .landing-page .backdrop-shade { display: block; position: absolute; z-index: -4; inset: 0; background-repeat: no-repeat; background-position: left var(--mobile-photo-height); background-size: auto max(100svh, 201vw); transform: scaleY(-1); }
  .landing-page .backdrop-shade::after { content: ""; position: absolute; top: calc(var(--mobile-photo-height) - 16px); left: 0; right: 0; height: 88px; background: linear-gradient(90deg, #1e0508, #13020a 33%, #0c020d 66%, #07040f); -webkit-mask-image: linear-gradient(#000 16px, transparent); mask-image: linear-gradient(#000 16px, transparent); }
  .landing-page .wallpaper { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 calc(var(--mobile-photo-height) * .012)); mask-image: linear-gradient(to bottom, transparent, #000 calc(var(--mobile-photo-height) * .012)); }
  .landing-page .hero { width: 100%; }
  .landing-page .visual { left: max(68px, calc(env(safe-area-inset-left) + 56px)); right: auto; top: var(--mobile-logo-top, 16px); width: var(--mobile-logo-width, 65vw); }
  .landing-page .copy { top: var(--mobile-copy-top, 130px); }
}
/* Portrait tablets have their own composition; phone rules remain above. */
@media (min-width: 600px) and (max-aspect-ratio: 1/1) {
  .landing-page .main { --mobile-photo-height: 100svh; }
  .landing-page .visual { left: clamp(16px, 3vw, 32px); right: auto; top: clamp(48px, 8svh, 112px); width: clamp(280px, 49vw, 500px); }
  .landing-page .copy { left: var(--tablet-copy-left, 7vw); top: var(--tablet-copy-top, 30svh); width: var(--tablet-copy-width, 46vw); }
  .landing-page .copy h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
  .landing-page .description { margin-top: 16px; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.5; }
  .landing-page .thanks { margin-top: 18px; font-size: clamp(15px, 1.8vw, 20px); line-height: 1.5; }
}
@media (min-width: 600px) and (max-width: 699px) and (max-aspect-ratio: 1/1) {
  .landing-page .visual { top: 32px; width: 45vw; }
  .landing-page .thanks { max-width: 190px; }
}
/* Desktop pivot displays get a separate upper content band and a complete portrait. */
@media screen and (min-width:900px) and (min-height:1440px) and (max-aspect-ratio:1/1) {
  .landing-page .main {--pivot-photo-height:min(calc((100svh - 53px) * .7),calc((100vw - clamp(72px,8vw,192px)) * 1.187324));}
  .landing-page .wallpaper {inset:auto;bottom:var(--pivot-photo-bottom,53px);left:calc(50% - var(--pivot-photo-height) * .717675);width:calc(var(--pivot-photo-height) * 1.499407);height:var(--pivot-photo-height);object-fit:fill;}
  .landing-page .visual {left:var(--pivot-logo-left,4vw);right:auto;top:var(--pivot-logo-top,8svh);width:var(--pivot-logo-width,44vw);}
  .landing-page .copy {left:var(--pivot-copy-left,52vw);right:auto;top:var(--pivot-copy-top,10svh);width:var(--pivot-copy-width,44vw);transform-origin:left top;}
  .landing-page .copy h1 {font-size:var(--pivot-heading-size,clamp(36px,4vw,64px));line-height:1.2;}
  .landing-page .description {font-size:var(--pivot-body-size,clamp(22px,2.2vw,36px));line-height:1.5;margin-top:16px;}
  .landing-page .thanks {font-size:var(--pivot-thanks-size,clamp(18px,1.7vw,24px));line-height:1.5;margin-top:18px;}
}
@media (min-aspect-ratio: 10001/10000) and (max-height: 640px) {
  .landing-page .description, .landing-page .thanks { margin-top: var(--copy-gap, 10px); }
  .landing-page .signature { margin-top: var(--signature-gap, 3px); }
}
@media (max-width: 380px) { .container, .legal { width: calc(100% - 36px); } .footer-inner { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .landing-page footer { position: relative; inset: auto; margin-top: 0; background: #fff; } :root { --ink: #14243b; --paper: #fff; --line: #aaa; } .skip-link, .visual, .back, .wallpaper, .backdrop-shade { display: none; } .page { display: block; min-height: 0; } .container, .legal { width: 100%; } .legal { padding: 24px 0; } .legal p, .legal address, .legal li, a { color: #14243b; } .footer-inner { margin-top: 30px; } }


/* Half-transparent audio control stays above the artwork in the top corner. */
.sound-toggle { position: fixed; z-index: 20; top: max(12px, env(safe-area-inset-top)); right: auto; left: max(12px, env(safe-area-inset-left)); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px; color: #f4f6fa; background: rgba(6, 12, 24, .55); border: 1px solid #ffffff70; border-radius: 50%; opacity: .5; cursor: pointer; }
.sound-toggle:hover, .sound-toggle:focus-visible { opacity: 1; }
.sound-toggle:focus-visible { outline: 3px solid #a7d7ff; outline-offset: 3px; }
.sound-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-waves { display: none; }
.sound-toggle[data-audio-state="playing"] .sound-waves { display: inline; }
.sound-toggle[data-audio-state="playing"] .sound-slash { display: none; }
@media print { .sound-toggle { display: none; } }

/* Diagnostic views are enabled only by the explicit audio comparison links. */
html[data-audio-test] .copy { animation: none !important; }
.audio-test-notice { position: fixed; z-index: 30; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 70px; max-width: 640px; padding: 12px 16px; border: 1px solid #8191a8; border-radius: 8px; background: #060c18f2; color: #fff; font: 15px/1.45 system-ui, sans-serif; }
.audio-test-notice p { margin: 5px 0; font-size: 13px; }
.audio-test-notice a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 20px; color: #b6e1ff; text-decoration: none; }

/* Local preview interaction preferences. Editable text fields remain usable. */
body input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]), body textarea, body [contenteditable]:not([contenteditable="false"]) { -webkit-user-select: text; user-select: text; }
.footer-home { color: inherit; text-decoration: none; padding-block: 8px; max-width: 100%; overflow-wrap: anywhere; }
.footer-home:hover { text-decoration: none; }
.particle-canvas { cursor: pointer; }
@media screen and (hover: hover) {
  body :is(a[href], button, summary, label[for], label:has(input:not(:disabled)), input:not([type="hidden"]), select, textarea, .particle-canvas):not(:disabled):hover { filter: var(--interaction-glow); }
}
@media screen {
  body :is(a[href], button, summary, input:not([type="hidden"]), select, textarea, .particle-canvas):focus-visible { outline: 2px solid #f2abb3; outline-offset: 4px; filter: var(--interaction-glow); }
}

/* Links pulse only in glow intensity; reduced motion keeps the static glow. */
@keyframes hc-link-glow {
  0%,100% {text-shadow:0 0 2px rgba(255,105,122,.75),0 0 6px rgba(255,53,77,.68),0 0 14px rgba(243,35,62,.45),0 0 24px rgba(220,24,50,.24);}
  50% {text-shadow:0 0 2px rgba(255,105,122,1),0 0 6px rgba(255,53,77,.98),0 0 14px rgba(243,35,62,.90),0 0 24px rgba(220,24,50,.72);}
}
@media screen and (hover:hover) {
  body a[href]:hover {color:#fff;text-shadow:0 0 2px rgba(255,105,122,1),0 0 6px rgba(255,53,77,.98),0 0 14px rgba(243,35,62,.90),0 0 24px rgba(220,24,50,.72);animation:hc-link-glow 1.2s ease-in-out infinite;}
}
@media screen {
  body a[href]:focus-visible {color:#fff;text-shadow:0 0 2px rgba(255,105,122,1),0 0 6px rgba(255,53,77,.98),0 0 14px rgba(243,35,62,.90),0 0 24px rgba(220,24,50,.72);animation:hc-link-glow 1.2s ease-in-out infinite;}
}
