/* Sitewright v3 — the smaller pages: the concept-site viewer, Impressum and Datenschutz. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --ink: #0c0c0b; --paper: #f2efe8; --white: #fbfaf7; --mute: #6b675e; --line: rgba(12, 12, 11, .12); --accent: #ff5b22;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 99px; background: var(--accent); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

/* shared bits */
.arr { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(251, 250, 247, .6); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.pill:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.pill-sm { height: 36px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 99px; font-size: 16px; font-weight: 600; transition: background-color .3s, color .3s; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); color: var(--ink); }
.top-link { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.flip { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3; }
.flip span { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.flip span + span { transform: translateY(100%); }
.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(251, 250, 247, .6); }
.switch button { position: relative; z-index: 1; height: 34px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: color .35s; }
.switch button[aria-checked="true"] { color: var(--paper); }
.switch-pill { position: absolute; top: 4px; left: 0; height: 34px; border-radius: 99px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }

/* header (legal pages) */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 var(--pad); background: rgba(242, 239, 232, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; font-size: 17px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }

/* footer */
.foot { padding: 0 var(--pad) calc(24px + env(safe-area-inset-bottom)); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a:hover { color: var(--ink); }

/* concept-site viewer */
.v-page { transition: background-color .6s var(--ease); }
.v-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 14px var(--pad); background: linear-gradient(rgba(242, 239, 232, .0), rgba(242, 239, 232, 0)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.v-back { flex: none; }
.v-title { display: flex; align-items: baseline; gap: .6em; min-width: 0; margin-right: auto; font-size: 15px; white-space: nowrap; }
.v-title b { overflow: hidden; text-overflow: ellipsis; font-weight: 700; letter-spacing: -.01em; }
.v-title span { color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.v-switch { flex: none; }
.v-main { padding: 12px var(--pad) 0; }
.v-frame { width: min(100%, 430px); margin: 0 auto; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(12, 12, 11, .45); }
.v-frame[data-vp="desktop"] { width: min(100%, 1280px); border-radius: 18px; }
.v-strip { width: 100%; height: auto; }
.v-after { display: grid; justify-items: center; gap: 22px; max-width: 760px; margin: 0 auto; padding: 56px 0 72px; text-align: center; }
.v-note { max-width: 44ch; color: var(--mute); font-size: 15px; }
.v-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v-more [aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.v-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 8px; }
.v-play { position: fixed; right: var(--pad); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; height: 46px; padding: 0 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -12px rgba(12, 12, 11, .35); }
.v-play-i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; transition: border-width .3s var(--ease); }
.v-play[aria-pressed="true"] .v-play-i { width: 9px; height: 10px; border-width: 0 3px; border-color: currentColor; }
.v-play[aria-pressed="true"] .flip span { transform: translateY(-100%); }
.v-play[aria-pressed="true"] .flip span + span { transform: none; }
.v-foot { padding-top: 0; }
@media (max-width: 640px) {
  .v-top { flex-wrap: wrap; padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
  .v-title { order: 3; flex-basis: 100%; font-size: 14px; }
  .v-switch { margin-left: auto; }
  .v-frame { border-radius: 20px; }
}

/* legal pages */
.legal { max-width: 860px; margin: 0 auto; padding: clamp(48px, 10svh, 120px) var(--pad) clamp(64px, 12svh, 140px); }
.legal h1 { margin-bottom: clamp(32px, 6svh, 64px); font-size: clamp(44px, 8vw, 104px); font-weight: 600; font-stretch: 92%; letter-spacing: -.05em; line-height: .9; hyphens: manual; }
.legal section { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.legal h2 { margin-bottom: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.legal p, .legal li { max-width: 68ch; color: #2b2a27; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: 2px; }
.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal strong { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .v-play { display: none; }
}
