/* topurl – kompiliertes Utility-CSS (statischer Tailwind-Subset).
   Ersetzt den 407-KB-Play-CDN-Compiler durch genau die Klassen,
   die index.html, impressum.html, datenschutz.html und app.js nutzen.
   Komponenten-Klassen (surface, panel, field, btn-*, …) liegen in theme.css.
   Alles 100 % lokal – keine externen Schriften, Icons oder Skripte. */

/* ---------- Reset (schlanke Tailwind-Preflight-Auswahl) ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; margin: 0; }
p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%; line-height: inherit;
  color: inherit; margin: 0; padding: 0;
}
button { background: transparent; background-image: none; border: 0; cursor: pointer; }
button, [role="button"] { cursor: pointer; }
img, svg, video, canvas { display: block; vertical-align: middle; }
hr { height: 0; color: inherit; border: 0; border-top-width: 1px; }
:-moz-focusring { outline: auto; }
[hidden] { display: none; }

/* ---------- Display / Layout ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.place-items-center { place-items: center; }
.self-start { align-self: flex-start; }

/* ---------- Grid ---------- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Sizing ---------- */
.min-h-screen { min-height: 100vh; }
.min-h-\[220px\] { min-height: 220px; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-\[18px\] { width: 18px; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-\[18px\] { height: 18px; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* ---------- Margin ---------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1 { margin-left: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

/* ---------- Padding ---------- */
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.pl-2\.5 { padding-left: 0.625rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }

/* ---------- Gap ---------- */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* ---------- Border radius ---------- */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }

/* ---------- Typography ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.text-white { color: #fff; }

/* ---------- Misc ---------- */
.cursor-pointer { cursor: pointer; }
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ---------- Hover ---------- */
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:text-red-500:hover { color: #ef4444; }

/* ---------- Responsive: sm (≥640px) ---------- */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ---------- Responsive: md (≥768px) ---------- */
@media (min-width: 768px) {
  .md\:p-12 { padding: 3rem; }
}

/* ---------- Responsive: lg (≥1024px) ---------- */
@media (min-width: 1024px) {
  .lg\:grid-cols-\[1fr_340px\] { grid-template-columns: 1fr 340px; }
  .lg\:sticky { position: sticky; }
  .lg\:top-6 { top: 1.5rem; }
}

/* ---------- Additional utilities (pro.html, pro-demo.html) ---------- */
.block { display: block; }
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
