.demo-wrap { width: min(1240px, 100%); padding: 112px 28px 104px; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 6vw, 96px); align-items: start; isolation: isolate; }
.demo-intro { position: sticky; top: 120px; padding-top: 28px; }
.demo-intro h1 { margin: 0; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.04em; }
.demo-lead { max-width: 480px; margin: 24px 0 36px; color: var(--muted); font-size: 17px; line-height: 1.6; }

.demo-benefits { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.demo-benefits li { display: flex; align-items: center; gap: 12px; }
.demo-benefits li > span { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--accent-strong); font-size: 12px; font-weight: 600; }
.demo-benefits strong { display: block; font-size: 15.5px; font-weight: 560; line-height: 1.55; }

/* Ein weicher Petrol-Schein hinter der Karte hebt das Formular vom Grund ab,
   ohne eine zweite laute Farbe einzuführen. */
.demo-form-card { position: relative; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-md); }
.demo-form-card::before { content: ""; position: absolute; inset: -48px -36px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 156, 143, .13), rgba(26, 156, 143, 0)); pointer-events: none; }
.demo-form-head { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.demo-form-card h2 { margin: 0; font-size: 26px; font-weight: 520; letter-spacing: -.03em; line-height: 1.2; }
.demo-form-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.demo-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.demo-field { min-width: 0; }
.demo-field-wide { grid-column: 1 / -1; }
.demo-field label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.demo-field label span { color: var(--faint); font-weight: 400; }
/* `.site-page` davor, sonst gewinnt site.css bei Feldern mit type="tel" und
   type="email" und die Felder sehen verschieden aus. */
.site-page .demo-field input, .site-page .demo-field select, .site-page .demo-field textarea { display: block; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background-color: #fff; color: var(--ink); font-size: 14px; line-height: 1.5; }
.site-page .demo-field input:hover, .site-page .demo-field select:hover { border-color: rgba(20, 21, 23, .28); }
.site-page .demo-field input:focus-visible, .site-page .demo-field select:focus-visible { border-color: var(--accent); }
.site-page .demo-field select { padding-right: 36px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235e6268' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E"); background-position: right 13px center; background-repeat: no-repeat; background-size: 12px; cursor: pointer; }
.demo-field textarea { resize: vertical; }
.demo-field input::placeholder, .demo-field textarea::placeholder { color: #8b8f94; opacity: 1; }
.demo-phone { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; }
.site-page .demo-field [aria-invalid="true"] { border-color: var(--danger); }
.demo-field-error { display: block; margin-top: 6px; color: var(--danger); font-size: 12.5px; line-height: 1.5; }
.demo-error-summary { margin-bottom: 22px; padding: 13px 15px; border: 1px solid var(--danger); border-radius: 10px; background: rgba(180, 35, 24, .04); color: var(--danger); font-size: 13.5px; line-height: 1.6; }

.demo-submit { display: flex; width: 100%; min-height: 50px; margin-top: 26px; align-items: center; justify-content: space-between; gap: 14px; border-radius: 12px; padding: 14px 20px; font-size: 15px; font-weight: 500; text-align: left; }
.demo-submit span { transition: transform 160ms ease; }
.demo-submit:hover span { transform: translate(2px, -2px); }
.demo-promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.demo-promises li { display: flex; align-items: center; gap: 6px; }
.demo-promises li::before { content: "✓"; color: var(--accent); font-size: 11px; font-weight: 600; }
.demo-promises a { color: inherit; text-underline-offset: 3px; }
.demo-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.demo-success { padding: 36px 0 20px; }
.demo-success-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--tint); color: var(--accent-strong); font-size: 24px; }
.demo-success p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.demo-success .btn { margin-top: 24px; border-radius: 12px; }

@media (max-width: 900px) {
  .demo-wrap { padding: 96px 24px 72px; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 620px; margin: auto; }
  .demo-intro { position: static; padding-top: 0; }
  .demo-intro h1 { font-size: clamp(38px, 7vw, 54px); }
  .demo-lead { max-width: none; margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .demo-wrap { padding: 84px 18px 56px; }
  .demo-form-card { padding: 24px 20px; border-radius: 16px; }
  .demo-form-card::before { inset: -24px -12px; }
  .demo-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-page .demo-field input, .site-page .demo-field select, .site-page .demo-field textarea { font-size: 16px; }
  .demo-phone { grid-template-columns: 122px minmax(0, 1fr); }
}
