/* Wunsch-Studio */
#wsDialog { width: min(1440px, calc(100vw - 24px)); height: calc(100vh - 24px); max-height: none; padding: 0; border: 0; border-radius: 22px; background: #f6f5f0; box-shadow: 0 30px 90px #0b182050; overflow: hidden; font-family: Manrope, "Segoe UI", system-ui, sans-serif; color: #14323a; }
#wsDialog[open] { display: block; }
#wsDialog::backdrop { background: #0b1820b8; backdrop-filter: blur(4px); }
#wsDialog button, #wsDialog select, #wsDialog input, #wsDialog textarea { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; }
.ws { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: linear-gradient(110deg, #14323a, #1d5c55 70%, #2f7a6d); color: #fff; }
.ws-title { display: flex; align-items: center; gap: 12px; }
.ws-title i { font-style: normal; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(140deg, #f1d6a8, #c99a5b); color: #14323a; font-size: 20px; box-shadow: 0 6px 16px #0003; }
.ws-title b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ws-title small { display: block; font-size: 12.5px; opacity: .8; margin-top: 2px; }
#wsDialog .ws-close { width: 38px; height: 38px; border-radius: 11px; border: 1px solid #ffffff40; background: #ffffff1a; color: #fff; cursor: pointer; padding: 0; }
.ws-body { display: grid; grid-template-columns: minmax(380px, 480px) 1fr; min-height: 0; }
.ws-left { overflow-y: auto; padding: 18px 20px 24px; border-right: 1px solid #e1e7e4; background: #fbfaf7; display: grid; gap: 14px; align-content: start; }
.ws-ask { display: grid; gap: 8px; position: relative; margin: 0 !important; }
.ws-ask span { font-size: 15px; font-weight: 800; color: #14323a; }
#wsDialog .ws-ask textarea { min-height: 150px; resize: vertical; padding: 14px 14px 26px; border-radius: 14px; border: 1.5px solid #cfdcd6; background: #fff; color: #14323a; font-size: 14.5px; line-height: 1.55; box-shadow: 0 6px 18px #18302e0d; }
#wsDialog .ws-ask textarea:focus { outline: none; border-color: #1d5c55; box-shadow: 0 0 0 4px #1d5c5520; }
.ws-ask em { position: absolute; right: 12px; bottom: 9px; font-style: normal; font-size: 11px; color: #8a979c; }
.ws-examples { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ws-examples span { font-size: 11.5px; font-weight: 700; color: #8a6a43; letter-spacing: .06em; text-transform: uppercase; margin-right: 2px; }
#wsDialog .ws-examples button { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid #e1e7e4; background: #fff; color: #34474e; font-size: 12px; font-weight: 600; cursor: pointer; }
#wsDialog .ws-examples button:hover { border-color: #1d5c55; color: #1d5c55; }
.ws-understood { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e1e7e4; }
.ws-under h3 { margin: 0; font-size: 15px; font-weight: 800; }
.ws-under p { margin: 3px 0 0; font-size: 12px; color: #66777d; }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#wsDialog .ws-grid label { display: grid; gap: 4px; margin: 0; padding: 7px 9px; border-radius: 11px; background: #f5f7f5; border: 1px solid #e6ece9; font-size: 11px; font-weight: 700; color: #66777d; text-transform: uppercase; letter-spacing: .05em; position: relative; }
#wsDialog .ws-grid label[data-ok] { background: #eef6f2; border-color: #c4dccf; }
#wsDialog .ws-grid label[data-ok]::after { content: "✓"; position: absolute; right: 9px; top: 6px; color: #2f8a5f; font-size: 11px; }
#wsDialog .ws-grid :is(select, input) { width: 100%; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: #14323a; font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
#wsDialog .ws-grid :is(select, input):focus { outline: 2px solid #1d5c55; background: #fff; }
.ws-understood h4 { margin: 6px 0 0; font-size: 12.5px; font-weight: 800; color: #14323a; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#wsDialog .ws-chips button { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid #e1e7e4; background: #fff; color: #44565d; font-size: 12px; font-weight: 600; cursor: pointer; }
#wsDialog .ws-chips button[aria-pressed=true] { background: #14323a; border-color: #14323a; color: #fff; }
#wsDialog .ws-chips button[aria-pressed=true]::before { content: "✓ "; color: #f1d6a8; }
.ws-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ws-tags span { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #f6efe6; color: #7a5a35; }
#wsDialog .ws-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #34474e; }
.ws-check input { width: 17px; height: 17px; accent-color: #1d5c55; }
.ws-hint { margin: 0; font-size: 12.5px; color: #8a5a2b; background: #fbf3e6; border-radius: 10px; padding: 9px 11px; }
.ws-ai { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(150deg, #fffaf1, #fff); border: 1px solid #ecdcc2; }
.ws-ai[hidden] { display: none; }
.ws-ai-head { display: flex; align-items: center; gap: 12px; }
.ws-ai-head b { display: block; font-size: 14px; font-weight: 800; color: #14323a; }
.ws-ai-head small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: #66777d; }
#wsDialog .ws-ai-go { flex: none; height: 38px; padding: 0 14px; border-radius: 11px; border: 0; background: linear-gradient(140deg, #f1d6a8, #c99a5b); color: #14323a; font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 6px 16px #c99a5b40; }
#wsDialog .ws-ai-go:disabled { opacity: .6; cursor: progress; }
.ws-ai-error { margin: 0; font-size: 12.5px; color: #9b2c2c; background: #fdecec; border-radius: 10px; padding: 9px 11px; }
.ws-ai-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 12.5px; line-height: 1.45; color: #34474e; }
.ws-ai-list dt { font-weight: 800; color: #8a6a43; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.ws-ai-list dd { margin: 0; }
.ws-ai-list b { color: #14323a; }
#wsDialog .ws-ai-drop { justify-self: start; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid #e1e7e4; background: #fff; color: #44565d; font-size: 12px; font-weight: 600; cursor: pointer; }
.ws-right { display: grid; grid-template-rows: auto 1fr; min-height: 0; background: radial-gradient(circle at 30% 0%, #f7f8f4, #e8ede9); }
.ws-preview-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #e1e7e4; background: #fffefa; min-width: 0; }
.ws-pages { display: flex; gap: 4px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
#wsDialog .ws-pages button { flex: none; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid #e1e7e4; background: #fff; color: #44565d; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#wsDialog .ws-pages button[aria-pressed=true] { background: #14323a; border-color: #14323a; color: #fff; }
.ws-url { margin-left: auto; flex: none; font-size: 12px; color: #66777d; padding: 6px 12px; border-radius: 999px; background: #eef2ef; }
.ws-stage { padding: 16px; min-height: 0; display: grid; }
.ws-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px #18302e24; }
.ws-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid #e1e7e4; background: #fff; }
.ws-foot small { margin-right: auto; font-size: 12px; color: #66777d; }
#wsDialog .ws-secondary { height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid #d6dde0; background: #fff; color: #14323a; font-weight: 700; font-size: 13.5px; cursor: pointer; }
#wsDialog .ws-primary { height: 42px; padding: 0 22px; border-radius: 12px; border: 0; background: linear-gradient(120deg, #2f7a6d, #1d5c55 45%, #14323a); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 0 8px 20px #14323a40; }
#wsDialog .ws-primary:disabled { opacity: .55; cursor: default; }

/* Einstiege auf der Startseite */
.ws-hero-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #f1d6a880; background: #ffffff14; color: #f1d6a8; font: 700 14px Manrope, "Segoe UI", system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.ws-hero-btn:hover { background: #ffffff24; transform: translateY(-1px); }
.hg-quick { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
.hg-quick .ws-quick { background: linear-gradient(140deg, #14323a, #1d5c55) !important; border-color: #14323a !important; color: #fff !important; }
.hg-quick .ws-quick i { background: linear-gradient(140deg, #f1d6a8, #c99a5b) !important; color: #14323a !important; }
.hg-quick .ws-quick small { color: #cfe0dc !important; }
.hg-quick .ws-quick em { color: #f1d6a8 !important; }

@media (max-width: 980px) {
  .ws-body { grid-template-columns: 1fr; grid-template-rows: auto 60vh; overflow-y: auto; }
  .ws-left { border-right: 0; border-bottom: 1px solid #e1e7e4; overflow: visible; }
  .ws-foot small { display: none; }
}
@media (max-width: 560px) {
  #wsDialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .ws-grid { grid-template-columns: 1fr; }
  .ws-foot { flex-wrap: wrap; } .ws-foot button { flex: 1; }
}
