/* =====================================================================
   WLBC-Erklärebene über den Beispiel-Websites
   Leiste oben, Info-Punkte, Paket-Panel, Paket-Übersicht am Ende.
   Eigene Marke (Geist, Instrument Serif, Kupfer), getrennt vom Kundendesign.
   ===================================================================== */
:root {
  --demo-h: 52px;
  --w-ink: #15171b;
  --w-ink-2: #1f2228;
  --w-cu: #c2703a;
  --w-cu-2: #d98a52;
  --w-line: rgba(255,255,255,0.1);
  --w-mute: #9a9ea6;
  --w-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --w-serif: 'Instrument Serif', Georgia, serif;
}

/* ---------- Leiste ---------- */
.dbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150; height: var(--demo-h);
  display: flex; align-items: center; gap: 1rem; padding: 0 0.75rem 0 1rem;
  background: var(--w-ink); color: #fff; font-family: var(--w-sans); font-size: 0.82rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.dbar a, .dbar button { font-family: var(--w-sans); }
.dbar__brand { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.dbar__brand img { height: 22px; width: auto; }
.dbar__live { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0.6rem; border-radius: 999px; background: rgba(194,112,58,0.16); color: var(--w-cu-2); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dbar__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--w-cu-2); animation: dpulse 1.8s ease-in-out infinite; }
@keyframes dpulse { 50% { opacity: 0.3; } }
.dbar__tiers { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); margin: 0 auto; }
.dbar__tiers a { display: flex; align-items: baseline; gap: 0.45rem; padding: 0.42rem 0.95rem; border-radius: 999px; color: #c9ccd2; font-weight: 500; transition: background 0.25s, color 0.25s; white-space: nowrap; }
.dbar__tiers a small { font-size: 0.7rem; color: var(--w-mute); font-family: 'Geist Mono', monospace; }
.dbar__tiers a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dbar__tiers a.is-active { background: #fff; color: var(--w-ink); }
.dbar__tiers a.is-active small { color: var(--w-cu); }
.dbar__right { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.dbar__switch { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.7rem; border-radius: 999px; color: #c9ccd2; cursor: pointer; transition: background 0.25s; }
.dbar__switch:hover { background: rgba(255,255,255,0.06); color: #fff; }
.dbar__switch i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(255,255,255,0.18); transition: background 0.25s; }
.dbar__switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.dbar__switch[aria-checked='true'] i { background: var(--w-cu); }
.dbar__switch[aria-checked='true'] i::after { transform: translateX(12px); }
.dbar__btn { display: inline-flex; align-items: center; gap: 0.5rem; height: 34px; padding: 0 0.95rem; border-radius: 999px; font-weight: 500; color: #fff; border: 1px solid rgba(255,255,255,0.18); transition: background 0.25s, border-color 0.25s; white-space: nowrap; }
.dbar__btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); }
.dbar__btn--cu { background: var(--w-cu); border-color: var(--w-cu); }
.dbar__btn--cu:hover { background: var(--w-cu-2); border-color: var(--w-cu-2); }
.dbar__btn b { font-weight: 600; }
.dbar__btn .s { display: none; }

/* ---------- Info-Punkte ---------- */
.dnote-host { position: relative; }
.dnote {
  position: absolute; z-index: 40; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--w-cu); color: #fff;
  font-family: var(--w-sans); font-size: 0.78rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(194,112,58,0.22), 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s, box-shadow 0.35s;
}
.dnote::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--w-cu); animation: dring 2.4s cubic-bezier(0.22,1,0.36,1) infinite; pointer-events: none; }
@keyframes dring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
.dnote:hover, .dnote.is-open { transform: scale(1.14); box-shadow: 0 0 0 6px rgba(194,112,58,0.3), 0 8px 22px rgba(0,0,0,0.3); }
.dnote.is-open::before { animation: none; opacity: 0; }
.dnote[data-pos='tl'] { top: 14px; left: 14px; }
.dnote[data-pos='tr'] { top: 14px; right: 14px; }
.dnote[data-pos='bl'] { bottom: 14px; left: 14px; }
.dnote[data-pos='br'] { bottom: 14px; right: 14px; }
.dnote[data-pos='out-l'] { top: 0.2rem; left: -44px; }
html.dnotes-off .dnote { opacity: 0; transform: scale(0.4); pointer-events: none; }
html.dnotes-off .dpop { display: none; }

.dpop {
  position: fixed; z-index: 160; width: min(340px, calc(100vw - 24px)); padding: 1.15rem 1.2rem 1.1rem;
  background: var(--w-ink); color: #e7e9ec; border-radius: 14px; font-family: var(--w-sans); font-size: 0.86rem; line-height: 1.55;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0; transform: translateY(6px) scale(0.98); pointer-events: none; transition: opacity 0.25s, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.dpop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.dpop__tag { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.08); color: #c9ccd2; }
.dpop__tag[data-t='projekt'] { background: rgba(120,160,210,0.16); color: #a9c4e6; }
.dpop__tag[data-t='premium'] { background: rgba(194,112,58,0.2); color: var(--w-cu-2); }
.dpop__tag[data-t='option'] { background: rgba(255,255,255,0.04); color: #c9ccd2; border: 1px dashed rgba(255,255,255,0.25); }
.dpop__title { display: block; margin: 0.55rem 0 0.35rem; font-family: var(--w-serif); font-size: 1.45rem; font-weight: 400; line-height: 1.1; color: #fff; }
.dpop__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--w-line); color: var(--w-mute); font-size: 0.75rem; }
.dpop__nav button { color: #fff; padding: 0.3rem 0.55rem; border-radius: 6px; font-family: var(--w-sans); font-size: 0.78rem; }
.dpop__nav button:hover { background: rgba(255,255,255,0.08); }
.dpop__x { position: absolute; top: 0.6rem; right: 0.6rem; width: 28px; height: 28px; border-radius: 50%; color: var(--w-mute); display: grid; place-items: center; }
.dpop__x:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ---------- Paket-Panel ---------- */
.dpanel-bg { position: fixed; inset: 0; z-index: 170; background: rgba(10,11,13,0.45); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; backdrop-filter: blur(2px); }
.dpanel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 171; width: min(460px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: #f6f7f8; color: var(--w-ink); font-family: var(--w-sans); font-size: 0.9rem; line-height: 1.55;
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.dpanel-open .dpanel { transform: none; }
.dpanel-open .dpanel-bg { opacity: 1; visibility: visible; }
.dpanel__head { position: relative; padding: 1.6rem 1.6rem 1.5rem; background: var(--w-ink); color: #fff; }
.dpanel__head small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-cu-2); font-weight: 600; }
.dpanel__head h2 { font-family: var(--w-serif); font-weight: 400; font-size: 2.3rem; line-height: 1.05; margin: 0.5rem 0 0.8rem; }
.dpanel__price { display: flex; align-items: baseline; gap: 0.6rem; }
.dpanel__price b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.dpanel__price span { color: var(--w-mute); font-size: 0.8rem; }
.dpanel__x { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; }
.dpanel__x:hover { background: rgba(255,255,255,0.1); }
.dpanel__meta { display: grid; gap: 0.5rem; margin-top: 1.2rem; font-size: 0.82rem; color: #c9ccd2; }
.dpanel__meta div { display: flex; gap: 0.6rem; }
.dpanel__meta i { font-style: normal; color: var(--w-cu-2); }
.dpanel__body { padding: 1.4rem 1.6rem 2rem; display: grid; gap: 1.6rem; }
.dpanel h3 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7079; font-weight: 600; margin-bottom: 0.7rem; }
.dlist li { display: flex; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid #e3e6e9; }
.dlist li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--w-cu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dlist--opt li::before { background: transparent; border: 1.5px dashed #a5aab2; }
.dlist--notes li { cursor: pointer; }
.dlist--notes li::before { display: none; }
.dlist--notes li b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--w-cu); color: #fff; font-size: 0.7rem; display: grid; place-items: center; }
.dlist--notes li:hover span { color: var(--w-cu); }
.dup { padding: 1.1rem 1.2rem; border-radius: 12px; background: #fff; border: 1px solid #e3e6e9; }
.dup p { color: #4b5058; font-size: 0.86rem; }
.dup a { display: inline-flex; margin-top: 0.7rem; font-weight: 600; color: var(--w-cu); }
.dshot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #e3e6e9; margin-top: 0.4rem; }
.dshot img { width: 100%; height: auto; }
.dpanel__cta { display: grid; gap: 0.6rem; }
.dcta { display: flex; justify-content: center; align-items: center; gap: 0.5rem; height: 48px; border-radius: 999px; font-weight: 600; background: var(--w-ink); color: #fff; transition: background 0.25s; }
.dcta:hover { background: var(--w-cu); }
.dcta--line { background: transparent; color: var(--w-ink); border: 1px solid #cfd3d8; }
.dcta--line:hover { background: #fff; }

/* ---------- Willkommens-Hinweis ---------- */
.dtoast {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 140; width: min(390px, calc(100vw - 2rem));
  padding: 1.15rem 1.2rem; border-radius: 16px; background: var(--w-ink); color: #dfe2e6; font-family: var(--w-sans); font-size: 0.86rem; line-height: 1.55;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5); transform: translateY(calc(100% + 2rem)); transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.dtoast.is-in { transform: none; }
.dtoast b { color: #fff; font-weight: 600; }
.dtoast .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--w-cu); box-shadow: 0 0 0 3px rgba(194,112,58,0.3); vertical-align: -1px; margin: 0 0.15rem; }
.dtoast__row { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.dtoast__row button { height: 34px; padding: 0 0.9rem; border-radius: 999px; font-family: var(--w-sans); font-size: 0.8rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.dtoast__row button:first-child { background: var(--w-cu); border-color: var(--w-cu); }

/* ---------- Paket-Übersicht am Seitenende ---------- */
.dsum { background: var(--w-ink); color: #fff; font-family: var(--w-sans); padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; overflow: hidden; }
.dsum::before { content: ''; position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(194,112,58,0.22), transparent); pointer-events: none; }
.dsum__in { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.dsum__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w-cu-2); }
.dsum__eyebrow img { height: 18px; }
.dsum h2 { font-family: var(--w-serif); font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -0.01em; margin: 1.2rem 0 1rem; max-width: 16em; }
.dsum h2 em { color: var(--w-cu-2); }
.dsum__lead { color: #b3b7be; font-size: 1.05rem; max-width: 40em; }
.dsum__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.dtier { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: 18px; background: var(--w-ink-2); border: 1px solid var(--w-line); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.4s; }
.dtier:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); }
.dtier.is-current { background: #fff; color: var(--w-ink); border-color: #fff; }
.dtier__here { position: absolute; top: -11px; left: 1.6rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--w-cu); color: #fff; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dtier small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-mute); font-weight: 600; }
.dtier h3 { font-family: var(--w-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: 0.4rem 0 0.2rem; }
.dtier__price { font-size: 1.15rem; font-weight: 600; color: var(--w-cu-2); }
.dtier.is-current .dtier__price { color: var(--w-cu); }
.dtier ul { margin: 1.2rem 0 1.4rem; display: grid; gap: 0.45rem; font-size: 0.86rem; color: #b3b7be; }
.dtier.is-current ul { color: #4b5058; }
.dtier li { display: flex; gap: 0.55rem; }
.dtier li::before { content: '—'; color: var(--w-cu-2); flex: none; }
.dtier a { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.88rem; }
.dtier.is-current a { color: var(--w-cu); }
.dsum__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.8rem; }
.dsum__cta a { display: inline-flex; align-items: center; gap: 0.5rem; height: 52px; padding: 0 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: background 0.3s, color 0.3s; }
.dsum__cta a:first-child { background: var(--w-cu); color: #fff; }
.dsum__cta a:first-child:hover { background: var(--w-cu-2); }
.dsum__cta a:last-child { border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.dsum__cta a:last-child:hover { background: rgba(255,255,255,0.08); }
.dsum__fine { margin-top: 2rem; font-size: 0.78rem; color: var(--w-mute); max-width: 60em; }

@media (max-width: 1100px) {
  .dbar__switch span, .dbar__live { display: none; }
}
@media (max-width: 860px) {
  .dbar { gap: 0.5rem; padding: 0 0.5rem 0 0.75rem; }
  .dbar__tiers a small, .dbar__btn--cu, .dbar__switch { display: none; }
  .dbar__tiers a { padding: 0.42rem 0.7rem; }
  .dbar__brand img { height: 18px; }
  .dbar__btn { padding: 0 0.75rem; }
  .dsum__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dbar__brand img { display: none; }
  .dbar__brand::before { content: 'WLBC'; font-weight: 700; letter-spacing: 0.04em; font-size: 0.8rem; }
  .dbar__tiers { margin: 0; }
  .dbar__right { margin-left: auto; }
  .dbar__btn .l { display: none; }
  .dbar__btn .s { display: inline; }
}
@media print { .dbar, .dnote, .dpop, .dtoast, .dpanel, .dpanel-bg, .dsum { display: none !important; } }
@media (max-width: 1180px) { .dnote[data-pos='out-l'] { left: auto; right: 0; top: -2.6rem; } }
/* Punkte im Vollbild-Hero unter die Navigation setzen */
.hero > .dnote[data-pos='tr'] { top: calc(var(--demo-h) + var(--nav-h) + 1.2rem); right: var(--pad); }
