/* ---------- Mini-Websites (Darstellung der Kundenvorlage, Systemschrift wie im echten Theme) ---------- */
.ms { --a: #12507e; --a-ink: #fff; --a-txt: #12507e; --dark: #151a22; width: 1200px; background: #fff; color: #1d232b; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; }
.ms * { box-sizing: border-box; }
.ms-bar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 52px; border-bottom: 1px solid #eceef2; }
.ms-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; line-height: 1.1; }
.ms-logo i { width: 40px; height: 40px; border-radius: 9px; background: var(--a); color: var(--a-ink); display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 800; }
.ms-logo small { display: block; font-weight: 500; font-size: 12px; color: #6b7280; letter-spacing: 0; }
.ms-nav { display: flex; gap: 34px; font-size: 15px; font-weight: 600; color: #39424e; }
.ms-nav span:first-child { color: #111; box-shadow: inset 0 -3px 0 var(--a); padding-bottom: 6px; }
.ms-tel { background: var(--a); color: var(--a-ink); padding: 13px 22px; border-radius: 6px; font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.ms-tel svg { width: 16px; height: 16px; }
.ms-hero { position: relative; height: 448px; color: #fff; overflow: hidden; background: var(--dark); }
.ms-art { position: absolute; inset: 0; }
.ms-art svg { width: 100%; height: 100%; display: block; }
.ms-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,15,.9) 0%, rgba(9,11,15,.62) 50%, rgba(9,11,15,.08) 100%); }
.ms-hc { position: relative; z-index: 1; padding: 76px 52px; max-width: 700px; }
.ms-kick { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.ms-kick::before { content: ""; width: 30px; height: 4px; background: var(--a); }
.ms-h1 { font-size: 54px; line-height: 1.06; font-weight: 800; margin: 18px 0 16px; letter-spacing: -.02em; }
.ms-p { font-size: 18px; color: rgba(255,255,255,.86); max-width: 520px; margin: 0; }
.ms-btns { display: flex; gap: 12px; margin-top: 30px; }
.ms-b1, .ms-b2 { padding: 15px 24px; border-radius: 6px; font-weight: 700; font-size: 15px; }
.ms-b1 { background: var(--a); color: var(--a-ink); }
.ms-b2 { border: 2px solid rgba(255,255,255,.6); }
.ms-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 52px; background: #f5f6f8; border-bottom: 1px solid #eceef2; }
.ms-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--a-txt); letter-spacing: -.01em; }
.ms-stat small { font-size: 14px; color: #6b7280; }
.ms-sec { padding: 48px 52px 56px; }
.ms-sk { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--a-txt); display: flex; align-items: center; gap: 10px; }
.ms-sk::before { content: ""; width: 24px; height: 3px; background: var(--a); }
.ms-h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 28px; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ms-card { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(16,24,40,.06); }
.ms-cimg { position: relative; height: 150px; background: var(--dark); }
.ms-cimg svg { width: 100%; height: 100%; display: block; opacity: .9; }
.ms-cic { position: absolute; left: 22px; bottom: -24px; width: 50px; height: 50px; border-radius: 10px; background: var(--a); color: var(--a-ink); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.ms-cic svg { width: 26px; height: 26px; }
.ms-cb { padding: 38px 22px 24px; }
.ms-cb h4 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.ms-cb p { font-size: 14px; color: #6b7280; margin: 0; }
.ms-dark { background: var(--dark); color: #fff; padding: 48px 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ms-dark h5 { margin: 12px 0 6px; font-size: 17px; }
.ms-dark p { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.ms-dark i { width: 34px; height: 34px; border-radius: 50%; background: var(--a); color: var(--a-ink); display: grid; place-items: center; }
.ms-dark i svg { width: 16px; height: 16px; }

/* Handy-Variante */
.ms--m { width: 390px; }
.ms--m .ms-bar { height: 64px; padding: 0 18px; }
.ms--m .ms-logo { font-size: 16px; gap: 10px; }
.ms--m .ms-logo i { width: 34px; height: 34px; font-size: 13px; }
.ms--m .ms-burger { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #e5e7eb; display: grid; place-content: center; gap: 5px; }
.ms--m .ms-burger i { display: block; width: 18px; height: 2px; background: #1d232b; }
.ms--m .ms-hero { height: 560px; }
.ms--m .ms-hero::after { background: linear-gradient(180deg, rgba(9,11,15,.35) 0%, rgba(9,11,15,.88) 70%); }
.ms--m .ms-hc { padding: 200px 20px 30px; }
.ms--m .ms-h1 { font-size: 34px; }
.ms--m .ms-p { font-size: 16px; }
.ms--m .ms-btns { flex-direction: column; }
.ms--m .ms-b1, .ms--m .ms-b2 { text-align: center; }
.ms--m .ms-stats { grid-template-columns: 1fr 1fr; padding: 24px 20px; gap: 18px; }
.ms--m .ms-stat b { font-size: 19px; }
.ms--m .ms-sec { padding: 36px 20px; }
.ms--m .ms-cards { grid-template-columns: 1fr; }
.ms--m .ms-h2 { font-size: 26px; }
.ms-fab { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 56px; height: 56px; border-radius: 50%; background: var(--a); color: var(--a-ink); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.ms-fab svg { width: 24px; height: 24px; }


.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.screen > .ms { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); }
.phone .screen { aspect-ratio: 9 / 19; }
/* Alte Website (Vorher) */
.old { width: 1200px; height: 750px; background: #d8d2b8 repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 6px, transparent 6px 12px); font: 13px/1.45 Verdana, Arial, sans-serif; color: #000; padding-top: 14px; overflow: hidden; }
.old__page { width: 960px; margin: 0 auto; background: #fffef3; border: 4px ridge #9b967c; }
.old__head { height: 116px; background: linear-gradient(#003399, #2b67c9); display: flex; align-items: center; gap: 20px; padding: 0 26px; border-bottom: 3px solid #ffcc00; }
.old__logo { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff59a, #ffcc00 50%, #d18f00); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 2px 2px 0 #001a66; }
.old__logo svg { width: 40px; height: 40px; }
.old__h1 { font: italic 700 46px/1 "Times New Roman", Times, serif; color: #ffcc00; text-shadow: 3px 3px 0 #001a66; margin: 0; }
.old__sub { color: #fff; font: 14px Arial, sans-serif; margin-top: 6px; }
.old__mq { background: #ffff99; border-bottom: 1px solid #c9c26a; overflow: hidden; white-space: nowrap; color: #cc0000; font-weight: 700; padding: 5px 0; }
.old__mq span { display: inline-block; padding-left: 100%; animation: oldmq 16s linear infinite; }
@keyframes oldmq { to { transform: translateX(-100%); } }
.old__cols { display: grid; grid-template-columns: 190px 1fr; min-height: 520px; }
.old__nav { background: #c0c0c0; border-right: 2px solid #8c8c8c; padding: 16px 12px; display: grid; align-content: start; gap: 8px; }
.old__nav a { color: #0000ee; text-decoration: underline; font: 13px Arial, sans-serif; }
.old__nav a::before { content: "» "; color: #000; text-decoration: none; }
.old__nav .old__vis { margin-top: 18px; padding: 8px; background: #000; color: #33ff33; font: 12px "Courier New", monospace; text-align: center; border: 2px inset #777; }
.old__main { padding: 18px 24px; display: grid; gap: 12px; align-content: start; }
.old__main h2 { font: 700 28px/1.1 "Comic Sans MS", "Comic Sans", cursive; color: #cc0000; margin: 0; }
.old__main p { margin: 0; max-width: 620px; }
.old__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.old__img { height: 150px; border: 2px inset #999; background: #eee; display: grid; place-items: center; color: #777; font: 12px Arial; text-align: center; }
.old__img b { display: block; width: 18px; height: 18px; margin: 0 auto 6px; border: 1px solid #999; background: linear-gradient(135deg, transparent 45%, #c00 45% 55%, transparent 55%), #fff; }
.old__wip { background: repeating-linear-gradient(-45deg, #ffcc00 0 14px, #111 14px 28px); padding: 4px; }
.old__wip span { display: block; background: #ffcc00; text-align: center; font: 700 14px Arial; padding: 6px; }
.old__foot { border-top: 1px solid #9b967c; padding: 8px; text-align: center; font: 11px Arial; color: #555; background: #efecd9; }


.screen > .old { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); }
