/* Shared navigation, buttons and package cards used by the home and detail pages. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.65em 1.25em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-teal { background: var(--teal); color: var(--on-teal); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { min-height: 42px; padding: 0.5em 1em; font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.top {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: center; padding-inline: 12px; pointer-events: none;
}
.bar {
  pointer-events: auto; display: flex; align-items: center; gap: 4px; max-width: 100%;
  padding: 6px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent), 0 10px 30px -14px color-mix(in srgb, var(--ink) 30%, transparent);
}
.lg { background: rgb(var(--lg-tint) / var(--lg-tint-a)); -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5); }
.lg.lg--refract { background: none; }
.brand {
  padding: 0 12px 0 14px; white-space: nowrap; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "SOFT" 100; font-size: 1.05rem; letter-spacing: -0.01em;
}
.nav { min-width: 0; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a, .bar-cta {
  display: block; padding: 7px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  font-size: 0.875rem; color: var(--muted); transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--hover); }
.nav a[aria-current] { color: var(--ink); background: var(--chip); }
.bar-cta { margin-left: 4px; background: var(--teal); color: var(--on-teal); font-weight: 650; }
.bar-cta:hover { opacity: 0.88; }
.theme { display: flex; gap: 2px; margin-left: 2px; padding-left: 6px; border-left: 1px solid color-mix(in srgb, var(--muted) 25%, transparent); }
.theme button {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.theme button:hover { color: var(--ink); background: var(--hover); }
.theme button[aria-pressed="true"] { color: var(--ink); background: var(--chip); }
.theme svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .top { position: absolute; top: 10px; }
  .nav, .bar-cta { display: none; }
}

.brand-proof-lockup { display: block; width: min(100%, 360px); height: auto; overflow: visible; color: var(--ink); opacity: 0.78; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan, .service-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.plan-name { display: grid; gap: 2px; }
.plan-name p { color: var(--muted); font-size: 0.95rem; }
.price {
  display: flex; align-items: baseline; gap: 0.3em;
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "SOFT" 100;
  font-size: 2.7rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.price small { font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.mama-line { font-size: 0.92rem; font-weight: 600; color: var(--violet-ink); font-variant-numeric: tabular-nums; }
.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 0.52em; width: 12px; height: 6px;
  border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg);
}
.plan-foot { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* Schwebende Kontaktleiste: Pille auf dem Handy, Seitenlasche rechts auf dem Desktop */
.callbar {
  position: fixed; z-index: 30; top: 30vh; right: -20px;
  display: flex; align-items: stretch; gap: 4px; padding: 6px 26px 6px 6px; border-radius: 20px;
  transform: translateX(calc(100% - 66px));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent), 0 10px 30px -14px color-mix(in srgb, var(--ink) 30%, transparent);
}
.callbar:hover, .callbar:focus-within, .callbar.is-open { transform: none; }
.callbar-tab {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 40px; padding: 16px 0;
  writing-mode: vertical-rl; white-space: nowrap;
  border: 0; border-radius: 14px; background: none; color: var(--ink); cursor: pointer;
  font: inherit; font-size: 0.875rem; font-weight: 600;
}
.callbar-tab:hover { background: var(--hover); }
.callbar-tab svg { width: 15px; height: 15px; }
.callbar-tab .chev { color: var(--muted); transition: transform 0.3s ease; }
.callbar:hover .chev, .callbar:focus-within .chev, .callbar.is-open .chev { transform: rotate(180deg); }
.callbar-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 4px 2px; }
.callbar .short { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .callbar {
    top: auto; left: 12px; right: 12px; bottom: 12px;
    display: block; padding: 6px; border-radius: 999px;
  }
  .callbar, .callbar:hover, .callbar:focus-within, .callbar.is-open { transform: none; }
  .callbar-tab, .callbar .mail, .callbar .long { display: none; }
  .callbar .short { display: inline; }
  .callbar-body { flex-direction: row; padding: 0; }
  .callbar-body .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .callbar, .callbar-tab .chev { transition: none; } }
