/* FestMoment – Website, Kundenbereich, Admin */
:root {
  --violet: #7c3aed; --violet-d: #5b21b6; --pink: #ec4899; --amber: #f59e0b; --teal: #14b8a6;
  --ink: #1d1530; --ink-2: #4b4462; --muted: #7a7191; --line: #ebe6f5; --bg: #faf8ff; --card: #ffffff;
  --ok: #16a34a; --warn: #d97706; --err: #dc2626;
  --grad: linear-gradient(120deg, #7c3aed 0%, #c026d3 50%, #ec4899 100%);
  --radius: 18px; --shadow: 0 10px 40px -12px rgba(76, 29, 149, .18); --shadow-s: 0 2px 10px rgba(76, 29, 149, .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.mt { margin-top: 24px; } .mt2 { margin-top: 48px; } .mb { margin-bottom: 24px; }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .97rem var(--font); text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(192, 38, 211, .6); }
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(192, 38, 211, .75); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-danger { background: #fee2e2; color: var(--err); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.8) blur(14px); background: rgba(250, 248, 255, .78); border-bottom: 1px solid rgba(235, 230, 245, .7); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none !important; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px -6px rgba(192, 38, 211, .7); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--violet); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav { position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column; padding: 24px; gap: 18px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .25s; }
  .nav.open { transform: none; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: #120a24; color: #fff; padding: 90px 0 110px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero::before { width: 620px; height: 620px; background: #7c3aed; top: -240px; left: -160px; animation: float 14s ease-in-out infinite; }
.hero::after { width: 560px; height: 560px; background: #ec4899; bottom: -260px; right: -120px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(60px, 40px) scale(1.08); } }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: #d9d1ee; max-width: 560px; }
.hero .pill { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.hero .trust { display: flex; gap: 22px; margin-top: 28px; color: #bfb4dc; font-size: .9rem; flex-wrap: wrap; }
.hero .trust b { color: #fff; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 60px 0 80px; } }

/* Telefon-Mockup */
.phone { width: 290px; height: 590px; margin: 0 auto; border-radius: 46px; background: #0b0614; border: 10px solid #231a36; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset; position: relative; overflow: hidden; transform: rotate(-4deg); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #000; border-radius: 20px; z-index: 3; }
.phone canvas { width: 100%; height: 100%; object-fit: cover; }
.phone .ui { position: absolute; inset: auto 0 0 0; padding: 18px; display: flex; justify-content: space-around; align-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.phone .shutter { width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; background: rgba(255, 255, 255, .25); }
.phone .chip { font-size: .7rem; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.floating-card { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; display: flex; gap: 10px; align-items: center; animation: bob 5s ease-in-out infinite; z-index: 2; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Sections */
section.block { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.card.hover { transition: transform .2s, box-shadow .2s; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; background: linear-gradient(135deg, #f3e8ff, #fce7f3); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.occasions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.occasions span { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow-s); }
.band { background: linear-gradient(180deg, #fff, #f6f1ff); }
.dark-band { background: #120a24; color: #fff; }
.dark-band .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.dark-band .muted { color: #b9aed6; }

/* Pricing */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 30px 26px; border: 1.5px solid var(--line); box-shadow: var(--shadow-s); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); transform: scale(1.03); }
.price-card .badge-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.feat { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.feat li { padding: 6px 0 6px 28px; position: relative; font-size: .94rem; }
.feat li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: #ede9fe; color: var(--violet); font-size: .7rem; font-weight: 900; display: grid; place-items: center; }

/* Reviews */
.stars { color: #f59e0b; letter-spacing: 2px; }
.review { display: flex; flex-direction: column; gap: 10px; }
.review .who { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--violet); line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA */
.cta { border-radius: 28px; background: var(--grad); color: #fff; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .25), transparent 40%); }
.cta > * { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: #0e0819; color: #a79dc4; padding: 60px 0 30px; margin-top: 0; font-size: .92rem; }
.site-footer a { color: #d5cdea; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 8px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* Forms */
.form-card { max-width: 460px; margin: 60px auto; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink-2); }
.field { margin-bottom: 16px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 500 1rem var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; accent-color: var(--violet); width: 18px; height: 18px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { display: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: .88rem; font-weight: 600; }
.chips input:checked + span { background: #f3e8ff; border-color: var(--violet); color: var(--violet-d); }
.chips input:disabled + span { opacity: .45; cursor: not-allowed; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; font-size: .95rem; }
.alert-success { background: #dcfce7; color: #14532d; } .alert-error { background: #fee2e2; color: #7f1d1d; } .alert-info { background: #ede9fe; color: #4c1d95; }
/* Modal (ersetzt alle Browser-Popups) */
.fm-modal { border: 0; padding: 0; border-radius: 22px; width: min(440px, calc(100% - 32px)); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(30, 10, 60, .45); animation: fmpop .22s ease-out; }
.fm-modal::backdrop { background: rgba(18, 10, 36, .55); backdrop-filter: blur(4px); }
.fm-modal-box { padding: 30px 28px 24px; text-align: center; }
.fm-modal-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 900; background: #ede9fe; color: var(--violet); }
.fm-success .fm-modal-icon { background: #dcfce7; color: #16a34a; }
.fm-error .fm-modal-icon, .fm-danger .fm-modal-icon { background: #fee2e2; color: #dc2626; }
.fm-modal h3 { margin: 0 0 8px; font-size: 1.25rem; }
.fm-modal-text { margin: 0 0 22px; color: var(--ink-2); white-space: pre-line; }
.fm-modal-actions { display: flex; gap: 10px; justify-content: center; }
.fm-modal-actions .fm-btn { flex: 1; max-width: 200px; }
.fm-btn { border: 0; border-radius: 999px; padding: 12px 20px; font: 700 .95rem var(--font); cursor: pointer; }
.fm-btn-primary { background: var(--grad); color: #fff; }
.fm-btn-danger { background: var(--err); color: #fff; }
.fm-btn-ghost { background: #f1edf9; color: var(--ink); }
@keyframes fmpop { from { transform: translateY(12px) scale(.96); opacity: 0; } }
.hp { position: absolute; left: -9999px; }

/* App-Layout (Kunde & Admin) */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: #120a24; color: #cfc6e6; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .logo { color: #fff; margin: 0 8px 30px; }
.sidebar nav a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; color: #cfc6e6; font-weight: 600; font-size: .94rem; margin-bottom: 3px; }
.sidebar nav a:hover { background: rgba(255, 255, 255, .06); text-decoration: none; color: #fff; }
.sidebar nav a.active { background: linear-gradient(120deg, rgba(124, 58, 237, .5), rgba(236, 72, 153, .35)); color: #fff; }
.sidebar .nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #7f74a0; margin: 18px 14px 8px; }
.sidebar .bottom { margin-top: auto; }
.badge-dot { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; background: #ef4444; color: #fff; font-size: .75rem; font-weight: 800; border-radius: 99px; box-shadow: 0 0 0 3px rgba(239, 68, 68, .25); }
.badge-dot[hidden] { display: none; }
.main { padding: 32px clamp(16px, 3vw, 44px); min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 1.9rem; margin: 0; }
.app-topbar { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
  .sidebar.open { transform: none; }
  .app-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #120a24; color: #fff; position: sticky; top: 0; z-index: 55; }
  .app-topbar .logo { color: #fff; }
  .app-topbar button { background: none; border: 0; color: #fff; font-size: 1.6rem; }
}
.stat { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.stat .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .85rem; font-weight: 600; }
.bar { height: 8px; background: #efeaf8; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
table.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: .92rem; }
.table th { text-align: left; background: #f8f5ff; padding: 12px 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: #f1f5f9; color: #334155; }
.tag.ok { background: #dcfce7; color: #166534; } .tag.warn { background: #fef3c7; color: #92400e; } .tag.err { background: #fee2e2; color: #991b1b; } .tag.violet { background: #ede9fe; color: #5b21b6; }
.event-card { display: flex; flex-direction: column; gap: 12px; }
.event-card .cover { height: 120px; border-radius: 14px; background: var(--grad); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; color: #fff; font-weight: 800; font-size: 1.2rem; }
.tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs a.active, .tabs a:hover { color: var(--violet); border-color: var(--violet); text-decoration: none; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.media-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eee; }
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item .sel { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; accent-color: var(--violet); z-index: 2; }
.media-item .meta { position: absolute; inset: auto 0 0 0; padding: 6px 8px; font-size: .72rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.media-item .vid { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 99px; }
.media-item.hiddenm { opacity: .45; }
.gb-entry { border-left: 4px solid var(--violet); padding: 12px 16px; background: #fff; border-radius: 0 12px 12px 0; margin-bottom: 10px; }
.code-box { font-family: ui-monospace, Consolas, monospace; background: #120a24; color: #e9d5ff; padding: 14px 16px; border-radius: 12px; word-break: break-all; font-size: .9rem; }
.thread-msg { max-width: 75%; padding: 14px 18px; border-radius: 18px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); }
.thread-msg.me { margin-left: auto; background: #f3e8ff; border-color: #e9d5ff; }
.sec-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sec-item:last-child { border: 0; }
.sec-item .ic { width: 40px; height: 40px; border-radius: 12px; background: #dcfce7; color: #166534; display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.sec-item .ic.off { background: #fef3c7; color: #92400e; }
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; max-height: 520px; overflow-y: auto; padding: 4px; }
.template-grid button { border: 2px solid transparent; border-radius: 12px; padding: 0; background: #fff; cursor: pointer; overflow: hidden; box-shadow: var(--shadow-s); }
.template-grid button.active { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .2); }
.template-grid canvas { width: 100%; display: block; }
.template-grid small { display: block; padding: 6px; font-size: .72rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.editor .preview { position: sticky; top: 20px; background: #1b1330; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.editor .preview canvas { max-width: 100%; max-height: 70vh; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } .editor .preview { position: static; } }
.color-row { display: flex; gap: 10px; align-items: center; }
.color-row input[type=color] { width: 44px; height: 40px; border: 0; padding: 0; background: none; cursor: pointer; }
.seg { display: inline-flex; background: #f1edf9; border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font: 600 .85rem var(--font); cursor: pointer; color: var(--ink-2); }
.seg button.active { background: #fff; color: var(--violet); box-shadow: var(--shadow-s); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.promo-bar { background: var(--grad); color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; font-size: .95rem; }
.promo-bar a { color: #fff; text-decoration: underline; margin-left: 8px; white-space: nowrap; }
.media-item .hl-star { position: absolute; top: 6px; right: 8px; font-size: 1.1rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.media-item .edit-btn { position: absolute; bottom: 30px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; text-decoration: none; font-size: .9rem; opacity: 0; transition: opacity .2s; }
.media-item:hover .edit-btn, .media-item:focus-within .edit-btn { opacity: 1; }
@media (hover: none) { .media-item .edit-btn { opacity: 1; } }
.media-item .vid + .hl-star { right: 70px; }
/* Foto-Editor */
.pe-wrap { position: relative; width: 100%; display: flex; justify-content: center; user-select: none; }
.pe-wrap canvas { max-width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.pe-crop { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); cursor: move; touch-action: none; }
.pe-crop::before, .pe-crop::after { content: ""; position: absolute; inset: 33.3% 0; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.pe-crop::after { inset: 0 33.3%; border: 0; border-left: 1px solid rgba(255,255,255,.4); border-right: 1px solid rgba(255,255,255,.4); }
.pe-crop i { position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.pe-crop i[data-h=nw] { left: -11px; top: -11px; cursor: nwse-resize; } .pe-crop i[data-h=ne] { right: -11px; top: -11px; cursor: nesw-resize; }
.pe-crop i[data-h=sw] { left: -11px; bottom: -11px; cursor: nesw-resize; } .pe-crop i[data-h=se] { right: -11px; bottom: -11px; cursor: nwse-resize; }
/* Studio */
.studio-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.studio-pick button { position: relative; aspect-ratio: 1; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: #eee; }
.studio-pick button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-pick button.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.25); }
.studio-pick button b { position: absolute; top: 5px; left: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--violet); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.studio-pick button .st { position: absolute; top: 4px; right: 6px; font-style: normal; }
.book-prev { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; width: 100%; max-height: 72vh; overflow-y: auto; }
.book-prev figure { margin: 0; text-align: center; color: #cfc6e6; font-size: .8rem; }
.book-prev canvas { width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.5); border-radius: 2px; }
/* Schnitzeljagd */
.ch-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ch-row input[type=text] { flex: 1; }
.ch-row .ch-emoji { flex: 0 0 58px; text-align: center; font-size: 1.2rem; padding: 10px 4px; }
.ch-row .ch-sort { width: 64px; flex: none; }
.ch-lib { max-height: 70vh; overflow-y: auto; }
.ch-lib details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.ch-lib summary { cursor: pointer; }
.ch-lib .check { margin: 8px 0 0 4px; font-weight: 500; }
/* Galerie im Kundenbereich: Hinweis, Auswahl-Leiste, Stern & Auge */
.album-hint { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: linear-gradient(120deg, #fef3c7, #fce7f3); font-size: .92rem; }
.sel-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 14px; background: #f3e8ff; position: sticky; top: 8px; z-index: 5; box-shadow: var(--shadow-s); }
.media-item .tile-btn { position: absolute; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.media-item .tile-btn.star { top: 6px; right: 6px; color: #b45309; }
.media-item .tile-btn.star:not(.on) { opacity: .85; }
.media-item .tile-btn.eye { top: 6px; right: 46px; }
.media-item .tile-btn.eye.off { background: #fde68a; }
.media-item .tile-btn:hover { transform: scale(1.1); }
.media-item .vid { top: auto; bottom: 30px; right: 8px; }
.gb-entry.gb-hidden { opacity: .6; border-left-color: #f59e0b; }
.sel-bar[hidden] { display: none; }
.del-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; align-items: end; }
@media (max-width: 760px) { .del-grid { grid-template-columns: 1fr; } }
/* Logo: Symbol + Schriftzug */
img.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: none; box-shadow: 0 6px 16px -6px rgba(91, 33, 182, .55); flex: none; }
.wm { font-weight: 800; letter-spacing: -.02em; }
.wm-tld { color: #ea580c; }
/* Support-Modus */
.support-bar { position: sticky; top: 0; z-index: 70; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 16px; background: #f59e0b; color: #1d1530; font-size: .92rem; text-align: center; }
.support-bar .btn { background: #1d1530; color: #fff; }
/* Reiter der Feier-Seite */
.ev-tabs { position: sticky; top: 0; z-index: 6; background: var(--bg); padding-top: 6px; }
.ev-tabs a { cursor: pointer; }
.media-filter { margin: 0 0 18px; }
.media-filter b { font-weight: 700; opacity: .6; margin-left: 2px; }
.tab-panel > h2:first-child { margin-top: 4px; }
.media-item[hidden], .media-filter[hidden] { display: none; }
@media (max-width: 900px) { .ev-tabs { top: 58px; } }
.cover-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cover-prev { width: 150px; aspect-ratio: 3 / 4; border-radius: 14px; background: linear-gradient(160deg, #5b21b6, #1d1530) center / cover; display: grid; place-items: center; color: #e9d5ff; font-size: .8rem; text-align: center; font-weight: 600; flex: none; box-shadow: var(--shadow-s); }
/* Vorlagen: Karten mit Beispielbildern */
.tpl-card { margin: 0; flex: none; width: 170px; background: #fff; border-radius: 16px; padding: 8px 8px 10px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.tpl-card canvas { width: 100%; display: block; border-radius: 8px; aspect-ratio: 2 / 3; background: #f1edf9; }
.tpl-card figcaption { padding: 8px 2px 0; font-size: .8rem; line-height: 1.3; }
.tpl-card figcaption b { display: block; } .tpl-card figcaption span { color: var(--muted); }
/* Startseite: Laufband von rechts nach links */
.tpl-marquee { overflow: hidden; padding: 10px 0 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tpl-track { display: flex; gap: 18px; width: max-content; }
.tpl-marquee.run .tpl-track { animation: tpl-scroll 70s linear infinite; }
.tpl-marquee:hover .tpl-track { animation-play-state: paused; }
@keyframes tpl-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.tpl-marquee.paused .tpl-track { animation-play-state: paused; }
/* „Animationen reduzieren“ (Windows/iOS): Laufband läuft trotzdem, nur gemächlicher – anhalten per Maus oder Antippen */
@media (prefers-reduced-motion: reduce) { .tpl-marquee.run .tpl-track { animation-duration: 150s; } }
/* Vorlagen-Seite: Reihen zum Wischen */
.tpl-row { margin-bottom: 26px; }
.tpl-row h3 { margin: 0 0 10px; }
.tpl-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tpl-strip .tpl-card { scroll-snap-align: start; }
/* [hidden] muss gegen display-Regeln gewinnen (z. B. .tag, .chips) */
[hidden] { display: none !important; }
/* Kein automatisches Nachscrollen des Browsers beim Inhaltswechsel */
.tab-panel { overflow-anchor: none; }
#preview { touch-action: none; }
/* Speichern unter der Vorschau */
.preview-save { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.preview-save .btn { width: min(320px, 100%); }
.preview .save-state { color: #b9aed6; }
.save-state[data-state="dirty"] { color: #d97706; font-weight: 600; }
.preview .save-state[data-state="dirty"] { color: #fbbf24; }
.save-state[data-state="ok"] { color: #16a34a; font-weight: 600; }
.preview .save-state[data-state="ok"] { color: #4ade80; }
.save-state[data-state="err"] { color: #dc2626; font-weight: 600; }
/* Fotoarten-Auswahl im Editor */
.lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.lt-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; margin: 0; background: #fff; transition: border-color .15s, background .15s; }
.lt-item input { position: absolute; opacity: 0; pointer-events: none; }
.lt-ic { font-size: 1.5rem; }
.lt-t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.lt-t small { color: var(--muted); font-weight: 500; }
.lt-sw { width: 42px; height: 24px; border-radius: 99px; background: #e5e7eb; position: relative; flex: none; transition: background .15s; }
.lt-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .15s; }
.lt-item:has(input:checked) { border-color: var(--violet); background: #faf5ff; }
.lt-item:has(input:checked) .lt-sw { background: var(--violet); }
.lt-item:has(input:checked) .lt-sw::after { left: 21px; }
.lt-item.locked { opacity: .55; cursor: not-allowed; background: #f8f7fb; }
.lt-item:has(input:focus-visible) { outline: 3px solid rgba(124, 58, 237, .35); }
/* Startseite: Eyecatcher mit Zahlen */
.stats-band { background: linear-gradient(120deg, #5b21b6, #7c3aed 45%, #db2777); color: #fff; padding: 34px 0 26px; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 35%), radial-gradient(circle at 85% 80%, rgba(253,224,71,.18), transparent 35%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 18px; text-align: center; }
.stat-big { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-big .ic { font-size: 1.8rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.stat-big b { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-big span:last-child { font-weight: 600; opacity: .9; }
.stats-note { position: relative; text-align: center; margin: 16px 0 0; opacity: .85; font-size: .92rem; }
/* Startseite: „Kennst du das?“ – Problem → Lösung */
section.block.pain { padding: 70px 0 60px; }
.pain-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.pain-card { border-radius: 22px; padding: 28px 28px 30px; border: 1px solid var(--line); }
.pain-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pain-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.pain-card li { position: relative; padding: 8px 0 8px 32px; line-height: 1.45; }
.pain-card li::before { position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 900; }
.pain-card.bad { background: #fff; }
.pain-card.bad li { color: var(--ink-2); }
.pain-card.bad li::before { content: "✕"; background: #fee2e2; color: #dc2626; }
.pain-card.good { background: linear-gradient(160deg, #faf5ff, #fdf2f8); border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 2px #c4b5fd, var(--shadow); }
.pain-card.good li::before { content: "✓"; background: #dcfce7; color: #16a34a; }
.pain-arrow { align-self: center; font-size: 2.4rem; color: var(--violet); }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } .pain-arrow { transform: rotate(90deg); justify-self: center; } }
/* Schnitzeljagd: Abstand unter der Kopfzeile, schmales Symbol-Feld, breiter Aufgabentext */
form .ch-row:first-of-type { margin-top: 0; }
.card > .spread:first-child + .sel-bar, .card > .spread:first-child { margin-bottom: 16px; }
.ch-row input.ch-emoji { flex: 0 0 52px; width: 52px; text-align: center; font-size: 1.2rem; padding: 10px 2px; }
.ch-row input.ch-sort { flex: 0 0 64px; width: 64px; text-align: center; }
.ch-row input[name$="[text]"] { flex: 1 1 auto; min-width: 0; }
.ch-row .tag { flex: none; white-space: nowrap; }
.ch-row .btn { flex: none; }
.ch-list-head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ch-row { flex-wrap: wrap; }
.ch-row input[name$="[text]"], .ch-row input[name="text"] { flex: 1 1 220px; }
.ch-row textarea.ch-text { flex: 1 1 220px; min-width: 0; min-height: 0; resize: none; overflow: hidden; line-height: 1.4; padding: 10px 14px; }
/* ---------- Startseite: Foto-Schnitzeljagd ---------- */
.hunt-promo { background: linear-gradient(180deg, #fff 0%, #fdf4ff 100%); overflow: hidden; }
.hunt-cards { position: relative; height: 400px; }
.hunt-card { position: absolute; width: 215px; padding: 22px 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(76, 29, 149, .35); display: flex; flex-direction: column; gap: 6px; }
.hunt-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, #7c3aed, #ec4899); }
.hunt-card .hc-emoji { font-size: 2.4rem; line-height: 1; }
.hunt-card b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.hunt-card p { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.hunt-card .hc-qr { align-self: flex-end; width: 34px; height: 34px; margin-top: 6px; border-radius: 4px; opacity: .8;
  background: repeating-conic-gradient(#1e1b2e 0 25%, #fff 0 50%) 0 0 / 8px 8px; }
.hunt-card.c1 { left: 0; top: 50px; transform: rotate(-7deg); }
.hunt-card.c2 { right: 4%; top: 0; transform: rotate(4deg); z-index: 2; }
.hunt-card.c3 { left: 22%; top: 205px; transform: rotate(-2deg); z-index: 3; }
.hunt-card:hover { transform: rotate(0) translateY(-6px); transition: transform .25s; z-index: 4; }
.hunt-card .hc-count { position: absolute; top: -18px; right: -14px; padding: 7px 13px; border-radius: 999px; background: #fff; color: #6d28d9; border: 2px solid #ec4899; font-size: .8rem; font-weight: 800; box-shadow: 0 8px 18px -6px rgba(124, 58, 237, .6); letter-spacing: 0; text-transform: none; }
@media (max-width: 900px) {
  .hunt-cards { height: 360px; margin-top: 24px; }
  .hunt-card { width: 200px; }
  .hunt-card.c2 { right: 0; }
}
@media (max-width: 480px) {
  .hunt-card { width: 180px; padding: 18px 16px 14px; }
  .hunt-card.c1 { left: 0; }
  .hunt-cards { height: 420px; margin-top: 8px; }
  .hunt-card.c1 { top: 56px; }
  .hunt-card.c3 { left: 14%; top: 236px; }
}
/* Einführungspreis-Hinweis auf Preiskarten */
.intro-tag { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; background: #fdf2f8; color: #be185d; font-size: .75rem; font-weight: 800; }

/* ---------- Handy: lange deutsche Wörter umbrechen statt die Seite zu verbreitern ---------- */
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; } /* keine automatische Silbentrennung in Überschriften (sonst „dei-ner“) */
td, th { overflow-wrap: break-word; } /* nur Wörter umbrechen, die allein nicht passen */
.legal table { width: 100%; table-layout: fixed; }
@media (max-width: 600px) {
  .legal table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .legal table th, .legal table td { display: block; width: 100% !important; padding: 0; border: 0; }
  .legal p, .legal li { hyphens: auto; -webkit-hyphens: auto; }
}
/* Editor: Spalten dürfen schmaler werden als ihr Inhalt (sonst seitliches Scrollen am Handy) */
.editor > * { min-width: 0; }
@media (max-width: 600px) { .editor .preview { padding: 14px; border-radius: 16px; } }

/* ---------- Preiskarten: alle Preise auf gleicher Höhe ---------- */
.price-card h3 { min-height: 1.4em; }
.pc-tagline { min-height: 3em; margin-bottom: 4px; }
.pc-tagrow { min-height: 30px; display: flex; align-items: center; }
.pc-tagrow .intro-tag { margin: 0; }
.price-card .price { margin-top: 6px; white-space: nowrap; }
.pc-old { color: var(--muted); font-size: 1.4rem; font-weight: 600; }
.price-card .btn-block { margin-top: auto; }
.pc-request-head { text-align: center; margin: 56px 0 18px; }
.pc-request-head h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pricing-request { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.pc-request { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pc-request .feat { margin: 0; }
.pc-tag-request { background: #ecfeff; color: #0e7490; }
.pc-price-request { font-size: 1.6rem; margin: 6px 0 14px; }
@media (max-width: 640px) { .pc-request { grid-template-columns: 1fr; } .pc-tagline { min-height: 0; } }

/* ---------- Extras: Upsell-Karten, Audio-Gästebuch, Design-Aufträge ---------- */
.upsell-card { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, #faf5ff, #fdf2f8); border-color: #ead8fb; }
.gb-audio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.gb-audio-row audio { height: 40px; width: min(100%, 340px); }
.design-service textarea { width: 100%; }
.design-job { padding: 14px 0; border-top: 1px solid var(--line); }
.design-job:first-of-type { border-top: 0; }
.design-brief { white-space: pre-wrap; background: var(--bg-soft, #f7f4fc); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }

/* ---------- Kontakt & Preisanfrage ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-grid > *, .contact-row > * { min-width: 0; }
.price-fields { min-width: 0; }
.contact-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 0 14px; }
.contact-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-facts li { display: flex; gap: 14px; align-items: flex-start; }
.contact-facts li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #f3e8ff; font-size: 1.2rem; }
.contact-facts b { display: block; }
.contact-facts div { color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
.contact-card { padding: 28px; }
.contact-card select, .contact-card input:not([type=checkbox]), .contact-card textarea { width: 100%; }
.contact-row { gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.price-fields { border: 1.5px dashed #ddd0f5; border-radius: 16px; padding: 14px 16px 2px; margin: 0 0 14px; }
.price-fields legend { font-weight: 800; padding: 0 6px; color: var(--violet); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; padding: 48px 28px; }
.contact-done .big-emoji { font-size: 3.5rem; }
.inquiry-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: .92rem; }
.inquiry-msg { white-space: pre-wrap; background: #f7f4fc; border-radius: 10px; padding: 10px 12px; margin: 10px 0 0; }
.inquiry-done { opacity: .6; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .contact-card { padding: 20px; } }

/* ---------- Buchung: Zusatzleistungen als Auswahl-Karten ---------- */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.addon-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: #fff;
  border: 1.5px solid var(--line); box-shadow: var(--shadow-s); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.addon-card:hover { border-color: #c9b2f3; transform: translateY(-2px); }
.addon-card[hidden] { display: none !important; }
.addon-check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.addon-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: #f3e8ff; }
.addon-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d6cbe9; display: grid; place-items: center; transition: all .15s; }
.addon-name { font-size: 1rem; line-height: 1.3; }
.addon-desc { color: var(--muted); font-size: .86rem; line-height: 1.45; flex: 1; }
.addon-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); min-height: 44px; }
.addon-price { font-size: 1.15rem; }
.addon-qty { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.addon-qty select { width: auto; padding: 5px 8px; border-radius: 8px; }
.addon-card:has(.addon-check:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15), var(--shadow-s); background: linear-gradient(180deg, #faf5ff, #fff 60%); }
.addon-card:has(.addon-check:checked) .addon-tick { background: var(--violet); border-color: var(--violet); }
.addon-card:has(.addon-check:checked) .addon-tick::after { content: "✓"; color: #fff; font-weight: 900; font-size: .85rem; }
.addon-card:has(.addon-check:focus-visible) { outline: 3px solid #c4b5fd; outline-offset: 2px; }/* Summe beim Buchen: am Computer unten mitlaufend, am Handy normal am Ende (würde sonst den halben Bildschirm verdecken) */
.book-total { position: sticky; bottom: 16px; box-shadow: var(--shadow); z-index: 5; }
@media (max-width: 760px) { .book-total { position: static; } }

/* Admin: Storno-Formular in der Bestellliste */
.storno-box { margin-top: 6px; }
.storno-box > summary { list-style: none; display: inline-flex; }
.storno-box > summary::-webkit-details-marker { display: none; }
.storno-box form { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff7f7; display: grid; gap: 8px; min-width: 260px; }

/* Paketvergleich: Werte nie mitten im Wort umbrechen, am Handy kompakter */
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) { white-space: nowrap; text-align: center; }
@media (max-width: 600px) {
  .cmp-table { font-size: .85rem; }
  .cmp-table td, .cmp-table th { padding: 10px 5px; }
  .cmp-table th { font-size: .66rem; letter-spacing: .02em; }
  .cmp-table td:first-child { padding-left: 12px; }
}

/* iPhone/Safari: Datumsfelder sind sonst breiter als die anderen Felder */
input[type="date"], input[type="time"], input[type="datetime-local"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; text-align: left; box-sizing: border-box;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* Rechtstexte: Überschrift passt sich der Breite an (lange Wörter wie „Geschäftsbedingungen“) */
.legal-title { font-size: clamp(1.55rem, 6.4vw, 2.4rem); line-height: 1.15; hyphens: manual; overflow-wrap: normal; }

/* Extras auf der Preisseite: Preise immer unten in einer Linie */
.extra-card { display: flex; flex-direction: column; height: 100%; }
.extra-card h3 { min-height: 2.6em; }
.extra-card > p { flex: 1; margin-bottom: 14px; }
.extra-card .extra-price { margin-top: auto; font-size: 1.6rem; padding-top: 12px; border-top: 1px solid #efe7fb; }
@media (max-width: 560px) { .extra-card h3 { min-height: 0; } }

/* Gesperrte Inhalte über dem Kontingent */
.locked-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(135deg, #fff7ed, #fdf2f8); border: 1px solid #fbcfe8; }
.locked-ic { font-size: 1.8rem; width: 52px; height: 52px; flex: none; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.locked-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.locked-txt span { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .locked-banner { flex-direction: column; align-items: stretch; text-align: center; } .locked-ic { margin: 0 auto; } }
.locked-item a { position: relative; display: block; }
.lock-badge { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 1.7rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.lock-badge small { font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.92); color: #6d28d9; padding: 3px 10px; border-radius: 999px; text-shadow: none; }
.gb-locked { position: relative; margin: 6px 0 0; }
.gb-locked > span { filter: blur(5px); user-select: none; color: var(--muted); }
.gb-locked-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border: 1px solid #e9d5ff; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; white-space: nowrap; }

/* Hinweis vor dem automatischen Löschen */
.expiry-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(135deg, #fef2f2, #fff7ed); border: 1px solid #fecaca; }
.expiry-count { width: 64px; height: 64px; flex: none; border-radius: 16px; background: #dc2626; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.expiry-count b { font-size: 1.7rem; }
.expiry-count span { font-size: .72rem; margin-top: 3px; }
@media (max-width: 640px) { .expiry-banner { flex-direction: column; align-items: stretch; text-align: center; } .expiry-count { margin: 0 auto; } .expiry-banner .row { justify-content: center !important; } }

/* Hero: zweites Handy mit Video-Aufnahme */
.hero-phones { position: relative; width: 100%; max-width: 520px; height: 620px; margin: 0 auto; }
.hero-phones > .phone { position: absolute; top: 0; left: 0; margin: 0; z-index: 1; }
.hero-phones > .phone-video { left: auto; right: 0; top: 64px; width: 240px; height: 490px; border-radius: 40px; border-width: 9px; transform: rotate(6deg); z-index: 0; }
.phone-video::before { width: 74px; height: 20px; }
.phone-video .rec { position: absolute; top: 40px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .45); font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
.phone-video .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: recblink 1s steps(2) infinite; }
@keyframes recblink { 50% { opacity: .2; } }
.phone-video .vid-ui { position: absolute; inset: auto 0 0 0; padding: 16px 12px; display: flex; justify-content: space-around; align-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.phone-video .chip { font-size: .62rem; padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; }
.phone-video .rec-btn { position: relative; width: 56px; height: 56px; display: grid; place-items: center; }
.phone-video .rec-btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.phone-video .rec-btn circle { fill: none; stroke-width: 5; }
.phone-video .rec-btn .trk { stroke: rgba(255, 255, 255, .35); }
.phone-video .rec-btn .prg { stroke: #ef4444; stroke-linecap: round; stroke-dasharray: 195; stroke-dashoffset: 195; }
.phone-video .rec-btn b { width: 20px; height: 20px; border-radius: 5px; background: #ef4444; }
@media (max-width: 900px) { .hero-phones { margin-top: 20px; } }
@media (max-width: 560px) {
  .hero-phones { height: auto; max-width: none; }
  .hero-phones > .phone { position: relative; margin: 0 auto; }
  .hero-phones > .phone-video { display: none; }
}

/* Pfeil „Nach oben“ */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #7c3aed, #db2777); box-shadow: 0 10px 24px -6px rgba(124, 58, 237, .55);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; }
@media (max-width: 560px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

/* Startseite: Beispiele für QR-Aufsteller */
.qr-stands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: end; padding: 20px 0 10px; }
.qr-stand { margin: 0; display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.qr-stand-card { position: relative; width: 100%; max-width: 230px; aspect-ratio: 105 / 148; transform: rotate(var(--tilt)) rotateX(6deg); transform-origin: bottom center; transition: transform .3s; }
.qr-stand:hover .qr-stand-card { transform: rotate(0) rotateX(0) translateY(-6px); }
/* Acrylständer-Fuß + Schatten */
.qr-stand-card::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -14px; height: 18px; border-radius: 4px; background: linear-gradient(#ffffffcc, #d9d2ea); box-shadow: 0 14px 24px -8px rgba(30, 10, 60, .45); z-index: -1; }
.qr-stand-card .card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 9% 8%; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 18px 30px -14px rgba(30, 10, 60, .5); }
.qr-stand-card .qs-hl { margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: inherit; }
.qr-stand-card .qs-title { margin: 0; font-size: 1.45rem; line-height: 1.05; }
.qr-stand-card .t-elegant .qs-title { font-size: 2rem; }
.qr-stand-card .t-modern .qs-title { font-size: 1.8rem; }
.qr-stand-card .sub { font-size: .7rem; opacity: .8; margin: 3px 0 8px; }
.qr-stand-card .qr { width: 46%; aspect-ratio: 1; padding: 5px; border-radius: 6px; background: #fff; }
.qr-stand-card .qr svg { width: 100%; height: 100%; display: block; }
.qr-stand-card ol { margin: 8px 0 0; padding-left: 14px; text-align: left; font-size: .58rem; line-height: 1.45; }
.qr-stand figcaption { margin-top: 26px; font-size: .85rem; font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .qr-stands { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
@media (max-width: 420px) { .qr-stand-card .qs-title { font-size: 1.15rem; } .qr-stand-card .t-elegant .qs-title { font-size: 1.5rem; } .qr-stand-card ol { display: none; } }

/* Admin: nach dem Speichern zur Zeile springen – nicht unter der Kopfzeile verstecken, kurz hervorheben */
.anchor-row { scroll-margin-top: 90px; }
.anchor-row:target, .anchor-row:target td { background: #f5f0ff; transition: background 1.5s; }

/* Fortschrittsbalken (Update-Upload, Installation, Backup) */
.upbar { margin-top: 14px; }
.upbar-track { height: 12px; border-radius: 99px; background: #ede9fe; overflow: hidden; position: relative; }
.upbar-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #ec4899); transition: width .25s; }
.upbar.busy .upbar-track i { width: 35% !important; position: absolute; animation: upbar-run 1.2s ease-in-out infinite; }
@keyframes upbar-run { 0% { left: -35%; } 100% { left: 100%; } }
.upbar-txt { display: block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }

/* ===== Handy-Demo „So einfach geht's für deine Gäste" ===== */
.gd-wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; max-width: 980px; margin: 0 auto; }
.gd-phone { position: relative; width: 280px; height: 572px; border-radius: 44px; background: #0b0614; border: 10px solid #231a36; box-shadow: 0 40px 80px -24px rgba(30, 10, 60, .55); overflow: hidden; cursor: pointer; }
.gd-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; background: #000; border-radius: 20px; z-index: 9; }
.gd-screen { position: absolute; inset: 0; background: #faf7ff; }
.gd-s { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; pointer-events: none; overflow: hidden; }
.gd-s.on { opacity: 1; }
.gd-pause { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: none; place-items: center; font-size: 1.3rem; z-index: 10; }
.gd-phone.paused .gd-pause { display: grid; }
.gd-phone.paused *, .gd-steps.paused .gd-bar { animation-play-state: paused !important; }
.gd-photo { position: absolute; inset: 0; background-image: url(/assets/img/beispiele/love.jpg), linear-gradient(135deg, #f9a8d4, #c084fc); background-size: cover; background-position: center; }
.gd-tap { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; opacity: 0; z-index: 8; }
.gd-type { white-space: pre-wrap; }
.gd-caret { display: inline-block; width: 2px; height: 1em; background: #7c3aed; vertical-align: -2px; margin-left: 1px; animation: gdblink .8s steps(2) infinite; }
@keyframes gdblink { 50% { opacity: 0; } }
.gd-btn { margin-top: 12px; padding: 10px; border-radius: 12px; text-align: center; font-weight: 800; font-size: .82rem; color: #fff; background: linear-gradient(120deg, #7c3aed, #ec4899); }
.gd-head { padding: 44px 16px 10px; font-weight: 800; font-size: .9rem; color: #3b2a5e; background: #fff; border-bottom: 1px solid #eee6fb; }

/* 1 Scannen */
.gd-cam-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, #5b4a72, #1b1426 75%); }
.gd-stand { position: absolute; left: 50%; top: 50%; width: 150px; padding: 14px 10px 12px; transform: translate(-50%, -54%) rotate(-4deg); background: #fbf8f3; border-radius: 6px; text-align: center; box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .6); }
.gd-stand b { display: block; font-family: "Great Vibes", cursive; font-weight: 400; font-size: 1.5rem; color: #a07c3b; line-height: 1; margin-bottom: 6px; }
.gd-stand small { display: block; font-size: .55rem; font-weight: 700; color: #6b5b4b; margin-top: 6px; }
.gd-qr { display: block; width: 86px; height: 86px; margin: 0 auto; background: #fff; padding: 4px; }
.gd-qr svg { width: 100%; height: 100%; display: block; }
.gd-frame { position: absolute; left: 50%; top: 47%; width: 130px; height: 130px; transform: translate(-50%, -50%); }
.gd-frame i { position: absolute; width: 26px; height: 26px; border: 4px solid #facc15; }
.gd-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.gd-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.gd-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.gd-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.gd-scan.run .gd-frame { animation: gdscan 1.4s ease-in-out both; }
@keyframes gdscan { 0% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.gd-notif { position: absolute; left: 12px; right: 12px; top: 40px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .95); font-size: .72rem; line-height: 1.3; color: #1d1530; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transform: translateY(-130%); }
.gd-ni { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #ec4899); }
.gd-scan.run .gd-notif { animation: gdnotif .5s 1.5s cubic-bezier(.2, 1.3, .5, 1) forwards; }
@keyframes gdnotif { to { transform: none; } }
.gd-scan .gd-tap { left: 46%; top: 50px; }
.gd-scan.run .gd-tap { animation: gdtap .7s 2.7s ease-out both; }
@keyframes gdtap { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

/* 2 Willkommen */
.gd-cover { position: absolute; left: 0; right: 0; top: 0; height: 46%; background: url(/assets/img/beispiele/love.jpg) center / cover, linear-gradient(135deg, #fbcfe8, #c4b5fd); }
.gd-wcard { position: absolute; left: 12px; right: 12px; top: 34%; padding: 30px 16px 16px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -12px rgba(60, 20, 110, .35); text-align: center; }
.gd-ring { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 1.4rem; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.gd-wcard h4 { margin: 0; font-size: .9rem; color: #3b2a5e; }
.gd-wcard h4 span { font-family: "Great Vibes", cursive; font-weight: 400; font-size: 1.7rem; color: #a07c3b; }
.gd-wcard p { margin: 4px 0 10px; font-size: .7rem; color: #7a6e91; }
.gd-input { padding: 9px 12px; border-radius: 10px; border: 1.5px solid #e4dcf3; text-align: left; font-size: .8rem; min-height: 36px; color: #1d1530; }
.gd-welcome.run .gd-wcard { animation: gdup .5s ease-out both; }
@keyframes gdup { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.gd-tap2 { left: 50%; bottom: 138px; margin-left: -23px; background: rgba(124, 58, 237, .35); border-color: #7c3aed; }
.gd-welcome.run .gd-tap2 { animation: gdtap .7s 2.6s ease-out both; }

/* 3 Kamera */
.gd-camera { background: #000; }
.gd-live { position: absolute; left: 0; right: 0; top: 0; bottom: 92px; overflow: hidden; }
.gd-camera.run .gd-live .gd-photo { animation: gdlive 4.2s ease-in-out both; }
@keyframes gdlive { from { transform: scale(1.12) translateX(-8px); } to { transform: scale(1.02); } }
.gd-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 10px; text-align: center; background: linear-gradient(transparent, rgba(251, 248, 243, .96) 40%); }
.gd-overlay span { display: block; font-family: "Great Vibes", cursive; font-size: 1.6rem; color: #a07c3b; line-height: 1; }
.gd-overlay small { font-size: .6rem; letter-spacing: .1em; color: #6b5b4b; }
.gd-live::after, .gd-print::after { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(201, 169, 110, .9); pointer-events: none; }
.gd-count { position: absolute; left: 0; right: 0; top: 36%; text-align: center; font-size: 5rem; font-weight: 900; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.gd-count.pop { animation: gdpop .8s ease-out both; }
@keyframes gdpop { from { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; } to { transform: scale(.9); opacity: .2; } }
.gd-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.gd-camera.flash .gd-flash { animation: gdflash .7s ease-out; }
@keyframes gdflash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.gd-shutter { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 62px; height: 62px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.gd-shutter i { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.gd-camera.flash .gd-shutter i { animation: gdpress .3s; }
@keyframes gdpress { 50% { transform: scale(.8); } }

/* 4 Gespeichert */
.gd-saved { background: linear-gradient(160deg, #f5f0ff, #fdf2f8); }
.gd-print { position: absolute; left: 30px; right: 30px; top: 60px; height: 300px; overflow: hidden; border-radius: 4px; background: #fbf8f3; box-shadow: 0 20px 34px -14px rgba(60, 20, 110, .45); }
.gd-saved.run .gd-print { animation: gdland .7s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes gdland { from { transform: scale(1.25) rotate(-6deg); opacity: 0; } to { transform: rotate(-2deg); opacity: 1; } }
.gd-upl { position: absolute; left: 40px; right: 40px; top: 384px; height: 8px; border-radius: 99px; background: #e9defc; overflow: hidden; }
.gd-upl i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #ec4899); }
.gd-saved.run .gd-upl i { animation: gdfill 1.3s .4s ease-out forwards; }
@keyframes gdfill { to { width: 100%; } }
.gd-ok { position: absolute; left: 24px; right: 24px; top: 410px; padding: 11px; border-radius: 14px; background: #10b981; color: #fff; text-align: center; font-weight: 800; font-size: .85rem; opacity: 0; }
.gd-saved.run .gd-ok { animation: gdup .45s 1.8s ease-out both; }

/* 5 Gästebuch */
.gd-entry { margin: 12px 14px 0; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px -6px rgba(60, 20, 110, .25); font-size: .75rem; color: #3b2a5e; }
.gd-entry b { font-size: .78rem; }
.gd-entry p { margin: 4px 0 0; line-height: 1.4; min-height: 1.4em; }
.gd-new { border: 1.5px solid #c4b5fd; }
.gd-send { margin: 12px 14px 0; }
.gd-gb.run .gd-send { animation: gdpress .3s 4s; }

/* 6 Galerie */
.gd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.gd-th { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #ddd6fe center / cover; }
.gd-th-new { outline: 3px solid #ec4899; outline-offset: -3px; }
.gd-gal.run .gd-th-new { animation: gdland .6s .3s cubic-bezier(.2, 1.2, .4, 1) both; }
.gd-th-new::after { content: "Neu"; position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 99px; background: #ec4899; color: #fff; font-size: .6rem; font-weight: 800; }

/* Schritt-Liste */
.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gd-steps button { position: relative; width: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid transparent; border-radius: 16px; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, opacity .25s; opacity: .6; }
.gd-steps button:hover { opacity: .9; }
.gd-steps button.active { opacity: 1; background: #fff; border-color: #e4d7fb; box-shadow: 0 10px 26px -14px rgba(60, 20, 110, .35); }
.gd-steps button.done { opacity: .8; }
.gd-n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: #f3e8ff; }
.gd-steps b { display: block; font-size: 1rem; }
.gd-steps small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.gd-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #7c3aed, #ec4899); }
.gd-steps button.active .gd-bar { animation: gdfill var(--d, 4s) linear forwards; }
@media (max-width: 860px) {
  .gd-wrap { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .gd-steps { width: 100%; max-width: 480px; }
  .gd-steps small { display: none; }
  .gd-steps button.active small { display: block; }
}
@media (max-width: 380px) { .gd-phone { transform: scale(.9); margin: -28px 0; } }
.gd-label { text-align: left; font-size: .66rem; font-weight: 700; color: #7a6e91; margin-bottom: 4px; }
.gd-label small { font-weight: 500; }
.gd-remembered { display: flex; justify-content: space-between; align-items: center; background: #faf7ff; }
.gd-remembered span { font-size: .62rem; font-weight: 800; color: #10b981; }
.gd-btn2 { margin-top: 6px; background: #f3e8ff; color: #5b21b6; }
.gd-welcome.run .gd-remembered span { animation: gdup .4s .9s ease-out both; }

/* Update-Verlauf */
.upd-last { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.upd-table td { vertical-align: top; }
.upd-cur td { background: #faf5ff; }

/* Erinnerungs-Tresor */
.tresor-card { display: flex; gap: 20px; align-items: flex-start; padding: 26px; background: linear-gradient(135deg, #faf5ff, #fdf2f8); border: 1px solid #e9d5ff; }
.tresor-ic { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; background: #fff; box-shadow: 0 6px 16px -6px rgba(60, 20, 110, .3); }
@media (max-width: 600px) { .tresor-card { flex-direction: column; } }
.faq-group { margin: 30px 0 12px; font-size: 1.1rem; }
.faq-group:first-of-type { margin-top: 0; }

/* ===== Website-Chat ===== */
.fc { position: fixed; right: 22px; bottom: 22px; z-index: 60; font-size: .92rem; }
.fc-bubble { display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 99px; cursor: pointer; color: #fff; font: 700 .95rem inherit; font-family: inherit;
  background: linear-gradient(135deg, #7c3aed, #db2777); box-shadow: 0 12px 28px -8px rgba(124, 58, 237, .6); position: relative; }
.fc-bubble:hover { transform: translateY(-2px); }
.fc-b-ic { font-size: 1.25rem; line-height: 1; }
.fc-badge { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; display: none; }
.fc.has-reply .fc-badge { display: block; }
.fc.open .fc-bubble .fc-b-txt { display: none; }
.fc.open .fc-bubble { padding: 12px 14px; }
.fc-panel { position: absolute; right: 0; bottom: 64px; width: 360px; max-height: min(600px, calc(100vh - 110px)); display: none; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -18px rgba(30, 10, 60, .45), 0 0 0 1px rgba(60, 20, 110, .08); }
.fc.open .fc-panel { display: flex; animation: fcin .25s ease-out; }
@keyframes fcin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.fc-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; color: #fff; background: linear-gradient(135deg, #7c3aed, #db2777); }
.fc-head img { border-radius: 10px; background: #fff; padding: 3px; }
.fc-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fc-head small { display: flex; align-items: center; gap: 6px; opacity: .92; font-size: .74rem; }
.fc-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #d4d4d8; }
.fc-dot.on { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .3); }
.fc-close { border: 0; background: rgba(255, 255, 255, .2); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.fc-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.fc-body[hidden] { display: none; }
.fc-hello { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #f5f0ff; color: #3b2a5e; }
.fc-q, .fc-form input, .fc-form textarea, .fc-input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line, #e5dcf3); border-radius: 12px; font: inherit; background: #fff; }
.fc-q:focus, .fc-form input:focus, .fc-form textarea:focus, .fc-input:focus { outline: none; border-color: #a78bfa; }
.fc-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .82rem; color: #3b2a5e; }
.fc-form label small { font-weight: 500; color: var(--muted); }
.fc-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.fc-faq { border: 1px solid #ece4fb; border-radius: 12px; padding: 10px 12px; background: #fff; }
.fc-faq summary { cursor: pointer; font-weight: 700; font-size: .86rem; color: #3b2a5e; }
.fc-faq p { margin: 8px 0 0; color: var(--ink-2, #4b4462); font-size: .85rem; line-height: 1.5; }
.fc-nohit { margin: 0; font-size: .84rem; color: var(--muted); }
.fc-wide { width: 100%; justify-content: center; }
.fc-small { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
.fc-link { border: 0; background: none; color: #7c3aed; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.fc-err { margin: 0; color: #dc2626; font-size: .82rem; min-height: 0; }
.fc-chat { padding: 0; gap: 0; min-height: 0; flex: 1; }
.fc-msgs { flex: 1; min-height: 220px; max-height: 380px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #faf7ff; }
.fc-m { max-width: 82%; padding: 8px 12px; border-radius: 14px; }
.fc-m p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fc-m small { display: block; margin-top: 2px; font-size: .66rem; opacity: .7; text-align: right; }
.fc-m.me { align-self: flex-end; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; border-bottom-right-radius: 4px; }
.fc-m.them { align-self: flex-start; background: #fff; border: 1px solid #ece4fb; border-bottom-left-radius: 4px; }
.fc-note { align-self: center; text-align: center; font-size: .78rem; color: var(--muted); padding: 4px 10px; }
.fc-send { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #f0eaf9; }
.fc-send button { flex: none; width: 42px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #7c3aed, #db2777); cursor: pointer; font-size: 1rem; }
.fc-chat .fc-small { padding: 0 0 10px; }
/* Nach-oben-Pfeil über die Chat-Blase */
.to-top { bottom: 90px; }
@media (max-width: 560px) {
  .fc { right: 12px; bottom: 12px; }
  .fc-bubble .fc-b-txt { display: none; }
  .fc-bubble { padding: 13px; }
  .fc-panel { position: fixed; left: 8px; right: 8px; bottom: 76px; width: auto; max-height: calc(100vh - 96px); }
  .to-top { bottom: 76px; right: 14px; }
}
@media print { .fc { display: none; } }

/* Admin: Chat-Posteingang */
.chat-admin { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.chat-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; max-height: 75vh; overflow-y: auto; }
.chat-li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; color: inherit; text-decoration: none; }
.chat-li:hover { background: #f8f5ff; }
.chat-li.active { background: #f3e8ff; }
.chat-li.unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; margin-right: 6px; vertical-align: 1px; }
.chat-msgs { display: flex; flex-direction: column; gap: 8px; max-height: 55vh; overflow-y: auto; padding: 12px; border-radius: 14px; background: #faf7ff; margin-bottom: 12px; }
.cm { max-width: 75%; align-self: flex-start; padding: 9px 13px; border-radius: 14px; background: #fff; border: 1px solid #ece4fb; }
.cm.me { align-self: flex-end; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; border: 0; }
.cm p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm small { display: block; font-size: .7rem; opacity: .7; margin-top: 3px; }
.chat-reply { display: flex; gap: 10px; align-items: flex-end; }
.chat-reply textarea { flex: 1; }
@media (max-width: 860px) { .chat-admin { grid-template-columns: 1fr; } .chat-list { max-height: 260px; } }

/* Leistungsliste: Zwischenüberschrift wie „Alles aus Basis, plus:“ */
.feat li.feat-head { padding-left: 0; font-weight: 800; color: var(--violet); font-size: .9rem; }
.feat li.feat-head::before { display: none; }

/* QR-Aufsteller: schräge Karten & Ständer dürfen am Handy nicht seitlich überstehen */
#qr-aufsteller { overflow-x: clip; }
@supports not (overflow: clip) { #qr-aufsteller { overflow-x: hidden; } }

/* Sehr schmale Handys (320 px): Karten nicht breiter als der Bildschirm */
.pain-grid > * { min-width: 0; }
@media (max-width: 400px) { .pain-card { padding: 22px 18px 24px; } .card { padding-left: 18px; padding-right: 18px; } }
input, select, textarea { max-width: 100%; }
.field, fieldset { min-width: 0; }
.btn { max-width: 100%; white-space: normal; text-align: center; }

/* Handy: Zahlen-Kacheln zu zweit nebeneinander statt einzeln untereinander */
@media (max-width: 600px) {
  .grid:has(> .stat) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid > .stat { padding: 16px; }
  .grid > .stat .v { font-size: 1.5rem; }
}

.qr-stand-card .qs-title { color: var(--ac); font-family: var(--tf); font-weight: var(--tw); }

/* Footer: installierte Version rechts */
.footer-version { float: right; opacity: .7; }
@media (max-width: 600px) { .footer-version { float: none; display: block; margin-top: 6px; } }
/* Platz für Chat-Blase & Nach-oben-Pfeil, damit sie die letzte Zeile nicht verdecken */
footer.site-footer, body > footer { padding-bottom: 96px; }
