:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-background: #f9fafb;
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --radius-medium: 8px;
  --radius-large: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin-top: 0;
}

/* Header */

.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  border-radius: 8px;
  display: block;
}

.nav-links a {
  margin-left: 24px;
  color: var(--color-text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Main */

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: calc(100vh - 200px);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-medium);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.15s ease-in-out, transform 0.05s ease-in-out;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
  width: 100%;
}

.btn-secondary {
  background-color: var(--color-background);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-border);
}

/* Hero */

.hero {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #f9fafb 100%);
  border-radius: var(--radius-large);
  margin-bottom: 48px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 32px auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.hero .btn {
  width: auto;
  padding: 14px 36px;
}

/* Features */

.features {
  margin-bottom: 48px;
}

.features h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.feature-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Screenshots (Slideshow der Live-Web-App) */

.screenshots {
  margin-bottom: 48px;
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.screenshots-intro {
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 32px auto;
  text-align: center;
}

.screenshot-carousel {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.screenshot-viewport {
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  background-color: #0f172a;
}

.screenshot-track {
  display: flex;
  touch-action: pan-y;
  transition: transform 0.35s ease-in-out;
}

.screenshot-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.screenshot-slide img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.screenshot-slide figcaption {
  padding: 16px 20px 20px 20px;
  background-color: var(--color-surface);
}

.screenshot-slide figcaption h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.screenshot-slide figcaption p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.screenshot-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.screenshot-nav:hover {
  background-color: var(--color-background);
}

.screenshot-prev {
  left: -20px;
}

.screenshot-next {
  right: -20px;
}

@media (max-width: 520px) {
  .screenshot-prev {
    left: 4px;
  }

  .screenshot-next {
    right: 4px;
  }
}

.screenshot-counter {
  text-align: center;
  margin: 12px 0 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.screenshot-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.screenshot-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
}

.screenshot-dot.active {
  background-color: var(--color-primary);
}

/* Bollisoft Unternehmensseite */

.company-page {
  --company-bg: #080b0d;
  --company-surface: #101518;
  --company-line: #263137;
  --company-text: #f0f4f2;
  --company-muted: #9aaba5;
  --company-accent: #58f0a8;
  background: var(--company-bg);
  color: var(--company-text);
  font-family: Bahnschrift, "Aptos Display", sans-serif;
}

.company-page .site-header {
  background: rgba(8, 11, 13, 0.92);
  border-color: var(--company-line);
  backdrop-filter: blur(14px);
}

.company-page .navbar {
  max-width: 1240px;
}

.company-page .brand,
.company-page .nav-links a {
  color: var(--company-text);
}

.company-page .nav-links a:hover {
  color: var(--company-accent);
}

.company-page .site-main {
  max-width: none;
  padding: 0;
}

.company-page .site-footer {
  background: #050708;
  border-color: var(--company-line);
  color: var(--company-muted);
}

.company-home {
  overflow: hidden;
}

.company-hero,
.company-section,
.company-values,
.company-metrics,
.company-contact {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.company-hero {
  min-height: min(780px, calc(100vh - 73px));
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 52px;
  border-left: 1px solid var(--company-line);
  border-right: 1px solid var(--company-line);
}

.company-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image: linear-gradient(var(--company-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--company-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.company-hero::after {
  content: "B";
  position: absolute;
  right: 4%;
  top: 45%;
  transform: translateY(-50%);
  font-family: Georgia, serif;
  font-size: clamp(14rem, 32vw, 31rem);
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(88, 240, 168, 0.16);
  pointer-events: none;
}

.company-hero-content,
.company-proof {
  position: relative;
  z-index: 1;
}

.company-kicker,
.company-index {
  color: var(--company-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-hero h1 {
  max-width: 920px;
  margin: 22px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7.4vw, 7rem);
  font-weight: 400;
  line-height: 0.96;
}

.company-hero h1 span {
  color: var(--company-accent);
}

.company-lead {
  max-width: 690px;
  color: #c2ccc8;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.company-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--company-accent);
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.company-button:hover {
  text-decoration: none;
}

.company-button-primary {
  background: var(--company-accent);
  color: #07100b;
}

.company-button-primary:hover {
  background: #8affc5;
  color: #07100b;
}

.company-button-secondary {
  color: var(--company-text);
  border-color: var(--company-line);
  background: rgba(16, 21, 24, 0.75);
}

.company-button-secondary:hover {
  border-color: var(--company-muted);
  color: var(--company-text);
}

.company-proof {
  max-width: 580px;
  margin: auto 0 0 auto;
  padding-top: 70px;
  color: var(--company-muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.84rem;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 9vw;
  padding-top: 130px;
  padding-bottom: 130px;
  border-top: 1px solid var(--company-line);
}

.company-section h2,
.company-contact h2 {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.company-section-copy {
  align-self: end;
  color: var(--company-muted);
  font-size: 1.05rem;
}

.company-large-copy {
  margin-top: 0;
  color: var(--company-text);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

.company-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 130px;
}

.company-values article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--company-line);
  border-right: 0;
  background: var(--company-surface);
}

.company-values article:last-child {
  border-right: 1px solid var(--company-line);
}

.company-values span,
.company-service-list > article > span,
.company-process-list li > span {
  color: var(--company-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
}

.company-values h3 {
  margin: 64px 0 12px;
  font-size: 1.15rem;
}

.company-values p,
.company-service-list p,
.company-process-list p {
  color: var(--company-muted);
}

.company-services {
  align-items: start;
}

.company-section-heading {
  position: sticky;
  top: 110px;
}

.company-service-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 32px 0;
  border-top: 1px solid var(--company-line);
}

.company-service-list article:last-child {
  border-bottom: 1px solid var(--company-line);
}

.company-service-list h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.company-service-list p {
  margin: 0 0 14px;
}

.company-service-list small {
  color: var(--company-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  line-height: 1.6;
}

.company-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 130px;
}

.company-metrics div {
  padding: 28px 24px;
  border-top: 1px solid var(--company-line);
  border-bottom: 1px solid var(--company-line);
}

.company-metrics strong,
.company-metrics span {
  display: block;
}

.company-metrics strong {
  color: var(--company-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  white-space: nowrap;
}

.company-metrics span {
  margin-top: 8px;
  color: var(--company-muted);
  font-size: 0.85rem;
}

.company-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--company-line);
}

.company-process-list h3,
.company-process-list p {
  margin: 0;
}

.company-process-list p {
  margin-top: 5px;
}

.company-contact {
  padding-top: 110px;
  padding-bottom: 110px;
  border-top: 1px solid var(--company-line);
}

.company-contact h2 {
  max-width: 900px;
}

.company-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: 70px;
}

.company-contact-row span,
.company-contact-row strong {
  display: block;
}

.company-contact-row span {
  color: var(--company-muted);
  font-size: 0.8rem;
}

.company-contact-row strong {
  margin-top: 5px;
}

@media (max-width: 900px) {
  .company-page .navbar {
    align-items: flex-start;
    gap: 14px;
  }

  .company-page .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }

  .company-page .nav-links a {
    margin-left: 0;
  }

  .company-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .company-section-heading {
    position: static;
  }

  .company-values,
  .company-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-values article:nth-child(2) {
    border-right: 1px solid var(--company-line);
  }

  .company-contact-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .company-page .navbar {
    padding: 12px 18px;
    flex-direction: column;
  }

  .company-page .nav-links {
    justify-content: flex-start;
  }

  .company-hero,
  .company-section,
  .company-values,
  .company-metrics,
  .company-contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .company-hero {
    min-height: 720px;
    padding-top: 70px;
  }

  .company-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .company-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .company-values,
  .company-metrics,
  .company-contact-row {
    grid-template-columns: 1fr;
  }

  .company-values article,
  .company-values article:nth-child(2) {
    min-height: 210px;
    border-right: 1px solid var(--company-line);
    border-bottom: 0;
  }

  .company-values article:last-child {
    border-bottom: 1px solid var(--company-line);
  }

  .company-values h3 {
    margin-top: 42px;
  }

  .company-metrics {
    padding-bottom: 90px;
  }

  .company-metrics div {
    border-bottom: 0;
  }

  .company-metrics div:last-child {
    border-bottom: 1px solid var(--company-line);
  }

  .company-contact-row {
    align-items: stretch;
  }
}

/* Wiring */

.wiring {
  text-align: center;
  margin-bottom: 48px;
}

.wiring h2 {
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.wiring-intro {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 24px auto;
}

.wiring-box {
  display: inline-block;
  text-align: left;
  background-color: #111827;
  color: #e5e7eb;
  border-radius: var(--radius-medium);
  padding: 20px 24px;
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  overflow-x: auto;
  max-width: 100%;
  box-shadow: var(--shadow-card);
}

.wiring-note {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 20px auto 0 auto;
  font-size: 0.9rem;
}

/* CTA */

.cta {
  text-align: center;
  padding: 48px 24px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
}

.cta .btn {
  width: auto;
  padding: 14px 36px;
  margin-top: 16px;
}

/* Shop */

.shop-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.product-type {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.product-description {
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* Checkout */

.checkout-page h1 {
  margin-bottom: 32px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-summary h2,
.checkout-payment h2 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.order-summary-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.order-summary-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.order-summary-details {
  padding: 20px;
}

.order-summary-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.checkout-payment {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.payment-option h3 {
  margin-bottom: 4px;
}

.payment-option p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.payment-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-muted);
  margin: 24px 0;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.payment-divider span {
  padding: 0 16px;
  font-size: 0.9rem;
}

.checkout-error {
  background-color: #fef2f2;
  border: 1px solid var(--color-error);
  color: var(--color-error);
  border-radius: var(--radius-medium);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Status pages (success / cancel) */

.status-page {
  text-align: center;
  padding: 64px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.status-icon {
  width: 72px;
  height: 72px;
  line-height: 72px;
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 24px auto;
}

.status-success .status-icon {
  background-color: #dcfce7;
  color: var(--color-success);
}

.status-cancel .status-icon {
  background-color: #fee2e2;
  color: var(--color-error);
}

.status-detail {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  word-break: break-all;
}

.status-page .btn {
  width: auto;
  padding: 12px 28px;
  margin-top: 24px;
}

/* Flash-Nachrichten (z. B. Plugin-Upload-Feedback) */

.flash-messages {
  max-width: 900px;
  margin: 16px auto 0;
  padding: 0 16px;
}

.flash-message {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.flash-message.flash-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.flash-message.flash-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Dummy-Modus (nur lokaler Dev-Schalter, siehe CLAUDE.md) */

.dummy-banner {
  background-color: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-dummy {
  background-color: #92400e;
  color: #ffffff;
}

.btn-dummy:hover {
  background-color: #78350f;
}

.payment-option-dummy {
  background-color: #fffbeb;
  border: 1px dashed #fcd34d;
  border-radius: var(--radius-medium);
  padding: 16px;
}

/* Formularfelder (Checkout-E-Mail, Lizenz-Hardware-ID, Versandadresse) */

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-field {
  flex: 1;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input[type="email"],
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  font-size: 1rem;
  font-family: inherit;
}

.form-hint {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 6px 0 0 0;
}

/* Lizenz-Einrichtung */

.license-setup-page {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.license-setup-page .status-icon {
  background-color: #dcfce7;
  color: var(--color-success);
}

.license-intro {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.license-step {
  text-align: left;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 24px;
}

.license-step h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.license-step ol {
  padding-left: 20px;
}

.license-step li {
  margin-bottom: 8px;
}

.license-script {
  margin: 12px 0;
}

.license-success {
  background-color: #dcfce7;
  border: 1px solid var(--color-success);
  color: #166534;
  border-radius: var(--radius-medium);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.license-download-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.license-download-list .btn {
  width: auto;
}

.license-warning {
  background-color: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: var(--radius-medium);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.license-info-box {
  background-color: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  border-radius: var(--radius-medium);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.license-info-box ol {
  padding-left: 20px;
  margin: 8px 0 0 0;
}

.license-info-box li {
  margin-bottom: 6px;
}

/* Login */

.login-page,
.account-page {
  max-width: 560px;
  margin: 0 auto;
}

.login-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

/* Konto - Lizenzliste */

.license-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.license-list-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.license-list-details h3 {
  margin-bottom: 4px;
}

.license-list-details p {
  margin: 4px 0 0 0;
  color: var(--color-text-muted);
}

.license-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.license-list-actions .btn {
  width: auto;
}

/* Hinweis-Banner fuer eine noch offene Lizenz-Einrichtung (siehe /account) */

.pending-license-banner {
  background-color: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-medium);
  padding: 20px 24px;
  margin-bottom: 32px;
  text-align: center;
}

.pending-license-banner p {
  color: #1e3a8a;
  margin: 0 0 16px 0;
}

@keyframes btn-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.btn-pulse {
  border: 2px solid var(--color-primary-dark);
  animation: btn-pulse-ring 1.8s ease-out infinite;
}

/* Admin-Bereich */

.admin-corner-link {
  position: fixed;
  right: 10px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.35;
  text-decoration: none;
  z-index: 20;
  transition: opacity 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.admin-corner-link:hover {
  opacity: 1;
  background-color: var(--color-border);
  text-decoration: none;
}

.admin-page {
  max-width: 560px;
  margin: 0 auto;
}

.admin-dashboard-page {
  max-width: 100%;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.admin-tab-button {
  padding: 10px 18px;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}

.admin-tab-button.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.admin-tab-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background-color: var(--color-background);
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.admin-tab-button.active .admin-tab-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-search {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  font-size: 0.95rem;
  font-family: inherit;
}

.admin-table-wrapper {
  overflow-x: auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background-color: var(--color-background);
}

.admin-table .btn {
  width: auto;
  padding: 6px 14px;
  font-size: 0.85rem;
}

.admin-empty-hint {
  color: var(--color-text-muted);
  padding: 20px;
  text-align: center;
}

.admin-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-badge-digital {
  background-color: #eff6ff;
  color: #1e3a8a;
}

.admin-badge-physical {
  background-color: #fef3c7;
  color: #92400e;
}
