/* Designgalerie: echte Verkaufsseiten in Geräterahmen */
.dframe { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15,23,42,.12), 0 2px 6px rgba(15,23,42,.06); }
.dframe-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #eef1f5; border-bottom: 1px solid var(--line); }
.dframe-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9e1; }
.dframe-bar i:nth-child(1) { background: #f28b82; } .dframe-bar i:nth-child(2) { background: #f6c460; } .dframe-bar i:nth-child(3) { background: #7fd08b; }
.dframe-bar span { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; color: #64748b; font-size: .78rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Die Seite wird in voller Breite gerechnet und verkleinert; --s setzt designs.js */
.dframe-view { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; }
.dframe-view iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0;
  transform: scale(var(--s, .3)); pointer-events: none; background: #fff; }
a.dframe-view::after { content: ""; position: absolute; inset: 0; transition: background .2s; }
a.dframe-view:hover::after { background: rgba(12,35,64,.06); }
.dframe-empty { display: grid; place-items: center; background: var(--bg); }
.dframe-empty b { font-size: 1.6rem; color: #0f172a; } .dframe-empty b span { color: var(--pr); }

/* Kopf mit Rechner und Handy */
.dg-hero { padding-bottom: 72px; }
.dg-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.dg-hero-act { display: flex; gap: 10px; flex-wrap: wrap; }
.dg-hero-visual { position: relative; padding: 10px 40px 40px 0; }
.dframe-desk { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); border-color: rgba(255,255,255,.2); box-shadow: 0 40px 80px rgba(2,12,27,.5); }
.dframe-phone { position: absolute; right: 0; bottom: 0; width: 34%; border-radius: 26px; border: 7px solid #0b1220; box-shadow: 0 30px 60px rgba(2,12,27,.55); }
.dframe-phone .dframe-view { aspect-ratio: 390 / 780; }
.dframe-phone iframe { width: 390px; height: 780px; }

/* Raster der zwölf Seitentypen */
.dg-body { padding-top: 56px; }
.dg-intro { max-width: 720px; margin: -8px auto 34px; text-align: center; color: var(--muted); line-height: 1.6; }
.dg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.dg-card .dframe { transition: transform .25s, box-shadow .25s; }
.dg-card:hover .dframe { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(15,23,42,.16); }
.dg-meta { padding: 16px 2px 0; }
.dg-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dg-title h3 { margin: 0; font-size: 1.1rem; }
.dg-big { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.dg-meta > p { margin: 4px 0 12px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.dg-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-dot { width: 22px; height: 22px; padding: 0; border-radius: 50%; cursor: pointer; border: 2px solid #fff;
  background: linear-gradient(135deg, var(--bg) 0 50%, var(--pr) 50% 100%); box-shadow: 0 0 0 1px rgba(15,23,42,.18); transition: transform .15s; }
.dg-dot:hover { transform: scale(1.15); }
.dg-dot.on { box-shadow: 0 0 0 2px var(--accent); }
.dg-live { margin: 12px 0 0; font-size: .85rem; }
.dg-more { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .dg-hero-in { grid-template-columns: 1fr; }
  .dg-hero-visual { max-width: 640px; }
  .dg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dg-grid { grid-template-columns: 1fr; }
  .dg-hero-visual { padding-right: 24px; }
  .dframe-desk { transform: none; }
}

/* Marktplatzseite einer Domain: kleines Bild der Verkaufsseite */
.lp-peek { display: block; margin-top: 16px; color: inherit; }
.lp-peek:hover { text-decoration: none; }
.lp-peek .dframe { box-shadow: 0 10px 24px rgba(15,23,42,.1); transition: transform .2s; }
.lp-peek:hover .dframe { transform: translateY(-2px); }
.lp-peek-cap { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: .88rem; font-weight: 700; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .dframe-desk { transform: none; }
  .dg-card .dframe, .dg-dot, .lp-peek .dframe { transition: none; }
}
.dg-hero .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); padding-left: 20px; padding-right: 20px; }
.dg-hero .btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
