@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/lato-300.woff2) format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/lato-400.woff2) format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/lato-700.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/roboto-300.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/roboto-400.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/roboto-700.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/inter-300.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/inter-400.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/inter-700.woff2) format('woff2')}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ps-hinter, #fff);
  color: var(--ps-schrift, #222);
  font-family: var(--ps-font, system-ui), system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 700; }

/* Schriftgrößen wie im Perspective-Editor */
.ps-fs-checkbox { font-size: 13px; }
.ps-fs-small { font-size: 16px; }
.ps-fs-medium { font-size: 24px; line-height: 1.25; }
.ps-fs-large { font-size: 30px; line-height: 1.2; }
.ps-fs-xLarge { font-size: 38px; line-height: 1.15; }
@media (max-width: 560px) {
  .ps-fs-medium { font-size: 21px; }
  .ps-fs-large { font-size: 25px; }
  .ps-fs-xLarge { font-size: 30px; }
}

.ps-rahmen { min-height: 100vh; display: flex; flex-direction: column; }
.ps-rahmen.ps-eingebettet { min-height: 0; }
.ps-kopf { display: flex; justify-content: center; padding: 14px 16px 4px; }
.ps-kopf.ps-left { justify-content: flex-start; }
.ps-kopf.ps-right { justify-content: flex-end; }
.ps-logo { max-height: 36px; width: auto; }
.ps-logo-small { max-height: 28px; }
.ps-logo-large { max-height: 56px; }

.ps-fortschritt { height: 6px; background: color-mix(in srgb, var(--ps-knopf, #2563eb) 15%, transparent); margin: 8px auto 0; width: min(600px, calc(100% - 32px)); border-radius: 99px; overflow: hidden; }
.ps-fortschritt-fuellung { height: 100%; background: var(--ps-knopf, #2563eb); border-radius: 99px; transition: width .3s ease; }

.ps-seite { width: min(640px, 100%); margin: 0 auto; padding: 18px 16px 32px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.ps-seite.ps-breit { width: min(1040px, 100%); }
.ps-zurueck { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: inherit; opacity: .55; font: inherit; font-size: 13px; cursor: pointer; }
.ps-zurueck:hover { opacity: 1; }

.ps-text p { margin: 0 0 .4em; }
.ps-text p:last-child { margin-bottom: 0; }
.ps-text h1, .ps-text h2, .ps-text h3 { margin: 0 0 .4em; line-height: 1.25; }

.ps-frage { display: flex; flex-direction: column; gap: 16px; }
.ps-frage-text { margin: 0; text-align: center; }
.ps-frage-text p { margin: 0 0 4px; }
.ps-frage-text.ps-fett { font-size: 24px; font-weight: 700; line-height: 1.25; }

.ps-antworten { display: grid; grid-template-columns: 1fr; gap: 10px; width: min(600px, 100%); margin: 0 auto; }
.ps-antworten.ps-mit-bild { width: 100%; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .ps-antworten.ps-mit-bild { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ps-antworten.ps-mit-bild { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ps-antwort {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 16px; color: inherit; background: #fff;
  border: 1px solid #e3e5e8; border-radius: 8px; padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: border-color .15s, transform .1s, box-shadow .15s;
}
.ps-antwort:hover { border-color: var(--ps-feld, #2563eb); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.ps-antwort:active { transform: scale(.99); }
.ps-antwort[aria-pressed="true"] { border-color: var(--ps-feld, #2563eb); box-shadow: 0 0 0 2px var(--ps-feld, #2563eb) inset; }
.ps-emoji { font-size: 20px; line-height: 1; }
.ps-mit-bild .ps-antwort { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: center; border: 0; }
.ps-mit-bild .ps-antwort img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ps-mit-bild .ps-antwort-text { padding: 10px 8px; font-size: 15px; color: var(--ps-feld-text, #fff); background: var(--ps-feld, #2563eb); }
.ps-mit-bild .ps-antwort-text p { margin: 0; }
.ps-antwort-symbol { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18%; background: #fff; color: var(--ps-knopf, #2563eb); }
.ps-antwort-symbol svg { width: 100%; height: 100%; }
.ps-antwort-symbol.ps-gross { font-size: 56px; padding: 0; }
.ps-antworten:not(.ps-mit-bild) .ps-antwort-symbol { aspect-ratio: auto; padding: 0; width: 28px; height: 28px; background: none; }
.ps-emoji-block { display: block; text-align: center; font-size: 28px; line-height: 1.2; }
.ps-emoji-block.ps-groesse-xLarge { font-size: 44px; }
.ps-symbol.ps-groesse-xLarge, .ps-symbol.ps-groesse-large { width: 44px; height: 44px; }

.ps-formular { display: flex; flex-direction: column; gap: 12px; width: min(560px, 100%); margin: 0 auto; }
.ps-feld { position: relative; }
.ps-feld input:not([type=checkbox]):not([type=file]), .ps-feld textarea {
  width: 100%; font: inherit; font-size: 15px; color: inherit; background: #fff;
  border: 1px solid #dfe2e6; border-radius: 6px; padding: 13px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ps-feld textarea { min-height: 120px; resize: vertical; }
.ps-feld.ps-mit-symbol input:not([type=checkbox]):not([type=file]), .ps-feld.ps-mit-symbol textarea { padding-left: 40px; }
.ps-feld-symbol { position: absolute; left: 13px; top: 13px; font-size: 16px; line-height: 1.3; pointer-events: none; }
.ps-feld input:focus, .ps-feld textarea:focus { outline: none; border-color: var(--ps-feld, #2563eb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ps-feld, #2563eb) 18%, transparent); }
.ps-feld.ps-ungueltig input, .ps-feld.ps-ungueltig textarea, .ps-feld.ps-ungueltig .ps-datei { border-color: #dc2626; }
.ps-haken { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.ps-haken input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ps-feld, #2563eb); flex: none; }
.ps-feld.ps-mit-symbol .ps-haken { padding-left: 0; }
.ps-feld-checkbox .ps-feld-symbol, .ps-feld-file .ps-feld-symbol { display: none; }
.ps-datei { display: flex; flex-direction: column; gap: 6px; border: 2px dashed color-mix(in srgb, var(--ps-feld, #2563eb) 45%, #e5e7eb); border-radius: 8px; padding: 16px; cursor: pointer; background: #fff; }
.ps-datei-status { font-size: 14px; }
.ps-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ps-fehler { color: #dc2626; font-size: 13px; margin: 0; text-align: center; }
.ps-fehler:empty { display: none; }

.ps-knopf {
  align-self: center; min-width: 140px; max-width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
  background: var(--ps-knopf, #2563eb); border: 0; border-radius: 6px; padding: 12px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12); transition: filter .15s, transform .1s;
}
.ps-knopf-medium { font-size: 17px; padding: 14px 34px; }
.ps-knopf-large { width: 100%; font-size: 18px; padding: 16px 20px; }
.ps-knopf-leer { background: transparent; color: var(--ps-knopf, #2563eb); box-shadow: none; text-decoration: underline; }
.ps-knopf:hover { filter: brightness(1.06); }
.ps-knopf:active { transform: scale(.99); }
.ps-knopf:disabled { opacity: .7; cursor: wait; }
.ps-formular .ps-knopf, .ps-frage > .ps-knopf { align-self: center; }

.ps-zeile { display: grid; grid-template-columns: repeat(var(--spalten, 1), minmax(0, 1fr)); gap: 16px; align-items: center; }
.ps-spalte, .ps-gruppe { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 560px) { .ps-zeile { grid-template-columns: 1fr; } }

.ps-bild { margin: 0 auto; border-radius: 8px; }
.ps-symbol { display: inline-flex; width: 28px; height: 28px; flex: none; color: var(--ps-knopf, #2563eb); }
.ps-symbol svg { width: 100%; height: 100%; fill: currentColor; }
.ps-linie { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 6px 0; width: 100%; }

.ps-liste { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: 10px; width: min(600px, 100%); }
.ps-liste li { display: flex; gap: 10px; align-items: flex-start; }
.ps-liste li .ps-symbol { width: 22px; height: 22px; margin-top: 2px; }

.ps-akkordeon { width: min(600px, 100%); margin: 0 auto; }
.ps-akkordeon details { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; background: #fff; }
.ps-akkordeon summary { font-weight: 700; cursor: pointer; }
.ps-akkordeon .ps-text { margin-top: 8px; }

.ps-slider, .ps-stimmen { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.ps-slider img { height: 90px; width: auto; scroll-snap-align: start; border-radius: 6px; }
.ps-stimme { flex: 0 0 min(85%, 420px); scroll-snap-align: start; margin: 0; background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 8px; }
.ps-stimme img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ps-stimme blockquote { margin: 0; font-weight: 700; font-size: 15px; }
.ps-stimme figcaption { font-size: 13px; opacity: .75; }

.ps-einbettung { width: 100%; min-height: 680px; border: 0; border-radius: 10px; background: #fff; }

.ps-fuss { display: flex; justify-content: center; gap: 18px; padding: 16px; font-size: 12px; opacity: .7; }

.ps-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 560px; margin: 0 auto;
  background: #fff; color: #222; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px; font-size: 13px;
}
.ps-banner p { margin: 0; }
.ps-banner-knoepfe { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ps-banner button { font: inherit; font-size: 13px; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.ps-banner-nein { background: #fff; border: 1px solid rgba(0,0,0,.2); color: #222; }
.ps-banner-ja { background: var(--ps-knopf, #2563eb); border: 0; color: #fff; font-weight: 700; }
