@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700&display=swap');

/* LokalFlow – lightweight, modern, ~8KB */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --surface: rgba(255,255,255,.04);
  --surface-hover: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.08);
  --text: #f0f0f5;
  --text-muted: rgba(240,240,245,.55);
  --accent: #7c6cf0;
  --accent-2: #4ecdc4;
  --accent-3: #ff6b9d;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Animated Background ── */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  will-change: transform;
}

.orb-1 {
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: float1 18s ease-in-out infinite;
}

.orb-2 {
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation: float2 22s ease-in-out infinite;
}

.orb-3 {
  width: 30vw;
  height: 30vw;
  max-width: 350px;
  max-height: 350px;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: float3 15s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8vw, 6vh) scale(1.05); }
  66% { transform: translate(-4vw, 10vh) scale(.95); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, -8vh) scale(1.08); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -12vh) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

/* ── Layout ── */
.header, .hero, .page, .footer {
  position: relative;
  z-index: 1;
}

.hero, .page, .footer {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.25rem clamp(0.5rem, 2vw, 2.5rem) 0.5rem;
  box-sizing: border-box;
}

.header:not(.header-dashboard) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  column-gap: clamp(0.75rem, 3vw, 2.5rem);
}

.header:not(.header-dashboard) > .logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

.header:not(.header-dashboard) > .header-abo-pill {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  margin-top: 0.15rem;
}

.header-end {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.header-dashboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.25rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 320px;
  width: auto;
  max-width: 1440px;
  object-fit: contain;
}

.logo-icon { color: var(--accent); font-size: 1.3rem; }

.trial-countdown {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}

.trial-countdown-active {
  background: rgba(56, 189, 248, .15);
  color: #67e8f9;
  border: 1px solid rgba(56, 189, 248, .35);
}

.trial-countdown-expired {
  background: rgba(239, 68, 68, .15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, .35);
}

.trial-countdown-btn {
  cursor: pointer;
  font: inherit;
  border: none;
  transition: transform .15s, box-shadow .15s;
}

button.trial-countdown-btn {
  appearance: none;
  -webkit-appearance: none;
}

.trial-countdown-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.trial-countdown-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.trial-info-dialog {
  max-width: min(440px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.trial-info-dialog::backdrop {
  background: rgba(0, 0, 0, .55);
}

.trial-info-dialog-inner {
  padding: 1.35rem 1.35rem 1.15rem;
  position: relative;
}

.trial-info-dialog h2 {
  font-size: 1.1rem;
  margin: 0 2rem .75rem 0;
}

.trial-info-body {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.trial-info-body p { margin: 0 0 .65rem; }

.trial-info-list {
  margin: .35rem 0 0;
  padding-left: 1.15rem;
}

.trial-info-list li { margin-bottom: .35rem; }

.trial-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.trial-info-close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.trial-info-close:hover { color: var(--text); }

.trial-lock-banner {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .35);
}

.trial-lock-banner strong {
  display: block;
  margin-bottom: .25rem;
  color: #fecaca;
}

.trial-lock-banner p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-muted);
}

.trial-lock-icon {
  font-size: 1.5rem;
  line-height: 1;
}

body.konto-page-locked .konto-hero-btn {
  display: none;
}

.nav { display: flex; align-items: center; }

/* ── Portal Nav (Kunden / Geschäfte) ── */
.nav-portals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-shrink: 0;
}

.header-end .nav-portals {
  margin-left: 0;
}

.nav-portal {
  text-align: center;
  padding: 0 clamp(0.35rem, 1.4vw, 1.5rem);
  min-width: clamp(78px, 11vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-portal-title {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .4rem;
  background: linear-gradient(135deg, #b8e0ff 0%, #ffffff 45%, #6eb5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
  white-space: nowrap;
}

.nav-portal-active .nav-portal-title {
  background: linear-gradient(135deg, #7ec8ff 0%, #ffffff 50%, #4da3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-portal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
}

.nav-portal-links a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .15rem .25rem;
  transition: color .2s;
  white-space: nowrap;
}

.nav-portal-links a:hover {
  color: #b8e0ff;
}

.nav-portal-email {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.nav-portal-email:hover {
  color: #b8e0ff;
}

.nav-portals-single {
  justify-content: flex-end;
}

.nav-portals-single .nav-portal {
  min-width: auto;
}

.konto-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

/* ── Geschäftskonto Hub ── */
.konto-page .page.konto-hub {
  max-width: 920px;
  padding-bottom: 3rem;
}

.konto-hero-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(124, 108, 240, .35);
  background: linear-gradient(135deg, rgba(124, 108, 240, .14) 0%, rgba(78, 205, 196, .06) 100%);
  backdrop-filter: blur(12px);
}

.konto-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(124, 108, 240, .35);
}

.konto-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .25rem;
}

.konto-hero-text h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: .2rem;
}

.konto-email-line {
  font-size: .85rem;
  color: var(--text-muted);
}

.konto-hero-btn {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.konto-hero-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(124, 108, 240, .4);
}

.konto-section {
  margin-bottom: 2.25rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025);
}

.konto-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}

.konto-section-head h2 {
  font-size: 1.1rem;
  font-weight: 800;
}

.konto-section-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(124, 108, 240, .15);
  color: #c4b8ff;
  border: 1px solid rgba(124, 108, 240, .25);
}

.konto-section-desc {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.konto-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
  margin-bottom: .75rem;
}

.konto-shop-card {
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .2s, transform .2s;
}

.konto-shop-card.is-active {
  border-color: rgba(78, 205, 196, .45);
  background: rgba(78, 205, 196, .08);
}

.konto-shop-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.konto-shop-mod {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.konto-shop-active-badge {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(78, 205, 196, .2);
  color: var(--accent-2);
}

.konto-shop-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.konto-shop-addr {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  line-height: 1.4;
}

.konto-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.konto-add-shop {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 2px dashed rgba(124, 108, 240, .35);
  background: rgba(124, 108, 240, .06);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, background .2s;
}

.konto-add-shop:hover {
  border-color: rgba(124, 108, 240, .6);
  background: rgba(124, 108, 240, .12);
}

.konto-add-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  background: rgba(124, 108, 240, .2);
  color: var(--accent);
  flex-shrink: 0;
}

.konto-add-shop strong {
  display: block;
  font-size: .92rem;
  margin-bottom: .1rem;
}

.konto-add-shop small {
  font-size: .75rem;
  color: var(--text-muted);
}

.konto-module-grid {
  margin-top: .5rem;
}

.konto-discount-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.konto-tab {
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}

.konto-tab.active,
.konto-tab:hover {
  color: var(--text);
  border-color: rgba(124, 108, 240, .4);
  background: rgba(124, 108, 240, .12);
}

.konto-discount-card .discount-card-head {
  flex-wrap: wrap;
}

.konto-discount-tag {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-muted);
}

.konto-perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}

.konto-perk-card {
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(78, 205, 196, .25);
  background: rgba(78, 205, 196, .06);
}

.konto-perk-card.konto-perk-muted {
  border-color: var(--border);
  background: rgba(255, 255, 255, .03);
  opacity: .85;
}

.konto-perk-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .5rem;
}

.konto-perk-card h3 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.konto-perk-card p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: .5rem;
}

.konto-perk-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.konto-empty-card {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

.konto-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  padding-top: .5rem;
}

.konto-quick-link {
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  transition: color .2s, border-color .2s;
}

.konto-quick-link:hover {
  color: var(--text);
  border-color: rgba(124, 108, 240, .35);
}

.konto-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.konto-sidebar {
  position: sticky;
  top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}

.konto-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.konto-sidebar-link {
  display: block;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.konto-sidebar-link:hover,
.konto-sidebar-link.active {
  color: var(--text);
  background: rgba(124, 108, 240, .15);
}

.konto-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.konto-form {
  max-width: 480px;
}

.konto-emp-form {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .15);
}

.konto-emp-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.konto-emp-item {
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.konto-emp-item-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .2rem;
}

.konto-section-abo .konto-abo-status-card {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(78, 205, 196, .3);
  background: rgba(78, 205, 196, .08);
}

.konto-abo-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
  font-size: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.konto-abo-status-row:last-of-type {
  border-bottom: none;
}

.konto-abo-status-row span {
  color: var(--text-muted);
}

.konto-abo-notice {
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--accent-2);
  line-height: 1.45;
}

.konto-abo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.konto-abo-grid {
  margin-top: .5rem;
}

.konto-abo-plan {
  display: flex;
  flex-direction: column;
}

.konto-abo-plan .abo-btn {
  margin-top: auto;
  cursor: pointer;
  border: none;
  font: inherit;
}

.konto-abo-disclaimer {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.konto-slot-hint {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .75rem;
  text-align: center;
}

.konto-upgrade-block {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(124, 108, 240, .2);
}

.konto-upgrade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}

.konto-upgrade-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.konto-upgrade-subtitle {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.konto-upgrade-status {
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, .35);
  background: rgba(78, 205, 196, .1);
  font-size: .85rem;
}

.konto-slot-summary {
  margin-top: .35rem;
  color: var(--text-muted);
  font-size: .8rem;
}

.konto-upgrade-locked {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 107, 157, .35);
  background: rgba(255, 107, 157, .06);
  font-size: .85rem;
  color: var(--text-muted);
}

.konto-savings strong {
  color: var(--accent-2);
}

.konto-tier3-block {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(124, 108, 240, .25);
  background: rgba(124, 108, 240, .06);
}

.konto-tier3-head {
  display: block;
  margin-bottom: .5rem;
}

.konto-tier3-head h4 {
  font-size: .95rem;
  font-weight: 700;
}

.konto-tier3-intro {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.konto-tier3-grid {
  margin-top: 1rem;
}

.konto-tier3-price {
  font-size: .85rem;
  font-weight: 800;
  color: var(--accent-2);
}

.konto-tier3-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem .85rem;
  margin: .75rem 0 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
  font-size: .78rem;
  color: var(--text-muted);
}

.konto-highlight {
  color: var(--accent-2);
  font-weight: 600;
}

.konto-add-shop-locked {
  cursor: default;
  border-style: solid;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  flex-wrap: wrap;
  gap: .75rem;
}

.konto-add-shop-locked .konto-add-shop-cta {
  margin-left: auto;
  text-decoration: none;
}

/* ── Preise & Angebote ── */
.pa-main { max-width: 920px; }

.pa-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.pa-shop-tab {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.pa-shop-tab.active,
.pa-shop-tab:hover {
  color: var(--text);
  border-color: rgba(124, 108, 240, .45);
  background: rgba(124, 108, 240, .15);
}

.pa-section { margin-bottom: 1.5rem; }

.pa-form .form-hint {
  display: block;
  margin-top: .25rem;
  font-size: .72rem;
  color: var(--text-muted);
}

.pa-checkbox-group {
  display: flex;
  align-items: flex-end;
  padding-bottom: .35rem;
}

.pa-checkbox-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  cursor: pointer;
}

.pa-offer-preview {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, .25);
  background: rgba(78, 205, 196, .06);
  font-size: .82rem;
}

.pa-preview-list {
  list-style: none;
  margin-top: .5rem;
  color: var(--text-muted);
}

.pa-preview-list li { padding: .15rem 0; }

.pa-offer-status-line {
  font-size: .75rem;
  font-weight: 600;
  margin-top: .35rem;
}

.pa-status-live { color: var(--accent-2); }
.pa-status-visible { color: #7ec8ff; }
.pa-status-planned { color: var(--text-muted); }
.pa-status-ended { color: #888; }
.pa-status-off { color: #ff8fb8; }

.pa-shops-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#pa-offer-status.pa-status-live { background: rgba(78, 205, 196, .15); color: var(--accent-2); }
#pa-offer-status.pa-status-visible { background: rgba(126, 200, 255, .12); color: #7ec8ff; }

.pa-hero-compact { text-align: center; margin-bottom: 1rem; }
.pa-hero-compact h1 { font-size: clamp(1.5rem, 4vw, 2rem); }

.pa-tabs {
  display: flex;
  gap: .35rem;
  margin-bottom: 1.25rem;
  padding: .35rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--border);
}

.pa-tab {
  flex: 1;
  padding: .6rem .75rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.pa-tab.active,
.pa-tab:hover {
  background: rgba(124, 108, 240, .18);
  color: var(--text);
}

.pa-panel { margin-bottom: 1.5rem; }

.pa-quick-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: .75rem 0 .5rem;
}

.pa-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.pa-quick-btn {
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.pa-quick-btn:hover {
  border-color: rgba(124, 108, 240, .45);
  background: rgba(124, 108, 240, .12);
}

.pa-details {
  margin-top: .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  background: rgba(0, 0, 0, .15);
}

.pa-details summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pa-details[open] summary { margin-bottom: .75rem; }

.pa-details-inline { margin-top: .75rem; }

.pa-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-top: .75rem;
}

.pa-template-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pa-template-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .15);
}

.pa-template-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.pa-template-info strong { font-size: .88rem; }

.pa-template-meta {
  font-size: .72rem;
  color: var(--text-muted);
}

.pa-template-actions {
  display: flex;
  gap: .35rem;
  flex-shrink: 0;
}

.btn-danger {
  background: rgba(255, 107, 157, .15);
  color: #ff8fb8;
  border: 1px solid rgba(255, 107, 157, .35);
  border-radius: var(--radius-sm);
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.btn-danger:hover {
  background: rgba(255, 107, 157, .25);
}

.nav-link-btn {
  background: none;
  border: none;
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: .15rem .25rem;
  transition: color .2s;
}

.nav-link-btn:hover {
  color: #b8e0ff;
}

.nav-divider {
  width: 1px;
  height: 2.75rem;
  flex-shrink: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(168, 224, 255, .35) 20%,
    rgba(255, 255, 255, .25) 50%,
    rgba(168, 224, 255, .35) 80%,
    transparent
  );
}

/* ── Hero (Landing) ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 140px);
  padding: 2rem 1.5rem;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(78,205,196,.1);
  border: 1px solid rgba(78,205,196,.2);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.badge-kunden { color: var(--accent-2); background: rgba(78,205,196,.1); border-color: rgba(78,205,196,.2); }
.badge-geschaefte { color: var(--accent); background: rgba(124,108,240,.1); border-color: rgba(124,108,240,.2); }

h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc, .page-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ── Portal Cards ── */
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  text-align: left;
}

.portal-card {
  display: block;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, background .25s;
}

.portal-card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: rgba(255,255,255,.15);
}

.card-icon { font-size: 2rem; margin-bottom: .75rem; }

.portal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.portal-card p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

.card-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-2);
}

.portal-geschaefte .card-cta { color: var(--accent); }

/* ── Page Layout ── */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.page-hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.section-title {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Search ── */
.search-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.search-icon { color: var(--text-muted); flex-shrink: 0; }

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
}

.search-bar input::placeholder { color: var(--text-muted); }

/* ── Categories ── */
.categories { margin-bottom: 2.5rem; }

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.category-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font: inherit;
  font-size: .85rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}

.category-chip:hover,
.category-chip.active {
  color: var(--text);
  background: var(--surface-hover);
  border-color: rgba(124,108,240,.4);
}

.category-chip.active {
  background: rgba(124,108,240,.15);
  color: var(--accent);
}

/* ── Listings ── */
.listing-grid {
  display: grid;
  gap: .75rem;
}

.listing-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}

.listing-card:hover:not(.placeholder) {
  border-color: rgba(255,255,255,.15);
  background: var(--surface-hover);
}

.listing-card.placeholder { opacity: .5; cursor: default; }

.listing-img {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 12px;
  background: hsl(var(--hue, 200), 50%, 20%);
  flex-shrink: 0;
}

.listing-info h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .15rem;
}

.listing-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

.listing-status {
  font-size: .75rem;
  font-weight: 600;
  margin-top: .2rem;
}

.listing-status.open { color: var(--accent-2); }
.listing-status.soon { color: var(--text-muted); }

a.listing-card {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.listings-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.listings-count {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
}

.listing-loading,
.listing-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.listing-empty.hidden,
.listing-loading.hidden { display: none; }

/* ── Kunden Laden-Detail ── */
.laden-state-wrap {
  padding-top: 2rem;
}

.laden-hero-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.laden-hero-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 16px;
  background: hsl(var(--laden-accent-hue, 200), 50%, 20%);
  flex-shrink: 0;
}

.laden-hero-text h1 {
  font-size: 1.5rem;
  margin: .35rem 0 .5rem;
}

.laden-tagline {
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.laden-address {
  font-size: .9rem;
  color: var(--accent-2);
}

.laden-actions-card,
.laden-info-card {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.laden-actions-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.laden-soon-badge {
  display: inline-block;
  margin-left: .35rem;
  padding: .1rem .45rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text-muted);
  vertical-align: middle;
}

.laden-info-list {
  display: grid;
  gap: .75rem;
  margin: 0 0 1rem;
}

.laden-info-list div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .5rem;
}

.laden-info-list dt {
  font-size: .8rem;
  color: var(--text-muted);
}

.laden-info-list dd {
  margin: 0;
  font-size: .9rem;
}

.laden-info-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

.laden-back-link {
  text-align: center;
  text-decoration: none;
}

/* ── Kunden Reservierungen ── */
.kunden-res-form-card,
.kunden-res-tables {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

@media (max-width: 520px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.kunden-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  margin-bottom: .5rem;
}

.kunden-res-tables-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}

.kunden-res-hint {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.kunden-table-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .2s, background .2s;
}

.kunden-table-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.kunden-table-card strong { font-size: .95rem; }

.kunden-table-status {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.kunden-table-status-free { color: #34d399; }
.kunden-table-status-busy { color: #fbbf24; }

.kunden-table-card.is-free {
  cursor: pointer;
  border-color: rgba(52, 211, 153, .25);
}

.kunden-table-card.is-free:hover,
.kunden-table-card.is-free.is-selected {
  border-color: rgba(124, 108, 240, .55);
  background: rgba(124, 108, 240, .1);
}

.kunden-table-card.is-busy {
  border-color: rgba(251, 191, 36, .35);
  background: rgba(251, 191, 36, .06);
  cursor: default;
}

.kunden-res-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .25rem;
}

.kunden-res-book { margin-top: .5rem; }

.kunden-res-success {
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(56,217,169,.35);
  border-radius: var(--radius-sm);
  background: rgba(56,217,169,.08);
  text-align: center;
}

.kunden-res-success.hidden { display: none; }

.kunden-res-list {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.kunden-res-card {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.kunden-res-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .5rem;
}

.kunden-res-head h3 {
  font-size: 1rem;
  margin: 0 0 .2rem;
}

.kunden-res-meta,
.kunden-res-time,
.kunden-res-notes {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0 0 .35rem;
}

.kunden-res-status {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}

.kunden-res-card.res-status-active .kunden-res-status { color: var(--accent-2); }
.kunden-res-card.res-status-cancelled .kunden-res-status { color: #f87171; }
.kunden-res-card.res-status-released .kunden-res-status { color: var(--text-muted); }

.kunden-res-section { margin-bottom: 2rem; }

.kunden-res-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-muted);
  letter-spacing: .02em;
}

.kunden-res-archive {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.kunden-res-archive-head { margin-bottom: 1.25rem; }

.kunden-res-archive-desc {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.kunden-res-list-archive .kunden-res-card {
  opacity: .88;
  border-style: dashed;
}

.kunden-res-card.is-archive .kunden-res-status { font-size: .72rem; }

.kunden-res-archive-meta {
  margin: .35rem 0 0;
  font-size: .78rem;
  color: var(--text-muted);
}

.tables-archive-panel { margin-top: 2.5rem; }

.tables-archive-desc {
  margin: -.5rem 0 1.25rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.tables-archive-list {
  display: grid;
  gap: .75rem;
}

.tables-archive-card {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, .18);
}

.tables-archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .45rem;
}

.tables-archive-guest,
.tables-archive-time,
.tables-archive-ended,
.tables-archive-notes {
  margin: .25rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tables-archive-tag {
  display: inline-block;
  margin-top: .5rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: rgba(78, 205, 196, .12);
  color: var(--accent-2);
}

/* ── Kunden Friseur-Termine ── */
.kunden-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}

.kunden-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: .9rem 1rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.kunden-service-card strong { font-size: .95rem; }
.kunden-service-card span { font-size: .78rem; color: var(--text-muted); }

.kunden-service-card:hover,
.kunden-service-card.is-selected {
  border-color: var(--accent);
  background: rgba(124, 108, 240, .08);
}

.kunden-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

.kunden-slot-btn {
  min-width: 4.5rem;
  padding: .55rem .85rem;
  font-size: .85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.kunden-slot-btn:hover,
.kunden-slot-btn.is-selected {
  border-color: var(--accent-2);
  background: rgba(78, 205, 196, .12);
  color: var(--accent-2);
}

/* ── Geschäfte Salon ── */
.salon-layout {
  display: grid;
  gap: 1.25rem;
}

.salon-services-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1rem;
}

.salon-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.konto-hero-btn-secondary {
  margin-top: .5rem;
  background: transparent;
  border: 1px solid var(--border);
}

/* ── Kunden Bestellen ── */
.kunden-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .kunden-order-layout { grid-template-columns: 1fr; }
}

.kunden-order-cart {
  position: sticky;
  top: 1rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.kunden-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}

.kunden-menu-section { margin-bottom: 1.5rem; }

.kunden-menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kunden-menu-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: rgba(255,255,255,.04);
}

.kunden-menu-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.kunden-menu-body {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.kunden-menu-body h3 { font-size: .95rem; margin: 0; }

.kunden-menu-price {
  font-size: .9rem;
  color: var(--accent-2);
  font-weight: 600;
}

.kunden-menu-old {
  margin-left: .35rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.kunden-menu-offer { color: #fbbf24; }

.kunden-offer-banner {
  margin-top: .5rem;
  font-size: .9rem;
  color: #fbbf24;
}

.kunden-cart-total-line {
  margin: .75rem 0 1rem;
  font-size: 1rem;
}

.kunden-cart-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
}

.kunden-cart-row:last-child { border-bottom: none; }

.kunden-cart-row-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .82rem;
}

.kunden-cart-row-info span { color: var(--text-muted); }

.kunden-cart-row-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.kunden-cart-qty {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 600;
}

.kunden-checkout-form { margin-top: .5rem; }

.coming-soon {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1rem;
  color: var(--text-muted);
  font-size: .85rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

/* ── Dashboard (Geschäfte) ── */
.dashboard-preview { margin-bottom: 3rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.dash-panel {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.dash-panel h3 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.order-list { list-style: none; }

.order-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .5rem;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
}

.order-item:last-child { border-bottom: none; }

.order-id {
  font-weight: 700;
  color: var(--accent);
  font-size: .75rem;
}

.order-detail { color: var(--text-muted); }

.order-time {
  font-size: .7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.action-btn {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: .78rem;
  padding: .65rem .5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.action-btn:hover {
  border-color: rgba(124,108,240,.4);
  background: rgba(124,108,240,.1);
}

/* ── Features ── */
.features { margin-bottom: 2.5rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}

.feature-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.feature-icon { font-size: 1.5rem; display: block; margin-bottom: .5rem; }

.feature-card h3 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.feature-card p {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ── CTA ── */
.cta-block {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: .9rem;
}

.btn-primary {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #9b8aff);
  border: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.btn-primary:hover { opacity: .9; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
}

.btn-block { display: block; width: 100%; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font: inherit;
  font-size: .8rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}

.hidden { display: none !important; }

/* ── Module Selection ── */
.module-section { margin-bottom: 2rem; }

.module-section .btn-block { margin-top: 1.25rem; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
}

.module-card {
  text-align: left;
  padding: 1.5rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s, transform .25s;
}

.module-card:hover {
  background: var(--surface-hover);
  border-color: rgba(124,108,240,.3);
}

.module-card.selected {
  border-color: var(--accent);
  background: rgba(124,108,240,.12);
  transform: translateY(-2px);
}

.module-card.is-saving {
  opacity: .7;
  pointer-events: none;
}

.module-card.is-saving::after {
  content: 'Speichern…';
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--accent);
}

.module-hint {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

.module-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .6rem;
}

.module-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.module-card p {
  font-size: .82rem;
  color: var(--text-muted);
}

.auth-section {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.auth-hint {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

.auth-hint strong { color: var(--accent); }

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-width: 320px;
  margin: 0 auto;
}

/* ── Auth Forms ── */
.page-narrow { max-width: 520px; }

.auth-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.verify-step { margin-top: 1rem; }

.otp-input {
  font-size: 1.35rem;
  letter-spacing: .35em;
  text-align: center;
  font-weight: 700;
}

.verify-resend { margin-top: .65rem; }

.auth-countdown {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: .5rem;
}

.auth-confirm-page .page-desc strong { color: var(--text); }

.form-section {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.form-section legend {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0;
}

.form-sublegend {
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .65rem;
  color: var(--text);
}

.address-block {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .35rem;
}

.label-hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .78rem;
}

.form-group input {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  padding: .7rem .9rem;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus {
  border-color: rgba(124,108,240,.5);
}

.form-group input::placeholder { color: rgba(240,240,245,.3); }

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.password-toggle-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.password-toggle-btn.is-visible .pw-icon-show { display: none; }
.password-toggle-btn.is-visible .pw-icon-hide { display: inline; }
.password-toggle-btn:not(.is-visible) .pw-icon-hide { display: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.form-error {
  color: #ff6b9d;
  font-size: .82rem;
  margin-bottom: 1rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover { text-decoration: underline; }

/* ── Dashboard Empty ── */
.header-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.module-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(124,108,240,.15);
  border: 1px solid rgba(124,108,240,.3);
  color: var(--accent);
  white-space: nowrap;
}

.business-name {
  font-size: .85rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 160px);
}

.empty-state {
  text-align: center;
  max-width: 480px;
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: .8;
}

.empty-placeholder {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .85rem;
  background: var(--surface);
}

/* ── Homepage Info Placeholder ── */
.info-placeholder {
  margin-top: 2.5rem;
  padding: 3rem 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .9rem;
  background: var(--surface);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-block {
  margin-top: 0;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(124, 108, 240, .25);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(124, 108, 240, .08) 0%, rgba(78, 205, 196, .05) 100%);
  text-align: left;
}

.vision-title {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #b8e0ff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-lead,
.vision-text {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.vision-text strong { color: #c4b5fd; }

.vision-countdowns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: 1.25rem 0;
}

.vision-countdown-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  text-align: center;
}

.vision-countdown-highlight {
  border-color: rgba(124, 108, 240, .45);
  background: rgba(124, 108, 240, .1);
}

.vision-countdown-label {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.vision-countdown {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e9d5ff;
  letter-spacing: .02em;
}

.vision-countdown-hint {
  margin: .5rem 0 0;
  font-size: .75rem;
  color: var(--text-muted);
}

.vision-pm-btn {
  display: inline-flex;
  margin-top: .5rem;
  text-decoration: none;
}

.pm-page .pm-main { max-width: 640px; }

.pm-hero { text-align: center; margin-bottom: 1.5rem; }

.pm-content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.pm-content-card h2 {
  font-size: 1rem;
  margin: 0 0 .75rem;
  color: #c4b5fd;
}

.pm-content-card p {
  margin: 0 0 .85rem;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.pm-content-card p:last-child { margin-bottom: 0; }

.pm-countdowns { margin-bottom: 1.25rem; }

.pm-contact .btn-block { margin-top: .5rem; }

@media (max-width: 640px) {
  .vision-countdowns { grid-template-columns: 1fr; }
}

/* ── Auth extras ── */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-row input { accent-color: var(--accent); width: auto; }

.link-muted {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  font-size: .82rem;
}

.storage-notice {
  font-size: .78rem;
  line-height: 1.45;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text-muted);
}

.storage-notice code { font-size: .72rem; color: var(--accent-2); }

.storage-notice-warn {
  border-color: rgba(255, 107, 157, .35);
  background: rgba(255, 107, 157, .08);
  color: rgba(255, 200, 210, .95);
}

.storage-notice-ok {
  border-color: rgba(78, 205, 196, .35);
  background: rgba(78, 205, 196, .08);
  color: var(--accent-2);
}

.storage-notice-silent {
  height: 3px;
  padding: 0;
  margin: 0 0 1rem;
  border: none;
  border-radius: 999px;
  background: rgba(78, 205, 196, .55);
  overflow: hidden;
}

.storage-notice-silent-warn {
  height: 3px;
  padding: 0;
  margin: 0 0 1rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 107, 157, .55);
}

.header-meta-empty {
  display: none;
}

.profile-save-status {
  margin: .65rem 0 0;
  color: #86efac;
}

.profile-save-status.profile-save-error {
  color: #fca5a5;
}

.dash-shop-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.dash-shop-pill {
  border: 1px solid rgba(124, 108, 240, .35);
  background: rgba(124, 108, 240, .12);
  color: #c4b5fd;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: inherit;
}

.dash-shop-pill:hover {
  background: rgba(124, 108, 240, .22);
}

.dash-shop-pill.is-active {
  background: rgba(124, 108, 240, .3);
  border-color: rgba(124, 108, 240, .6);
  color: #ede9fe;
}

.dash-shop-pill.is-shop-locked {
  border-color: rgba(248, 113, 113, .45);
  background: rgba(127, 29, 29, .2);
  color: #fca5a5;
}

.dash-shop-pill.is-shop-locked.is-active {
  border-color: rgba(248, 113, 113, .65);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, .35);
}

.dash-shop-lock {
  margin-right: 0.35rem;
  font-size: 0.85em;
}

.dash-shop-pill-label {
  vertical-align: middle;
}

.dash-shop-locked-gate {
  margin-top: 1.25rem;
}

.dash-shop-locked-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(248, 113, 113, .35);
  background: rgba(30, 26, 56, .85);
  text-align: center;
}

.dash-shop-locked-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.dash-shop-locked-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.dash-shop-locked-card p {
  margin: 0 0 0.65rem;
  color: var(--text-muted, #9b95b8);
  font-size: 0.92rem;
  line-height: 1.45;
}

.dash-shop-locked-meta {
  font-size: 0.82rem !important;
  margin-bottom: 1.1rem !important;
}

.dash-shop-locked-card .btn-sm {
  display: inline-block;
  text-decoration: none;
}

.footer-domain-hint {
  display: none;
}

/* ── Kunden-Netzwerk: Location-Werbebanner (nur lokalflow24.com) ── */
.lf-host-customer #home-team-panel {
  display: none !important;
}

.lf-location-promo {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 1100px;
  padding: 0 1.25rem 1.5rem;
}

.lf-location-promo-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(30, 26, 56, 0.92) 45%, rgba(13, 148, 136, 0.12));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.lf-location-promo-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 70%);
  pointer-events: none;
}

.lf-location-promo-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 240px;
  position: relative;
  z-index: 1;
}

.lf-location-promo-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.lf-location-promo-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ecdc4;
  font-weight: 600;
}

.lf-location-promo-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f4f2ff;
}

.lf-location-promo-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #9b95b8;
  max-width: 36rem;
}

.lf-location-promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  position: relative;
  z-index: 1;
}

.lf-location-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lf-location-promo-btn-primary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #1a1033;
  border: none;
}

.lf-location-promo-btn-ghost {
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #ede9fe;
  background: rgba(255, 255, 255, 0.04);
}

.lf-location-promo-btn:hover {
  transform: translateY(-1px);
}

.lf-location-promo-link {
  font-size: 0.8rem;
  color: #4ecdc4;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

@media (min-width: 720px) {
  .lf-location-promo-link {
    width: auto;
    text-align: left;
  }
}

.lf-host-customer .footer {
  padding-bottom: 0.5rem;
}

/* ── Google Ads · Kunden-Domain (Desktop unten links/rechts, Mobile unten) ── */
.lf-ad-rails {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 900;
  pointer-events: none;
}

.lf-ad-rail {
  pointer-events: auto;
}

.lf-ad-rail-left,
.lf-ad-rail-right {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 901;
}

.lf-ad-rail-left {
  left: max(12px, env(safe-area-inset-left, 0px));
}

.lf-ad-rail-right {
  right: max(12px, env(safe-area-inset-right, 0px));
}

.lf-ad-rail-mobile {
  display: none;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 max(8px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px))
    max(8px, env(safe-area-inset-left, 0px));
  justify-content: center;
}

.lf-ad-unit {
  overflow: hidden;
  border-radius: 12px;
  background: rgba(22, 20, 38, 0.98);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lf-ad-unit-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(167, 139, 250, 0.45);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), rgba(13, 148, 136, 0.08));
  color: #9b95b8;
  text-align: center;
  padding: 0.75rem;
}

.lf-ad-rail-left .lf-ad-unit,
.lf-ad-rail-right .lf-ad-unit {
  width: 300px;
  height: 250px;
}

.lf-ad-rail-mobile .lf-ad-unit {
  width: min(100%, 320px);
  height: 100px;
}

.lf-ad-unit-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6585;
}

.lf-ad-unit-size {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c4b5fd;
}

.lf-ad-unit-hint {
  font-size: 0.68rem;
  color: #6b6585;
}

.lf-ad-rails-desktop .lf-ad-rail-mobile {
  display: none !important;
}

.lf-ad-rails-desktop .lf-ad-rail-left,
.lf-ad-rails-desktop .lf-ad-rail-right {
  display: block;
}

.lf-ad-rails-mobile .lf-ad-rail-left,
.lf-ad-rails-mobile .lf-ad-rail-right {
  display: none !important;
}

.lf-ad-rails-mobile .lf-ad-rail-mobile {
  display: flex;
}

.lf-has-ad-rails.lf-ad-rails-desktop .lf-location-promo {
  margin-bottom: 0.5rem;
}

.lf-has-ad-rails.lf-ad-rails-desktop {
  padding-bottom: 280px;
}

.lf-has-ad-rails.lf-ad-rails-mobile {
  padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

.lf-customer-portal-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9b95b8;
}

.lf-customer-portal-note a {
  color: #4ecdc4;
}

.lf-host-business .nav-portals-single .nav-portal-title {
  background: linear-gradient(135deg, #ede9fe, #c4b5fd 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  .lf-host-business .logo-img {
    height: 108px;
    max-width: min(100%, 300px);
  }

  .lf-host-business .header:not(.header-dashboard) {
    row-gap: 0.5rem;
    padding-bottom: 0.65rem;
  }

  .lf-host-business .header-end {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.32);
    background: rgba(18, 16, 32, 0.88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .lf-host-business .nav-portals,
  .lf-host-business .nav-portals-single {
    width: 100%;
    justify-content: center;
  }

  .lf-host-business .nav-portal {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .lf-host-business .nav-portal-title {
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: #c4b5fd;
    color: #c4b5fd;
  }

  .lf-host-business .nav-portal-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .lf-host-business .nav-portal-links a {
    color: #f4f2ff;
    background: rgba(124, 108, 240, 0.22);
    border: 1px solid rgba(167, 139, 250, 0.45);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 7.5rem;
    text-align: center;
  }

  .lf-host-business .nav-portal-links a:hover {
    color: #fff;
    background: rgba(124, 108, 240, 0.35);
  }

  .lf-host-business .nav-portal-email {
    color: #f4f2ff;
    max-width: 100%;
  }

  .lf-host-business .nav-link-btn {
    color: #f4f2ff;
    border-color: rgba(167, 139, 250, 0.45);
  }
}

.nav-trial-countdown {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: center;
  max-width: 100%;
  width: max-content;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  padding: 0.35rem 0.95rem;
}

.nav-portal-extras .trial-countdown {
  max-width: 100%;
  width: max-content;
  white-space: normal;
  word-break: break-word;
  padding: 0.35rem 0.95rem;
  line-height: 1.35;
}

.nav-portal-extras {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.nav-portal:has(.nav-portal-extras:not(.hidden)) {
  min-width: clamp(130px, 15vw, 200px);
}

.nav-dashboard-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 205, 196, .35);
  background: rgba(78, 205, 196, .1);
  transition: background .2s, border-color .2s;
}

.nav-dashboard-link:hover {
  background: rgba(78, 205, 196, .18);
  border-color: rgba(78, 205, 196, .5);
}

.form-success {
  text-align: center;
  color: var(--accent-2);
  font-size: .85rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(78,205,196,.08);
  border-radius: var(--radius-sm);
}

/* ── Dashboard ── */
.dash-hero { text-align: center; margin-bottom: 2rem; }
.dash-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }

.dash-section { margin-bottom: 2rem; }

.dash-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
}

.dash-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transition: border-color .2s, transform .2s, background .2s;
}

.dash-action-card:hover {
  border-color: rgba(124,108,240,.4);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.dash-action-highlight {
  border-color: rgba(124,108,240,.3);
  background: rgba(124,108,240,.08);
}

.dash-action-icon { font-size: 1.75rem; }

/* ── Hamburger & Drawer ── */
.btn-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-menu span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background .2s;
}

.btn-menu:hover span { background: var(--accent-2); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.drawer-overlay.open { opacity: 1; visibility: visible; }

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 90vw);
  height: 100dvh;
  background: rgba(12,12,18,.97);
  border-right: 1px solid var(--border);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
}

.side-drawer.open { transform: translateX(0); }

.drawer-head h2 { font-size: 1.1rem; margin-bottom: .25rem; }
.drawer-sub { font-size: .8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.drawer-form { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

.employee-list { display: flex; flex-direction: column; gap: .75rem; }

.employee-item {
  padding: .85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.employee-item-head {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  margin-bottom: .25rem;
}

.employee-item-head strong { color: var(--accent); font-size: .78rem; }
.employee-meta { font-size: .75rem; color: var(--text-muted); margin-bottom: .5rem; }

.employee-edit {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: .5rem 0;
}

.employee-edit input {
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: .82rem;
  padding: .5rem .7rem;
}

.btn-sm {
  font: inherit;
  font-size: .75rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.btn-icon {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .75rem;
}

.btn-icon:disabled { opacity: .3; cursor: default; }

.empty-hint {
  color: var(--text-muted);
  font-size: .82rem;
  text-align: center;
  padding: 1rem;
}

/* ── Products ── */
.product-list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.product-row:last-child { border-bottom: none; }
.product-row.inactive { opacity: .45; }

.product-drag { display: flex; gap: .25rem; }
.product-name { font-size: .9rem; font-weight: 500; }
.product-price { font-size: .82rem; color: var(--text-muted); }

/* ── Profile Design ── */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.profile-preview-panel,
.profile-edit-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.profile-preview {
  min-height: 280px;
  background: rgba(0,0,0,.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.profile-layout-modern {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  align-items: start;
}

.menu-device {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(124, 108, 240, .35);
  background: rgba(0, 0, 0, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.menu-device-header {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, rgba(124, 108, 240, .35), rgba(78, 205, 196, .2));
}

.menu-header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-header-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: var(--text-muted);
  font-size: .8rem;
}

.menu-header-fallback span:first-child { font-size: 2rem; }

.menu-header-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: .85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}

.menu-header-overlay h3 {
  margin: 0;
  font-size: 1rem;
}

.menu-header-overlay p {
  margin: .15rem 0 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .75);
}

.menu-cat-tabs {
  display: flex;
  gap: .35rem;
  padding: .65rem .75rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
}

.menu-cat-tab {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .75rem;
  cursor: pointer;
}

.menu-cat-tab.is-active {
  background: rgba(124, 108, 240, .25);
  border-color: rgba(124, 108, 240, .5);
  color: #ede9fe;
}

.menu-offer-zone {
  padding: .75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(124, 108, 240, .08);
}

.menu-offer-title {
  margin: 0 0 .5rem;
  font-size: .8rem;
  color: #c4b5fd;
}

.menu-offer-bundle {
  padding: .55rem .65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 108, 240, .3);
  background: rgba(0, 0, 0, .2);
  margin-bottom: .45rem;
}

.menu-offer-bundle-head {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  margin-bottom: .35rem;
}

.menu-offer-bundle-items {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.menu-offer-chip {
  font-size: .7rem;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
}

.menu-offer-single {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  padding: .25rem 0;
}

.menu-product-list {
  padding: .65rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  max-height: 360px;
  overflow-y: auto;
}

.menu-product-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: .65rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: .55rem .65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  color: inherit;
  cursor: pointer;
}

.menu-product-card:hover {
  border-color: rgba(124, 108, 240, .4);
  background: rgba(124, 108, 240, .08);
}

.menu-product-img,
.menu-product-ph {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  object-fit: cover;
}

.menu-product-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  font-size: 1.25rem;
}

.menu-product-info strong {
  display: block;
  font-size: .85rem;
}

.menu-product-info small {
  color: var(--text-muted);
  font-size: .7rem;
}

.menu-product-price {
  font-weight: 700;
  font-size: .85rem;
  color: #c4b5fd;
}

.profile-header-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.profile-header-upload input { display: none; }

.profile-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}

.profile-cat-pill {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .78rem;
  cursor: pointer;
}

.profile-cat-pill.is-active {
  background: rgba(124, 108, 240, .22);
  border-color: rgba(124, 108, 240, .5);
  color: #ede9fe;
}

/* ── Preise: Artikel-Auswahl ── */
.pa-scope-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .35rem;
}

.pa-radio-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.pa-product-picker {
  margin: .75rem 0 1rem;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .15);
  max-height: 280px;
  overflow-y: auto;
}

.pa-picker-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .65rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.pa-picker-head span { flex: 1; }

.pa-picker-group { margin-bottom: .75rem; }

.pa-picker-cat {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: #c4b5fd;
}

.pa-product-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 0;
  font-size: .82rem;
  cursor: pointer;
}

.pa-product-check input { accent-color: var(--accent); }

.pa-product-price {
  margin-left: auto;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Katalog: Menü-Angebote ── */
.offer-menu-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.offer-menu-title {
  margin: 0 0 .35rem;
  font-size: .95rem;
}

.offer-menu-builder {
  display: grid;
  gap: .65rem;
  margin: .85rem 0;
}

.offer-menu-products {
  display: grid;
  gap: .25rem;
  max-height: 180px;
  overflow-y: auto;
  padding: .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
}

.offer-menu-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  cursor: pointer;
}

.offer-menu-list {
  display: grid;
  gap: .65rem;
}

.offer-menu-card {
  padding: .85rem;
  border: 1px solid rgba(124, 108, 240, .3);
  border-radius: var(--radius-sm);
  background: rgba(124, 108, 240, .06);
}

.offer-menu-card-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .5rem;
}

.offer-menu-total {
  margin-left: auto;
  font-weight: 700;
  color: #c4b5fd;
}

.offer-menu-items {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.offer-menu-item-price {
  color: var(--text-muted);
  font-size: .75rem;
}

/* ── Rechnungsmodul ── */
.invoice-page .page { max-width: 1200px; }

.invoice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.invoice-data-panel {
  min-width: 0;
}

.invoice-right-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.invoice-options-panel {
  padding: 1.15rem 1.25rem;
}

.invoice-options-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #c4b5fd;
}

.invoice-auto-footer-preview {
  margin-top: .75rem;
  padding: .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
}

.invoice-auto-footer-text {
  margin: .4rem 0 0;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--text-muted);
  white-space: pre-line;
}

.invoice-save-btn {
  margin-top: .25rem;
}

.invoice-retention-notice {
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 191, 36, .3);
  background: rgba(251, 191, 36, .07);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.invoice-logo-upload { margin-bottom: .65rem; }

.invoice-logo-preview {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.invoice-logo-preview img {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  padding: .35rem .5rem;
  border-radius: 6px;
}

.invoice-small-business {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .75rem 0 1rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.invoice-paper-wrap {
  margin-top: .75rem;
  padding: .75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--border);
}

.invoice-paper {
  background: #fff;
  color: #111;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  min-height: 520px;
  font-size: .78rem;
  line-height: 1.45;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.invoice-doc-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #111;
}

.invoice-doc-brand { flex-shrink: 0; }

.invoice-doc-logo {
  max-height: 64px;
  max-width: 180px;
  object-fit: contain;
}

.invoice-doc-logo-ph {
  width: 120px;
  height: 48px;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .7rem;
}

.invoice-doc-meta { text-align: right; }

.invoice-doc-meta h1 {
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  letter-spacing: .04em;
}

.invoice-doc-meta p {
  margin: .15rem 0;
  color: #333;
}

.invoice-doc-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.invoice-doc-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
  margin: 0 0 .35rem;
}

.invoice-doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.invoice-doc-table th,
.invoice-doc-table td {
  padding: .45rem .35rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.invoice-doc-table th {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #555;
  border-bottom: 2px solid #111;
}

.invoice-doc-table td:last-child,
.invoice-doc-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.invoice-doc-total td {
  border-top: 2px solid #111;
  border-bottom: none;
  padding-top: .65rem;
}

.invoice-doc-note {
  font-style: italic;
  color: #555;
  font-size: .72rem;
}

.invoice-doc-bank {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid #ddd;
}

.invoice-doc-footer {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid #ddd;
  font-size: .68rem;
  color: #555;
}

.invoice-doc-demo {
  margin-top: .75rem;
  text-align: center;
  font-size: .65rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.invoice-preview-note {
  margin-top: .75rem;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

#inv-footer {
  width: 100%;
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .2);
  color: var(--text);
  font-family: inherit;
  resize: vertical;
}

.form-optional {
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.invoice-bank-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.invoice-bank-fields.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.is-disabled-field {
  opacity: .45;
}

.invoice-payment-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .45rem;
  font-size: .82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.invoice-doc-company-type {
  font-size: .75rem;
  color: #555;
  margin: 0 0 .15rem;
}

.invoice-paper-export {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 210mm;
  max-width: 210mm;
}

.invoice-archive-section {
  margin-top: 1.5rem;
}

.invoice-templates-section {
  margin-top: 1.5rem;
}

.invoice-template-editor {
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
}

.invoice-template-editor-row {
  align-items: flex-end;
}

.invoice-template-slot-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .35rem;
}

.invoice-slot-pill {
  min-width: 2.75rem;
  padding: .4rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, .2);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

.invoice-slot-pill.is-active {
  border-color: rgba(167, 139, 250, .55);
  background: rgba(167, 139, 250, .18);
  color: #e9d5ff;
}

.invoice-template-save-btn {
  margin-top: .75rem;
}

.invoice-template-list-title {
  margin: 0 0 .75rem;
}

.invoice-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .75rem;
}

.invoice-template-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.invoice-template-card.is-active {
  border-color: rgba(167, 139, 250, .55);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .25);
}

.invoice-template-card.is-editing {
  border-color: rgba(96, 165, 250, .45);
}

.invoice-template-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.invoice-template-slot {
  font-size: .72rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.invoice-template-active-badge {
  font-size: .68rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(167, 139, 250, .2);
  color: #c4b5fd;
}

.invoice-template-edit-badge {
  font-size: .68rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, .18);
  color: #93c5fd;
}

.invoice-template-deactivate {
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, .35) !important;
}

.invoice-template-label {
  font-size: .92rem;
}

.invoice-template-summary {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
}

.invoice-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}

.invoice-policy-note {
  margin: 0;
}

.invoice-vat-note {
  margin: -.25rem 0 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(78, 205, 196, .2);
  background: rgba(78, 205, 196, .06);
}

.invoice-template-type-badge {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: rgba(124, 108, 240, .15);
  color: #c4b5fd;
}

.invoice-template-manual-hint {
  font-size: .72rem;
  margin: 0;
  align-self: center;
}

.invoice-manual-section {
  margin-top: 1.25rem;
}

.invoice-manual-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.invoice-manual-search {
  flex: 1;
  min-width: 220px;
  margin: 0;
}

.invoice-manual-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.invoice-manual-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.invoice-manual-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.invoice-manual-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.invoice-manual-order-nr {
  font-family: ui-monospace, monospace;
  font-size: .88rem;
}

.invoice-manual-table-badge,
.invoice-manual-res-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(78, 205, 196, .12);
  color: var(--accent-2);
}

.invoice-manual-res-badge {
  background: rgba(167, 139, 250, .14);
  color: #ddd6fe;
}

.invoice-manual-customer {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: baseline;
  font-size: .82rem;
}

.invoice-manual-email {
  color: var(--text-muted);
  font-size: .75rem;
}

.invoice-manual-amount {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #c4b5fd;
}

.invoice-manual-date {
  color: var(--text-muted);
  font-size: .75rem;
}

.invoice-manual-details {
  font-size: .78rem;
  color: var(--text-muted);
}

.invoice-manual-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.invoice-manual-items {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.invoice-manual-items li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .75rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.invoice-manual-items li:last-child {
  border-bottom: none;
}

.invoice-manual-create {
  align-self: flex-start;
}

.invoice-manual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.invoice-manual-row-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .35rem 1rem;
  align-items: center;
  flex: 1;
  font-size: .82rem;
}

.cat-item-tax {
  font-size: .62rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cat-tax-food {
  background: rgba(78, 205, 196, .12);
  color: var(--accent-2);
}

.cat-tax-drink {
  background: rgba(124, 108, 240, .12);
  color: #c4b5fd;
}

.cat-item-tax-toggle {
  font-size: .75rem;
  opacity: .7;
}

@media (max-width: 720px) {
  .invoice-manual-row {
    flex-direction: column;
    align-items: stretch;
  }
  .invoice-manual-row-main {
    grid-template-columns: 1fr;
  }
}

.invoice-archive-quick,
.invoice-archive-filters,
.invoice-archive-export {
  margin-bottom: 1rem;
}

.invoice-archive-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .35rem;
}

.invoice-archive-chip {
  padding: .4rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, .2);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}

.invoice-archive-chip.is-active {
  border-color: rgba(167, 139, 250, .55);
  background: rgba(167, 139, 250, .18);
  color: #e9d5ff;
}

.invoice-archive-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
}

.invoice-archive-date-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.invoice-archive-date-row.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.invoice-archive-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}

.invoice-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: .75rem;
}

.invoice-year-select {
  min-width: 120px;
  margin: 0;
}

.invoice-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.invoice-folder-path {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0 0 .75rem;
  font-family: ui-monospace, monospace;
}

.invoice-archive-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, .1);
}

.invoice-archive-head,
.invoice-archive-row {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) 82px minmax(120px, 1.2fr) 1fr 88px 72px;
  gap: .65rem;
  align-items: center;
  padding: .65rem 1rem;
}

.invoice-archive-head {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, .18);
  border-bottom: 1px solid var(--border);
}

.invoice-archive-list {
  display: flex;
  flex-direction: column;
}

.invoice-archive-row {
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.invoice-archive-row:last-child {
  border-bottom: none;
}

.invoice-archive-nr {
  font-weight: 600;
  font-family: ui-monospace, monospace;
  font-size: .78rem;
}

.invoice-archive-customer {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-archive-seat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  color: var(--text-muted);
}

.invoice-archive-amount {
  font-weight: 700;
  color: #c4b5fd;
  text-align: right;
}

.invoice-archive-dl {
  justify-self: end;
}

.invoice-archive-empty {
  padding: 1.25rem 1rem;
  margin: 0;
}

.invoice-archive-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem .75rem;
  align-items: center;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .15);
}

.invoice-archive-item-main {
  display: grid;
  grid-template-columns: minmax(100px, 1.2fr) 90px 1fr auto;
  gap: .65rem;
  align-items: center;
  font-size: .82rem;
}

.invoice-archive-amount {
  font-weight: 700;
  color: #c4b5fd;
  text-align: right;
}

.invoice-archive-item-meta {
  grid-column: 1 / -1;
  font-size: .72rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

@media (max-width: 960px) {
  .invoice-layout { grid-template-columns: 1fr; }
  .invoice-doc-parties { grid-template-columns: 1fr; }
  .invoice-template-grid { grid-template-columns: 1fr; }
  .invoice-archive-head { display: none; }
  .invoice-archive-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "nr amount"
      "date date"
      "seat seat"
      "customer customer"
      "btn btn";
  }
  .invoice-archive-nr { grid-area: nr; }
  .invoice-archive-date { grid-area: date; color: var(--text-muted); font-size: .75rem; }
  .invoice-archive-seat { grid-area: seat; white-space: normal; }
  .invoice-archive-customer { grid-area: customer; white-space: normal; }
  .invoice-archive-amount { grid-area: amount; }
  .invoice-archive-dl { grid-area: btn; width: 100%; }
  .invoice-right-stack { order: 2; }
  .invoice-data-panel { order: 1; }
}

.preview-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.preview-icon { font-size: 2.5rem; }
.preview-header h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.preview-header p { font-size: .82rem; color: var(--text-muted); }

.preview-product {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}

.preview-product:last-child { border-bottom: none; }

.subsection-title {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 1rem 0 .75rem;
}

/* ── Footer switch ── */
.footer-switch {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-switch-link {
  color: var(--accent-2);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
}

.footer-switch-link:hover { text-decoration: underline; }

.header-dashboard .btn-menu { order: -1; }

/* ── Katalog ── */
.catalog-page .page { max-width: 1100px; }

.catalog-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.catalog-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}

.catalog-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.catalog-panel-head h2 {
  font-size: .95rem;
  font-weight: 700;
}

.panel-sub {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

.catalog-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(124,108,240,.2);
  color: var(--accent);
}

.catalog-add-form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cat-icon-input { max-width: 4rem; text-align: center; }

.btn-sm-block {
  font-size: .8rem;
  padding: .55rem 1rem;
}

.btn-sm { font-size: .78rem; padding: .45rem .9rem; }

.category-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-height: 420px;
  overflow-y: auto;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}

.cat-item.active {
  border-color: rgba(124,108,240,.45);
  background: rgba(124,108,240,.1);
}

.cat-item-select {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: .85rem;
  padding: .55rem .6rem;
  cursor: pointer;
  text-align: left;
}

.catalog-category-editor {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(167, 139, 250, .35);
  border-radius: var(--radius-sm);
  background: rgba(124, 108, 240, .08);
}

.catalog-category-editor-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cat-editor-icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.cat-editor-icon-block .btn-ghost {
  font-size: .68rem;
  padding: .2rem .45rem;
}

.cat-editor-icon-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .5rem;
  border: 1px dashed rgba(167, 139, 250, .45);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .15);
  color: inherit;
  font: inherit;
}

.cat-editor-icon-change {
  font-size: .68rem;
  color: #c4b5fd;
  font-weight: 600;
}

.catalog-textarea {
  resize: vertical;
  min-height: 3.5rem;
}

.cat-item.is-child {
  margin-left: calc(.65rem + var(--cat-depth, 1) * .85rem);
}

.cat-editor-icon.cat-icon-img,
.cat-editor-icon.cat-icon-emoji {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
}

.cat-editor-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.cat-editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.cat-item-icon { font-size: 1.1rem; }

.cat-item-icon-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
}

.cat-item-icon-wrap:hover { opacity: .85; }

.cat-icon-picker {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cat-icon-picker.hidden { display: none; }

.cat-icon-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
}

.cat-icon-picker-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  border: 1px solid rgba(167, 139, 250, .4);
  border-radius: var(--radius);
  background: #14121c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.cat-icon-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.cat-icon-picker-head h3 { margin: 0; font-size: 1rem; }

.cat-icon-picker-depts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.cat-icon-dept-tab {
  padding: .35rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, .2);
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}

.cat-icon-dept-tab.is-active {
  border-color: rgba(167, 139, 250, .55);
  background: rgba(167, 139, 250, .18);
  color: #e9d5ff;
}

.cat-icon-dept-tab.is-soon { opacity: .55; cursor: not-allowed; }

.cat-icon-picker-body { padding: 1rem; }

.cat-icon-picker-section + .cat-icon-picker-section { margin-top: 1rem; }

.cat-icon-picker-section-title {
  margin: 0 0 .65rem;
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cat-icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: .65rem;
}

.cat-icon-picker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .65rem .45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .2);
  color: var(--text);
  font-size: .72rem;
  cursor: pointer;
}

.cat-icon-picker-item:hover {
  border-color: rgba(167, 139, 250, .55);
}

.cat-icon-picker-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .08);
}

body.cat-icon-picker-open { overflow: hidden; }

.cat-icon-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  background: rgba(255, 255, 255, .06);
}

.cat-icon-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
}

.cat-item-icon-rm {
  font-size: .75rem !important;
}

.active-cat-icon.cat-icon-img {
  width: 1.35rem;
  height: 1.35rem;
  vertical-align: middle;
  margin-right: .35rem;
}

.active-cat-icon.cat-icon-emoji {
  width: auto;
  height: auto;
  margin-right: .25rem;
}

.menu-cat-tab .cat-icon-img,
.profile-cat-pill .cat-icon-img {
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: middle;
  margin-right: .25rem;
}

.menu-cat-tab .cat-icon-emoji,
.profile-cat-pill .cat-icon-emoji {
  margin-right: .2rem;
}

.kunden-menu-cat-title {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.kunden-menu-cat-icon.cat-icon-img {
  width: 1.75rem;
  height: 1.75rem;
}

.menu-product-cat-icon.cat-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.offer-menu-cat-icon.cat-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
  margin-right: .25rem;
}

.catalog-cat-icon-hint {
  font-size: .78rem;
  line-height: 1.35;
  margin: .35rem 0 .65rem;
}
.cat-item-name { flex: 1; font-weight: 600; }
.cat-item-count {
  font-size: .7rem;
  color: var(--text-muted);
  background: var(--surface-hover);
  padding: .1rem .45rem;
  border-radius: 999px;
}

.cat-item-actions {
  display: flex;
  gap: .15rem;
  padding-right: .25rem;
}

.btn-icon-danger { color: #ff6b9d !important; }

.catalog-input,
.catalog-select {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: .85rem;
  padding: .6rem .75rem;
  outline: none;
  transition: border-color .2s;
}

.catalog-input:focus,
.catalog-select:focus {
  border-color: rgba(124,108,240,.5);
}

.product-cards {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.prod-card {
  background: rgba(0,0,0,.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: opacity .2s;
}

.prod-card.inactive { opacity: .5; }

.prod-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: start;
  margin-bottom: .75rem;
}

.prod-move { display: flex; flex-direction: column; gap: .2rem; }

.prod-fields { display: flex; flex-direction: column; gap: .4rem; }

.prod-price-row {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.prod-price-row .catalog-input { max-width: 120px; }

.price-suffix {
  color: var(--text-muted);
  font-size: .85rem;
}

.prod-actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.prod-images {
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}

.prod-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .6rem;
}

.prod-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-thumb-kb {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: .55rem;
  text-align: center;
  background: rgba(0,0,0,.7);
  color: var(--accent-2);
  padding: 1px 0;
}

.prod-thumb-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(255,107,157,.9);
  color: #fff;
  font-size: .65rem;
  cursor: pointer;
  line-height: 1;
}

.prod-upload {
  display: block;
  padding: .65rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.prod-upload:hover { border-color: var(--accent); color: var(--text); }
.prod-upload.disabled { opacity: .4; pointer-events: none; }
.prod-upload input { display: none; }

/* Angebot der Woche */
.catalog-offer {
  margin-bottom: 2rem;
  border-color: rgba(255,200,80,.2);
  background: rgba(255,200,80,.04);
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-switch input { accent-color: #ffc850; width: auto; }

.offer-add-row {
  display: grid;
  grid-template-columns: 1fr 1fr 120px auto;
  gap: .5rem;
  margin-bottom: 1rem;
}

.offer-list { display: flex; flex-direction: column; gap: .5rem; }

.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.offer-item-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
}

.offer-item-cat {
  font-size: .72rem;
  color: var(--text-muted);
  background: var(--surface-hover);
  padding: .15rem .5rem;
  border-radius: 999px;
}

.offer-price-old { color: var(--text-muted); text-decoration: line-through; font-size: .8rem; }
.offer-arrow { color: var(--accent-2); }
.offer-price-input { max-width: 90px; padding: .35rem .5rem !important; }

.offer-item-actions { display: flex; gap: .2rem; }

.preview-offer {
  margin-bottom: 1rem;
  padding: .75rem;
  background: rgba(255,200,80,.08);
  border: 1px solid rgba(255,200,80,.2);
  border-radius: var(--radius-sm);
}

.preview-offer strong { display: block; margin-bottom: .5rem; font-size: .85rem; color: #ffc850; }

.preview-product.offer s { color: var(--text-muted); margin-right: .35rem; }

.preview-prod-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: .5rem;
  vertical-align: middle;
}

.preview-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Katalog – vereinfacht */
.catalog-simple .catalog-hero-simple {
  text-align: left;
  margin-bottom: 1rem;
}

.catalog-simple .catalog-hero-simple h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.catalog-simple .catalog-hero-simple .page-desc {
  font-size: .85rem;
}

.catalog-layout-simple {
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 0.75rem;
  align-self: start;
  width: 100%;
  height: calc(100dvh - 7rem);
  max-height: calc(100dvh - 7rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.catalog-sidebar-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: static;
  padding: 1rem;
  padding-bottom: 0.65rem;
}

.catalog-sidebar-panel .catalog-panel-head,
.catalog-sidebar-panel .catalog-add-form {
  flex-shrink: 0;
}

.catalog-sidebar-panel .catalog-add-form {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
}

/* Scroll-Container für Hauptkategorien – unabhängig vom Rest der Seite */
.category-tree-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  margin: 0 -0.15rem 0 0;
  padding: 0 0.35rem 0.5rem 0;
  border-radius: var(--radius-sm);
}

.category-tree-scroll::-webkit-scrollbar {
  width: 6px;
}

.category-tree-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.category-tree-scroll::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.45);
  border-radius: 999px;
}

.category-tree-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.65);
}

.catalog-sidebar-panel .category-tree-scroll {
  flex: 1 1 0;
  min-height: 140px;
}

.catalog-workspace {
  min-height: 420px;
}

.catalog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(167, 139, 250, .18);
}

.catalog-breadcrumb.hidden { display: none; }

.catalog-crumb {
  border: none;
  background: rgba(124, 108, 240, .12);
  color: #ddd6fe;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  padding: .28rem .65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.catalog-crumb:hover { background: rgba(124, 108, 240, .22); }

.catalog-crumb.is-current {
  background: linear-gradient(135deg, rgba(124, 108, 240, .35), rgba(167, 139, 250, .18));
  color: #fff;
  cursor: default;
}

.catalog-crumb-sep {
  color: var(--text-muted);
  font-size: .75rem;
  user-select: none;
}

.catalog-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(167, 139, 250, .28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .12);
}

.catalog-empty-icon {
  font-size: 2.4rem;
  margin-bottom: .75rem;
}

.catalog-empty-state h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.catalog-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-workspace-head h2 {
  margin: .15rem 0 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.catalog-step-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(124, 108, 240, .15);
  border: 1px solid rgba(167, 139, 250, .25);
  padding: .18rem .5rem;
  border-radius: 999px;
  margin-bottom: .35rem;
}

.catalog-step-badge.is-step-2 { color: #86efac; border-color: rgba(74, 222, 128, .25); background: rgba(34, 197, 94, .1); }

.catalog-root-editor {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(124, 108, 240, .1), rgba(0, 0, 0, .12));
}

.catalog-root-editor-grid {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: start;
}

.cat-root-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  width: 100%;
  padding: .55rem;
  border: 1px dashed rgba(167, 139, 250, .4);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .18);
  color: #c4b5fd;
  font: inherit;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
}

.cat-root-icon-btn:hover { border-color: var(--accent); }

.cat-root-icon,
.cat-root-icon.cat-icon-img,
.cat-root-icon.cat-icon-emoji {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.8rem;
  border-radius: .65rem;
}

.catalog-root-fields {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.catalog-subzones {
  padding-top: .25rem;
}

.catalog-subzones-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}

.catalog-subzones-head h3 {
  margin: .15rem 0 0;
  font-size: 1rem;
}

.catalog-subzone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .65rem;
}

.catalog-subzone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: .85rem .65rem;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .14);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .15s, border-color .2s, background .2s;
  text-align: center;
}

.catalog-subzone-card:hover {
  border-color: rgba(167, 139, 250, .45);
  background: rgba(124, 108, 240, .1);
  transform: translateY(-1px);
}

.catalog-subzone-card.is-active {
  border-color: rgba(124, 108, 240, .65);
  background: rgba(124, 108, 240, .16);
  box-shadow: 0 0 0 1px rgba(124, 108, 240, .2);
}

.subzone-icon-wrap {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: rgba(0, 0, 0, .2);
}

.subzone-icon,
.subzone-icon.cat-icon-img,
.subzone-icon.cat-icon-emoji {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.5rem;
}

.subzone-name {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
}

.subzone-meta {
  font-size: .68rem;
  color: var(--text-muted);
}

.catalog-subzone-empty {
  grid-column: 1 / -1;
  padding: 1.25rem;
  border: 1px dashed rgba(167, 139, 250, .25);
  border-radius: var(--radius-sm);
  text-align: center;
}

.catalog-products-area {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(167, 139, 250, .15);
}

.cat-editor-inherit-hint {
  font-size: .72rem;
  color: var(--text-muted);
}

/* Kategorie-Baum (Sidebar) */
.category-tree {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: min-content;
}

.cat-tree-group {
  border: 1px solid rgba(167, 139, 250, .14);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.cat-tree-group.is-expanded {
  border-color: rgba(167, 139, 250, .35);
  background: rgba(124, 108, 240, .06);
}

.cat-tree-group.is-selected {
  border-color: rgba(124, 108, 240, .4);
}

.cat-tree-root-main {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .75rem;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}

.cat-tree-root-main:hover { background: rgba(124, 108, 240, .1); }

.cat-tree-group.is-expanded .cat-tree-root-main {
  background: rgba(124, 108, 240, .12);
  border-bottom: 1px solid rgba(167, 139, 250, .12);
}

.cat-tree-chevron {
  flex-shrink: 0;
  width: .5rem;
  height: .5rem;
  border-right: 2px solid #c4b5fd;
  border-bottom: 2px solid #c4b5fd;
  transform: rotate(-45deg);
  transition: transform .2s;
  margin-right: .1rem;
}

.cat-tree-group.is-expanded .cat-tree-chevron {
  transform: rotate(45deg);
  margin-top: -.12rem;
}

.cat-tree-icon-wrap {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  background: rgba(124, 108, 240, .12);
}

.cat-tree-icon,
.cat-tree-icon.cat-icon-img,
.cat-tree-icon.cat-icon-emoji {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1.2rem;
}

.cat-tree-body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.cat-tree-name {
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-tree-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  font-size: .66rem;
  color: var(--text-muted);
}

.cat-tree-children {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .5rem .55rem .6rem 1.85rem;
  background: rgba(0, 0, 0, .08);
  animation: catTreeSlide .18s ease-out;
}

@keyframes catTreeSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-tree-empty-subs {
  margin: 0;
  padding: .35rem .2rem;
  font-size: .68rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cat-tree-sub {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .45rem .55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cat-tree-sub:hover {
  background: rgba(124, 108, 240, .1);
  border-color: rgba(167, 139, 250, .18);
}

.cat-tree-sub.is-active {
  background: rgba(124, 108, 240, .18);
  border-color: rgba(124, 108, 240, .4);
}

.cat-tree-sub-icon-wrap {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-tree-sub-icon,
.cat-tree-sub-icon.cat-icon-img,
.cat-tree-sub-icon.cat-icon-emoji {
  width: 1.25rem;
  height: 1.25rem;
  font-size: .95rem;
}

.cat-tree-sub-name {
  flex: 1;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-tree-sub-count {
  font-size: .65rem;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(124, 108, 240, .15);
  padding: .12rem .4rem;
  border-radius: 999px;
}

.cat-tree-add-sub {
  margin-top: .15rem;
  width: 100%;
  padding: .4rem .55rem;
  border: 1px dashed rgba(167, 139, 250, .3);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #c4b5fd;
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
}

.cat-tree-add-sub:hover {
  border-color: var(--accent);
  background: rgba(124, 108, 240, .08);
}

.catalog-panel-simple {
  padding: 1rem;
  backdrop-filter: none;
}

.catalog-add-inline {
  flex-direction: row;
  align-items: center;
  gap: .4rem;
  padding-bottom: .75rem;
  margin-bottom: .75rem;
}

.catalog-add-inline .catalog-input { flex: 1; }

.catalog-add-inline .btn-sm {
  flex-shrink: 0;
  min-width: 2.5rem;
  padding: .55rem .65rem;
}

.catalog-simple .cat-item-del {
  margin-right: .25rem;
  opacity: .6;
}

.catalog-simple .cat-item:hover .cat-item-del { opacity: 1; }

.product-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.prod-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
}

.prod-row.inactive { opacity: .55; }

.prod-row-main {
  display: grid;
  grid-template-columns: 1fr 100px auto auto;
  gap: .4rem;
  align-items: center;
  padding: .5rem .6rem;
}

.prod-row-main .prod-name { font-size: .82rem; }

.prod-row-main .prod-price { max-width: 100%; padding: .45rem .55rem; font-size: .82rem; }

.prod-row-main .prod-toggle { min-width: 2.5rem; padding: .35rem .5rem; }

.prod-row-details {
  border-top: 1px solid var(--border);
  padding: 0 .6rem .5rem;
}

.prod-row-details summary {
  cursor: pointer;
  font-size: .72rem;
  color: var(--text-muted);
  padding: .4rem 0;
}

.prod-row-details .prod-images { padding-top: .35rem; border-top: none; }

.catalog-offer-simple {
  border-color: var(--border);
  background: var(--surface);
}

.toggle-switch-simple input { accent-color: var(--accent); }

.offer-add-simple {
  grid-template-columns: 1fr 1fr 100px auto;
}

.offer-list-simple .offer-item-simple {
  padding: .55rem .75rem;
}

.catalog-details {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}

.catalog-details summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.catalog-details[open] summary { margin-bottom: .75rem; }

/* ── Angebot der Woche (eigene Seite) ── */
.wot-page .wot-main {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.wot-hero { margin-bottom: 1.25rem; }

.wot-status-panel,
.wot-wizard-panel {
  margin-bottom: 1.25rem;
}

.wot-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.wot-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .55rem .35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(167, 139, 250, .14);
  background: rgba(0, 0, 0, .12);
  font-size: .68rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}

.wot-step span:first-child {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .75rem;
  background: rgba(167, 139, 250, .12);
  color: var(--text-muted);
}

.wot-step.is-active {
  border-color: rgba(167, 139, 250, .45);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .15);
}

.wot-step.is-active span:first-child,
.wot-step.is-done span:first-child {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.wot-step.is-done {
  color: var(--text);
  opacity: .85;
}

.wot-step-panel h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.wot-select-wide { width: 100%; max-width: 100%; }

.wot-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.wot-product-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  max-height: min(52dvh, 420px);
  overflow-y: auto;
  padding-right: .25rem;
  margin-bottom: 1rem;
}

.wot-product-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(167, 139, 250, .12);
  background: rgba(0, 0, 0, .1);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.wot-product-row.is-selected {
  border-color: rgba(78, 205, 196, .45);
  background: rgba(78, 205, 196, .06);
}

.wot-product-row input { accent-color: var(--accent-2); }

.wot-product-name { font-weight: 600; font-size: .88rem; }

.wot-product-prices {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  white-space: nowrap;
}

.wot-product-offer { color: var(--accent-2); font-weight: 700; }

.wot-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: .75rem 0 1rem;
}

.wot-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
  padding-top: .5rem;
  border-top: 1px solid rgba(167, 139, 250, .12);
}

.wot-confirm-btn { min-width: 220px; }

.wot-summary {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(167, 139, 250, .18);
  background: rgba(0, 0, 0, .14);
  margin-bottom: 1rem;
}

.wot-summary-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .75rem;
  margin: 0 0 .75rem;
  font-size: .85rem;
}

.wot-summary-grid dt { color: var(--text-muted); }
.wot-summary-grid dd { margin: 0; font-weight: 600; }

.wot-summary-products {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .82rem;
}

.wot-active-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.wot-active-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(167, 139, 250, .12);
  background: rgba(0, 0, 0, .1);
}

.wot-active-item-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.wot-active-item-path {
  font-size: .72rem;
  color: var(--text-muted);
}

.wot-active-item-prices {
  font-size: .82rem;
}

.wot-active-item-prices s { color: var(--text-muted); }

@media (max-width: 700px) {
  .wot-steps { grid-template-columns: repeat(2, 1fr); }
  .wot-form-grid { grid-template-columns: 1fr; }
  .wot-step-actions { justify-content: stretch; }
  .wot-step-actions .btn-primary,
  .wot-step-actions .btn-sm { flex: 1; }
}

/* ── Homepage Layout (vertikal gestapelt) ── */
.home-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.home-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  padding-top: 1rem;
}

.home-hero-center .hero-desc {
  margin-bottom: 2rem;
}

.home-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-section {
  width: 100%;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.home-section-kicker {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .45rem;
}

.home-section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
}

/* Fotograf – volle Breite, links nach rechts */
.home-fotograf-panel {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr minmax(200px, 260px);
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 2rem;
  border: 1px solid rgba(110, 181, 255, .28);
  background: linear-gradient(135deg, rgba(110, 181, 255, .1) 0%, rgba(124, 108, 240, .06) 55%, rgba(78, 205, 196, .04) 100%);
}

.home-fotograf-kicker {
  color: #93c5fd;
}

.home-fotograf-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border);
}

.home-fotograf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-fotograf-photo img.fotograf-logo {
  object-fit: contain;
  padding: .75rem;
  background: #0a0a0a;
}

.home-fotograf-photo-ph {
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: 2rem;
  padding: 1rem;
}

.home-fotograf-photo-ph small {
  font-size: .65rem;
  line-height: 1.4;
  text-align: center;
}

.home-fotograf-lead {
  margin: 0 0 .65rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.home-fotograf-meta {
  margin: 0 0 1rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}

.home-fotograf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-fotograf-tags li {
  font-size: .72rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 181, 255, .25);
  background: rgba(110, 181, 255, .08);
  color: #bfdbfe;
}

.home-fotograf-side {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.home-fotograf-price-card {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
}

.home-fotograf-price-secondary {
  border-color: rgba(124, 108, 240, .3);
}

.home-fotograf-price-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

.home-fotograf-price {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: .25rem;
}

.home-fotograf-price-card p {
  margin: 0;
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.home-fotograf-btn {
  margin-top: .35rem;
  text-align: center;
  text-decoration: none;
  font-size: .85rem;
}

.home-sections .vision-block {
  margin-top: 0;
}

/* Legacy hero-split (andere Seiten) */
.hero-split {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100dvh - 140px);
}

.hero-split .hero-content {
  flex: 1;
  max-width: 560px;
  text-align: center;
}

.trust-counter {
  position: relative;
  margin: 2rem auto;
  max-width: 320px;
}

.trust-counter-inner {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  text-align: center;
}

.trust-count {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #b8e0ff, #fff, #7c6cf0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.trust-count-empty {
  animation: trustPulse 2.5s ease-in-out infinite;
}

@keyframes trustPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.trust-label {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  margin-top: .35rem;
}

.trust-sub {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.trust-pulse {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(124,108,240,.25);
  animation: trustRing 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes trustRing {
  0%, 100% { opacity: .3; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.02); }
}

.info-free {
  min-height: 80px;
  margin-top: 1.5rem;
}

/* Sidebar Fotograf 120px vom rechten Rand, max 600px hoch */
.hero-sidebar {
  flex-shrink: 0;
  width: 280px;
  margin-right: 120px;
  margin-top: 2rem;
}

.sidebar-panel {
  height: 600px;
  max-height: calc(100dvh - 180px);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  text-align: center;
}

.sidebar-kicker {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #b8e0ff, #fff, #6eb5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .75rem;
}

.sidebar-photo {
  flex: 1;
  min-height: 200px;
  max-height: 340px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0,0,0,.3);
  margin-bottom: .75rem;
  position: relative;
}

.sidebar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-photo img.fotograf-logo,
.fotograf-hero-img-wrap img.fotograf-logo {
  object-fit: contain;
  padding: .75rem;
  background: #0a0a0a;
}

.sidebar-photo-ph {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: 2rem;
  padding: 1rem;
}

.sidebar-photo-ph small { font-size: .65rem; line-height: 1.4; }

.sidebar-text {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  line-height: 1.45;
}

.sidebar-btn { font-size: .82rem; padding: .65rem 1rem; }

/* Fotograf Seite */
.fotograf-page { max-width: 800px; }

.fotograf-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.fotograf-hero-img-wrap {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.fotograf-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fotograf-hero-ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.fotograf-hero-text .lead { color: var(--text-muted); font-size: .95rem; margin-top: .75rem; }

.fotograf-section { margin-bottom: 2.5rem; }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.pricing-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.pricing-highlight { border-color: rgba(124,108,240,.35); background: rgba(124,108,240,.08); }

.pricing-card h3 { font-size: .9rem; margin-bottom: .35rem; }
.pricing-price { font-size: 1.5rem; font-weight: 800; color: var(--accent-2); margin-bottom: .5rem; }
.pricing-card p { font-size: .82rem; color: var(--text-muted); }

.fotograf-note {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-muted);
}

.fotograf-note p { margin-bottom: .65rem; }
.fotograf-note p:last-child { margin-bottom: 0; }

.discount-gift {
  margin-top: 1rem !important;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  color: var(--accent-2) !important;
}

.discount-gift a { color: var(--accent-2); }

.booking-form textarea { resize: vertical; min-height: 80px; }

.price-preview-box {
  padding: 1rem;
  background: rgba(78,205,196,.08);
  border: 1px solid rgba(78,205,196,.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  text-align: center;
}

.price-old { text-decoration: line-through; color: var(--text-muted); margin-right: .5rem; }
.price-new { font-size: 1.4rem; font-weight: 800; color: var(--accent-2); }
.price-note { display: block; font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* Rabatte */
.discount-list { display: flex; flex-direction: column; gap: .75rem; }

.discount-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.discount-card.used { opacity: .5; }

.discount-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.discount-percent {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-2);
}

.discount-label { font-size: .85rem; font-weight: 600; }

.discount-code {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .5rem .75rem;
  background: rgba(0,0,0,.3);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
}

.discount-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }

.welcome-banner {
  text-align: center;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(78,205,196,.1);
  border: 1px solid rgba(78,205,196,.25);
  border-radius: var(--radius);
}

.welcome-banner .welcome-code {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: .5rem;
  letter-spacing: .06em;
  color: var(--accent-2);
}

/* Header Abo-Pill */
.header-abo-pill {
  font-size: 1.44rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--accent-2);
  border: 1px solid rgba(78,205,196,.35);
  background: rgba(78,205,196,.08);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
  line-height: 1.1;
}

.header-abo-pill:hover,
.header-abo-pill.active {
  background: rgba(78,205,196,.15);
  border-color: rgba(78,205,196,.5);
}

/* Fotograf Triple Hero */
.fotograf-hero-triple {
  grid-template-columns: 180px 1fr 180px;
  gap: 1.25rem;
  align-items: start;
}

.fotograf-partner-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--accent-2);
}

.fotograf-partner-role {
  font-size: .78rem;
  color: var(--text-muted);
}

.fotograf-hero-img-secondary { position: relative; }

.img-hint {
  display: block;
  text-align: center;
  font-size: .6rem;
  color: var(--text-muted);
  margin-top: .35rem;
}

.fotograf-note-short p { margin-bottom: .5rem; font-size: .82rem; }

/* ── Abo Page (modern pricing) ── */
.abo-page { background: #050508; min-height: 100dvh; }

.abo-page .header,
.abo-page .abo-main,
.abo-page .abo-footer { position: relative; z-index: 2; }

.abo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.abo-bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); }

.abo-bg-1 {
  width: 55vw; max-width: 520px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(124,108,240,.55), transparent 70%);
  top: -12%; left: -8%;
  animation: float1 18s ease-in-out infinite;
}

.abo-bg-2 {
  width: 45vw; max-width: 440px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(78,205,196,.4), transparent 70%);
  bottom: 5%; right: -6%;
  animation: float2 22s ease-in-out infinite;
}

.abo-bg-3 {
  width: 30vw; max-width: 300px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,107,157,.25), transparent 70%);
  top: 45%; left: 40%;
  animation: float3 16s ease-in-out infinite;
}

.abo-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

.abo-main { max-width: 960px; margin: 0 auto; padding: 1rem 1.25rem 4rem; }

.abo-hero { text-align: center; padding: 1.5rem 0 2.5rem; }

.abo-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); padding: .35rem 1rem; border-radius: 999px;
  border: 1px solid rgba(78,205,196,.25); background: rgba(78,205,196,.08);
  margin-bottom: 1.25rem;
}

.abo-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; margin-bottom: .75rem;
}

.abo-lead {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 480px; margin: 0 auto 1.75rem;
}

.abo-trust-row {
  display: inline-flex; align-items: center; gap: 1.25rem;
  padding: .85rem 1.5rem; background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 999px; backdrop-filter: blur(12px);
}

.abo-trust-item { display: flex; flex-direction: column; align-items: center; gap: .1rem; }

.abo-trust-item strong {
  font-size: 1.1rem; font-weight: 800;
  background: linear-gradient(135deg, #b8e0ff, #fff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.abo-trust-item span {
  font-size: .65rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}

.abo-trust-divider { width: 1px; height: 28px; background: var(--border); }

.abo-pricing-wrap { margin-bottom: 2.5rem; }

.abo-pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem; align-items: stretch;
}

.abo-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem; background: rgba(14,14,22,.75);
  border: 1px solid rgba(255,255,255,.08); border-radius: 20px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform .25s, border-color .25s;
}

.abo-plan:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.14); }

.abo-plan-popular { border-color: rgba(124,108,240,.5); background: rgba(124,108,240,.12); }

.abo-plan-glow {
  position: absolute; inset: -1px; border-radius: 20px; z-index: -1;
  background: linear-gradient(135deg, rgba(124,108,240,.35), rgba(78,205,196,.15), transparent);
  opacity: .6; filter: blur(20px);
}

.abo-popular-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  padding: .3rem .85rem; border-radius: 999px;
  background: linear-gradient(135deg, #7c6cf0, #4ecdc4); color: #fff;
  box-shadow: 0 4px 20px rgba(124,108,240,.4);
}

.abo-plan-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }

.abo-plan-icon {
  font-size: 1.75rem; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border-radius: 12px;
}

.abo-plan-head h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: .15rem; }
.abo-plan-head p { font-size: .78rem; color: var(--text-muted); }

.abo-plan-price { display: flex; align-items: baseline; gap: .15rem; margin-bottom: .35rem; }

.abo-amount { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.abo-currency { font-size: 1.25rem; font-weight: 700; color: var(--text-muted); }
.abo-period { font-size: .85rem; color: var(--text-muted); margin-left: .25rem; }

.abo-equiv {
  font-size: .78rem; color: var(--accent-2); margin-bottom: 1rem;
  padding: .35rem .65rem; background: rgba(78,205,196,.1); border-radius: 8px; display: inline-block;
}

.abo-features { list-style: none; flex: 1; margin: 1rem 0 1.5rem; }

.abo-features li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: rgba(240,240,245,.85);
  padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.04);
}

.abo-features li:last-child { border-bottom: none; }

.abo-check {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; border-radius: 50%;
  background: rgba(78,205,196,.15); color: var(--accent-2); flex-shrink: 0;
}

.abo-btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  font: inherit; font-weight: 600; font-size: .9rem;
  padding: .85rem 1.25rem; border-radius: 12px;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.abo-btn:hover { transform: translateY(-1px); }

.abo-btn-primary {
  background: linear-gradient(135deg, #7c6cf0, #9b8aff); color: #fff; border: none;
  box-shadow: 0 8px 28px rgba(124,108,240,.35);
}

.abo-btn-outline {
  background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.15);
}

.abo-btn-outline:hover { background: rgba(255,255,255,.06); }

.abo-btn-ghost { background: rgba(255,255,255,.05); color: var(--text-muted); border: 1px solid var(--border); }

.abo-compare, .abo-addons { margin-bottom: 2rem; }

.abo-compare-title {
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted); margin-bottom: .85rem; text-align: center;
}

.abo-compare-table {
  background: rgba(14,14,22,.6); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; backdrop-filter: blur(12px);
}

.abo-compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .5rem;
  padding: .75rem 1.25rem; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.05); align-items: center;
}

.abo-compare-row:last-child { border-bottom: none; }

.abo-compare-head {
  background: rgba(255,255,255,.04); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
}

.abo-compare-row span:not(:first-child) { text-align: center; font-weight: 600; }
.abo-highlight { color: var(--accent-2) !important; }
.abo-compare-price { background: rgba(124,108,240,.08); font-weight: 700; }
.abo-compare-price span:last-child { color: var(--accent-2); }

.abo-addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

.abo-addon-tile {
  text-align: center; padding: 1.25rem 1rem;
  background: rgba(14,14,22,.6); border: 1px solid var(--border);
  border-radius: 14px; backdrop-filter: blur(10px);
}

.abo-addon-tile-accent { border-color: rgba(78,205,196,.3); background: rgba(78,205,196,.08); }

.abo-addon-num {
  display: block; font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem;
  background: linear-gradient(135deg, #fff, #b8e0ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.abo-addon-tile-accent .abo-addon-num {
  background: linear-gradient(135deg, #4ecdc4, #fff);
  -webkit-background-clip: text; background-clip: text;
}

.abo-addon-label { font-size: .72rem; color: var(--text-muted); line-height: 1.35; }

.abo-cta-panel {
  text-align: center; padding: 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(124,108,240,.12), rgba(14,14,22,.8));
  border: 1px solid rgba(124,108,240,.25); border-radius: 20px; backdrop-filter: blur(16px);
}

.abo-cta-text {
  font-size: 1rem; margin-bottom: 1.25rem;
  max-width: 420px; margin-left: auto; margin-right: auto;
}

.abo-cta-actions {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; margin-bottom: 1rem;
}

.abo-cta-actions .abo-btn { width: auto; min-width: 180px; }

.abo-disclaimer { font-size: .72rem; color: var(--text-muted); }

.abo-footer { position: relative; z-index: 2; }

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: .75rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header:not(.header-dashboard) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0.75rem;
    padding: 0.5rem clamp(0.35rem, 2vw, 1rem);
  }

  .header:not(.header-dashboard) > .header-abo-pill {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header:not(.header-dashboard) > .logo {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .header-end {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .logo-img {
    height: 180px;
    max-width: min(100%, 540px);
  }

  .header-abo-pill {
    font-size: 1.1rem;
    padding: 0.55rem 1.15rem;
  }

  .dashboard-grid { grid-template-columns: 1fr; }
  .stat-row { gap: .5rem; }
  .stat-num { font-size: 1.4rem; }
  .nav-portal { padding: 0 .75rem; }
  .nav-portal-title { font-size: .95rem; }
  .nav-portal-links { gap: .5rem; }
  .nav-portal-links a {
    font-size: .78rem;
    color: rgba(240, 240, 245, 0.82);
  }
  .nav-divider { height: 2.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .header-meta { justify-content: flex-start; order: 3; width: 100%; }
  .profile-layout { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: auto 1fr; }
  .product-price { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-layout-simple { grid-template-columns: 1fr; }
  .catalog-sidebar {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .catalog-sidebar-panel {
    height: auto;
    max-height: none;
  }
  .catalog-sidebar-panel .category-tree-scroll {
    max-height: min(65dvh, 560px);
    min-height: 200px;
  }
  .catalog-root-editor-grid { grid-template-columns: 1fr; }
  .catalog-subzone-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .offer-add-row { grid-template-columns: 1fr; }
  .offer-add-simple { grid-template-columns: 1fr; }
  .prod-row-main { grid-template-columns: 1fr 90px auto auto; }
  .prod-card-head { grid-template-columns: 1fr; }
  .prod-move { flex-direction: row; }
@media (max-width: 900px) {
  .home-fotograf-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-fotograf-visual {
    max-width: 200px;
    margin: 0 auto;
  }

  .home-fotograf-tags {
    justify-content: center;
  }

  .hero-split { flex-direction: column; align-items: center; }
  .hero-sidebar { width: 100%; max-width: 320px; margin-right: 0; margin-top: 0; }
  .sidebar-panel { height: auto; max-height: none; }
  .fotograf-hero { grid-template-columns: 1fr; }
  .fotograf-hero-triple { grid-template-columns: 1fr; }
  .abo-pricing-grid { grid-template-columns: 1fr; }
  .abo-addon-grid { grid-template-columns: 1fr; }
  .abo-trust-row { flex-wrap: wrap; border-radius: 16px; gap: .75rem; }
}
  .abo-trust-divider { display: none; }
  .abo-compare-row { font-size: .78rem; padding: .65rem .85rem; }
  .pricing-cards { grid-template-columns: 1fr; }
  .konto-hero-card { grid-template-columns: 1fr; text-align: center; }
  .konto-hero-btn { justify-self: center; }
  .konto-avatar { margin: 0 auto; }
  .konto-perk-grid { grid-template-columns: 1fr; }
  .konto-shop-grid { grid-template-columns: 1fr; }
  .konto-layout { grid-template-columns: 1fr; }
  .konto-sidebar {
    position: static;
    overflow-x: auto;
  }
  .konto-sidebar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .35rem;
  }
  .konto-sidebar-link { white-space: nowrap; }
  .employees-layout,
  .tables-layout { grid-template-columns: 1fr; }
  .role-select-grid { grid-template-columns: 1fr 1fr; }
  .tables-grid { grid-template-columns: 1fr; }
}

/* ── Mitarbeiter-Modul ── */
.employees-page .page { max-width: 1100px; }

.employees-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.role-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .6rem;
}

.role-select-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  margin-bottom: .75rem;
}

.role-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.role-card:hover { border-color: rgba(168, 85, 247, .35); }

.role-card.selected {
  border-color: var(--accent);
  background: rgba(168, 85, 247, .12);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .25);
}

.role-card-icon { font-size: 1.4rem; }
.role-card-desc { font-size: .72rem; color: var(--text-muted); line-height: 1.35; }
.role-card-compact { padding: .55rem; align-items: center; text-align: center; }
.role-card-compact .role-card-desc { display: none; }

.role-permissions-preview {
  margin: .75rem 0 1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.role-permissions-title {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .45rem;
}

.role-permissions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .82rem;
}

.role-perm-check { color: #34d399; margin-right: .35rem; }

.employee-team-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.employee-team-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.employee-team-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .35rem;
}

.employee-team-id { color: var(--accent); font-size: .78rem; display: block; }
.employee-team-name { font-size: 1rem; }

.employee-role-badge {
  font-size: .72rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, .15);
  border: 1px solid rgba(168, 85, 247, .25);
  white-space: nowrap;
}

.employee-team-perms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .5rem 0;
  font-size: .72rem;
  color: var(--text-muted);
}

.employee-team-perms li {
  padding: .15rem .45rem;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}

.employee-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}

.employee-edit-panel { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.06); }

.emp-area-hero { text-align: center; margin-bottom: 1.5rem; }
.emp-area-placeholder { text-align: center; }

/* ── Tische-Modul ── */
.tables-page .page { max-width: 1100px; }

.tables-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.tables-legend {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.tables-legend-item { display: flex; align-items: center; gap: .4rem; }

.tables-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tables-dot-free { background: #34d399; }
.tables-dot-reserved { background: #fbbf24; }

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}

.table-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: border-color .2s;
}

.table-card.is-free { border-color: rgba(52, 211, 153, .25); }
.table-card.is-reserved {
  border-color: rgba(251, 191, 36, .4);
  background: rgba(251, 191, 36, .06);
}

.table-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .65rem;
}

.table-seats-badge {
  font-size: .7rem;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
}

.table-status-free { font-size: .82rem; color: #34d399; margin-bottom: .65rem; }
.table-reserved-label {
  display: inline-block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fbbf24;
  margin-bottom: .35rem;
}

.table-reservation-info,
.table-reservation-block p { font-size: .82rem; margin-bottom: .35rem; }
.table-res-time {
  font-size: .78rem;
  color: #fbbf24;
  margin-bottom: .35rem;
}

.table-res-notes { font-size: .75rem; color: var(--text-muted); }

.tables-dialog .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.table-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.btn-danger-text { color: #f87171 !important; }

.tables-dialog {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 1.25rem;
  background: #1a1030;
  color: var(--text);
  max-width: 400px;
  width: calc(100% - 2rem);
}

.tables-dialog::backdrop { background: rgba(0,0,0,.65); }

.tables-dialog h3 { margin-bottom: .35rem; }
.tables-dialog-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }

.tables-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1rem;
}

/* ── Abo-Modul (eigenständig, nicht Mein Konto) ── */
.abo-module-page .abo-module-main { max-width: 1200px; margin: 0 auto; }
.abo-module-hero-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(124, 108, 240, .35);
  background: linear-gradient(135deg, rgba(124, 108, 240, .14), rgba(45, 212, 191, .08));
}
.abo-module-hero-card .page-desc { margin: 0; grid-column: 1 / -1; }
.abo-module-hero-card .konto-hero-btn { justify-self: end; }
.abo-module-status-row { margin-bottom: 1rem; }
.abo-module-layout { align-items: start; }
.abo-module-content { min-width: 0; }

/* ── Abo-Portal (geschaefte/abo.html) ── */
.abo-portal-page .abo-portal-layout { align-items: start; }
.abo-portal-content { min-width: 0; }
.abo-portal-hero { margin-bottom: 1.5rem; }
.abo-portal-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-bottom: .75rem;
}
.abo-trial-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(56, 189, 148, .15);
  border: 1px solid rgba(56, 189, 148, .35);
  font-size: .78rem;
}
.abo-manage-link { margin-top: 1rem; display: inline-flex; }
.abo-portal-section { margin-bottom: 2rem; }
.abo-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.abo-section-hint {
  font-size: .82rem;
  color: var(--text-muted);
  margin: -.5rem 0 1rem;
}
.abo-portal-grid { margin-bottom: 0; }
.abo-portal-grid-sm { max-width: 720px; }
.abo-plan-blue { border-color: rgba(59, 130, 246, .45); background: rgba(59, 130, 246, .08); }
.abo-plan-purple { border-color: rgba(124, 108, 240, .55); }
.abo-plan-teal { border-color: rgba(45, 212, 191, .4); background: rgba(45, 212, 191, .07); }
.abo-plan-orange { border-color: rgba(251, 146, 60, .45); background: rgba(251, 146, 60, .08); }
.abo-plan-gold { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .07); }
.abo-plan-owned { opacity: .72; }
.abo-tier-locked .abo-pricing-grid {
  opacity: .45;
  filter: grayscale(.35);
  pointer-events: none;
}
.abo-tier-lock-banner {
  font-size: .82rem;
  color: #fcd34d;
  background: rgba(252, 211, 77, .08);
  border: 1px solid rgba(252, 211, 77, .22);
  border-radius: 10px;
  padding: .65rem .85rem;
  margin: 0 0 1rem;
}
.abo-plan-locked .abo-btn { cursor: not-allowed; }
.abo-trust-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.abo-trust-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.abo-trust-footer-grid div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.abo-trust-footer-grid strong { color: var(--text); font-size: .82rem; }
.konto-abo-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.konto-abo-links .dash-action-card small {
  display: block;
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 400;
}
.abo-total-card {
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(124, 108, 240, .28);
  background: linear-gradient(145deg, rgba(124, 108, 240, .14) 0%, rgba(59, 130, 246, .06) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  margin-bottom: 1.5rem;
}
.abo-total-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.abo-total-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, .85);
  margin-bottom: .25rem;
}
.abo-total-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.abo-total-badge {
  flex-shrink: 0;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .25);
}
.abo-total-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.abo-total-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}
.abo-total-stat-savings {
  border-color: rgba(16, 185, 129, .28);
  background: rgba(16, 185, 129, .08);
}
.abo-total-stat-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.abo-total-stat-value {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}
.abo-total-stat-savings .abo-total-stat-value { color: #6ee7b7; }
.abo-total-stat-sub {
  font-size: .72rem;
  color: rgba(255, 255, 255, .45);
}
.abo-total-note {
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
  margin: 0;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.abo-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.abo-manage-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.abo-manage-card.is-inactive { opacity: .85; }
.abo-manage-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.abo-manage-tier { font-size: .72rem; color: var(--text-muted); }
.abo-manage-status { font-size: .72rem; font-weight: 600; }
.abo-status-active { color: #6ee7b7; }
.abo-status-cancellation_pending { color: #fcd34d; }
.abo-manage-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.abo-manage-meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .85rem;
}
.abo-manage-notice {
  font-size: .78rem;
  color: #fcd34d;
  margin-bottom: .65rem;
}
.abo-module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.abo-module-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.abo-module-tab:hover { border-color: rgba(124,108,240,.4); color: var(--text); }
.abo-module-tab.is-active {
  border-color: rgba(124,108,240,.55);
  background: rgba(124,108,240,.18);
  color: var(--text);
}
.abo-module-panel.hidden { display: none; }

/* ── Abo Verwaltung (eigenes Modul – nicht Mein Konto) ── */
.abo-verwaltung-page .page-hero { margin-bottom: 1rem; }
.abo-verwaltung-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
}
.abo-status-badge {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(124, 108, 240, .2);
  border: 1px solid rgba(124, 108, 240, .35);
}
.abo-verwaltung-section { margin-bottom: 2rem; }
.abo-verwaltung-section .section-title { margin-bottom: 1rem; }

@media (max-width: 900px) {
  .abo-trust-footer-grid { grid-template-columns: 1fr 1fr; }
  .konto-abo-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .abo-trust-footer-grid { grid-template-columns: 1fr; }
}
/* ── Homepage Team-Panel (unten neben PM) ── */
.home-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.home-bottom-grid .vision-block {
  margin-top: 0;
  height: 100%;
}

.home-team-panel {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, .35);
  background: linear-gradient(145deg, rgba(245, 158, 11, .12) 0%, rgba(124, 108, 240, .08) 100%);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.home-team-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, .55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.home-team-panel-kicker {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fbbf24;
  margin-bottom: .5rem;
}

.home-team-panel-title {
  font-size: 1.15rem;
  margin: 0 0 .75rem;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-team-panel-lead {
  margin: 0 0 1.15rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-team-panel-apps {
  display: grid;
  gap: .65rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.home-team-app-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .22);
}

.home-team-app-android { border-color: rgba(52, 211, 153, .25); }
.home-team-app-windows { border-color: rgba(124, 108, 240, .3); }
.home-team-app-supplier { border-color: rgba(245, 158, 11, .22); }
.home-team-app-soon {
  opacity: .88;
  background: rgba(0, 0, 0, .14);
}

.home-team-app-soon-badge {
  display: inline-block;
  margin-left: .35rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
  background: rgba(245, 158, 11, .18);
  color: #fcd34d;
}

.home-team-app-future-note {
  color: #fbbf24 !important;
  font-style: italic;
}

.home-team-app-platform {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  white-space: nowrap;
}

.home-team-app-row strong {
  display: block;
  font-size: .88rem;
  margin-bottom: .15rem;
}

.home-team-app-size {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.home-team-panel-btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: .85rem;
  text-decoration: none;
}

.home-sections a.home-team-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2rem;
}

.home-team-panel-intro {
  display: flex;
  flex-direction: column;
}

.home-sections .home-team-panel-apps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 0;
}

.home-team-app-desc {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: .2rem;
}

.home-sections .home-team-panel-btn {
  align-self: flex-start;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .home-bottom-grid { grid-template-columns: 1fr; }
  .home-sections a.home-team-panel { grid-template-columns: 1fr; }
  .home-sections .home-team-panel-btn { align-self: center; }
}

@media (max-width: 640px) {
  .home-main { padding: 1.5rem 1rem 2.5rem; }
  .home-hero-center { margin-bottom: 2rem; }
  .home-fotograf-panel,
  .home-sections .home-team-panel,
  .home-sections .vision-block { padding: 1.5rem 1.25rem; }
  .vision-countdowns { grid-template-columns: 1fr; }
  .home-bottom-grid .vision-block,
  .home-team-panel { padding: 1.5rem 1.25rem; }
}

/* ── Betrieb / Downloads ── */
.betrieb-page .page-wide { max-width: 1040px; }

.badge-team {
  color: #fbbf24;
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .28);
}

.betrieb-roles { margin-bottom: 2.5rem; }

.betrieb-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.betrieb-role-card {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.betrieb-role-android { border-color: rgba(78, 205, 196, .25); }
.betrieb-role-windows { border-color: rgba(124, 108, 240, .25); }
.betrieb-role-supplier { border-color: rgba(245, 158, 11, .22); }
.betrieb-role-soon {
  opacity: .9;
  background: rgba(0, 0, 0, .12);
}

.betrieb-role-soon-note {
  margin: 0 0 .75rem;
  font-size: .82rem;
  line-height: 1.45;
  color: #fbbf24;
  font-style: italic;
}

.betrieb-role-platform {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
  color: var(--text-muted);
}

.betrieb-role-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.betrieb-role-card ul { list-style: none; display: grid; gap: .35rem; }
.betrieb-role-card li {
  font-size: .85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.betrieb-role-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-size: .75rem;
}

.betrieb-downloads { margin-bottom: 2rem; }

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.15rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}

.download-card-accent-teal { border-color: rgba(78, 205, 196, .3); }
.download-card-accent-violet { border-color: rgba(124, 108, 240, .3); }

.download-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-platform {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.download-platform svg { width: 16px; height: 16px; flex-shrink: 0; }

.download-size-badge {
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  white-space: nowrap;
}

.download-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.download-card-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: .85rem; }

.download-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.download-role-chip {
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.download-features {
  list-style: none;
  display: grid;
  gap: .35rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.download-features li {
  font-size: .82rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.download-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}

.download-meta strong { color: var(--text); }

.download-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.btn-download-teal {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6) !important;
}

.btn-download-violet {
  background: linear-gradient(135deg, var(--accent), #9b8aff) !important;
}
