/* Kirchberg.tech – Stylesheet, framework-frei */

/* Schriften lokal eingebunden – kein Nachladen von Google.
   Die woff2-Dateien werden mit assets-holen.ps1 heruntergeladen.
   Fehlen sie, greift automatisch die System-Schrift (siehe --font-* unten). */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-800-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-800-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-latin-ext.woff2') format('woff2');
}

:root {
  --color-bg: #f7f7fb;
  --color-surface: #ffffff;
  --color-text: #1c1c28;
  --color-text-muted: #64647d;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #17c3b2;
  --color-accent-2: #ff7a59;
  --color-border: #e7e7f2;
  --color-dark: #10101c;
  --color-dark-2: #1b1b30;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1140px;
  --font-head: "Outfit", "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(16,16,28,0.06), 0 1px 1px rgba(16,16,28,0.04);
  --shadow-md: 0 8px 24px rgba(16,16,28,0.08);
  --shadow-lg: 0 20px 48px rgba(16,16,28,0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; color: var(--color-dark); }

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37,99,235,0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--color-primary); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: #1b1b30;
  border: 1px solid rgba(23,195,178,0.55);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { display: block; }
.logo-text { display: inline-block; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-primary); text-decoration: none; }
.nav-cta {
  background: var(--color-dark);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}
.nav-cta:hover { background: var(--color-primary); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 100% at 50% -10%, #1e3a8a 0%, var(--color-dark) 55%, var(--color-dark) 100%);
  padding: 6rem 0 5.5rem;
  text-align: center;
  color: #fff;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: var(--color-primary);
  top: -160px; left: -120px;
}
.hero::after {
  width: 380px; height: 380px;
  background: var(--color-accent);
  bottom: -180px; right: -100px;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin: 0 0 1.1rem;
  line-height: 1.1;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #60a5fa, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #c7c7e0;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(37,99,235,0.45); }

.btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.16); }

.btn-light { background: #fff; color: var(--color-dark); }
.btn-light:hover { background: #f1f1f9; }

.btn-outline-dark { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-outline-dark:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-row { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

.trust-row {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #9d9dc0;
}
.trust-row span { display: flex; align-items: center; gap: 0.4rem; }
.trust-row svg { width: 16px; height: 16px; stroke: var(--color-accent); flex-shrink: 0; }

/* Sections */
section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 0.75rem; }
.section-lead { color: var(--color-text-muted); font-size: 1.05rem; }

.bg-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* App cards grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  /* neutraler Hintergrund, solange das Icon noch fehlt */
  background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}
.app-icon-fallback {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(37,99,235,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
}
.badge.muted { color: var(--color-text-muted); background: #f1f1f7; }

.app-card h3 { margin: 0; font-size: 1.2rem; }
.app-card p.desc { margin: 0; color: var(--color-text-muted); font-size: 0.94rem; flex-grow: 1; }
.app-card .app-card-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.app-card .app-card-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.app-card .app-card-link:hover svg { transform: translateX(3px); }

/* App detail page */
.app-hero-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--app-c1, #312e81), var(--app-c2, #4f46e5));
  padding: 4.5rem 0 4rem;
  color: #fff;
}
.app-hero-gradient::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  filter: blur(70px);
  top: -160px; right: -100px;
}
.app-hero-gradient::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(60px);
  bottom: -120px; left: -60px;
}
.app-hero-gradient .container { position: relative; z-index: 1; }
.app-hero-gradient .breadcrumb { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 1.5rem; display: inline-block; }
.app-hero-gradient .breadcrumb:hover { color: #fff; }

.app-hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
}
.app-hero .app-icon-lg {
  width: 104px; height: 104px;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
  flex-shrink: 0;
  background: #fff;
  padding: 10px;
}
.app-hero-content .badge { margin-bottom: 0.9rem; background: rgba(255,255,255,0.16); color: #fff; }
.app-hero-content h1 { margin: 0 0 0.6rem; font-size: clamp(2rem, 4.2vw, 2.9rem); color: #fff; }
.app-hero-content p.tagline { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin: 0 0 1.6rem; max-width: 60ch; }

.stat-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2.2rem; }
.stat-chip {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.stat-chip svg { width: 14px; height: 14px; stroke: #fff; flex-shrink: 0; }

/* Feature cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .fc-ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(23,195,178,0.14);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
}
.feature-card p { margin: 0; font-size: 0.94rem; color: var(--color-text); line-height: 1.55; }


/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.screenshot-placeholder {
  background: linear-gradient(135deg, #f1f1fb, #eef2ff);
  border: 1px dashed #c9c9ea;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem 2rem;
}
.feature-list li {
  padding-left: 1.9rem;
  position: relative;
  color: var(--color-text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(23,195,178,0.15);
}
.feature-list li::after {
  content: "✓";
  position: absolute;
  left: 4.5px; top: 0.05rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.72rem;
}

.buy-box {
  background: linear-gradient(135deg, #f7f5ff, #eefcfb);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
.buy-box .price { font-size: 1.9rem; font-weight: 800; font-family: var(--font-head); color: var(--color-dark); margin: 0 0 0.25rem; }
.buy-box .price-note { color: var(--color-text-muted); font-size: 0.85rem; margin: 0 0 1.4rem; }

.note-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #9a3412;
  margin: 1.5rem 0;
}
.note-box.info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }

/* Services */
.services-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .services-wrap { grid-template-columns: 1fr; } }

.services-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.services-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.services-list .ico {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,235,0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}

.code-window {
  background: var(--color-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  color: #d4d4f5;
  line-height: 1.8;
}
.code-window .dots { display: flex; gap: 6px; margin-bottom: 1rem; }
.code-window .dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.code-window .dots span:nth-child(1) { background: #ff5f56; }
.code-window .dots span:nth-child(2) { background: #ffbd2e; }
.code-window .dots span:nth-child(3) { background: #27c93f; }
.code-window .c1 { color: #60a5fa; }
.code-window .c2 { color: var(--color-accent); }
.code-window .c3 { color: #9d9dc0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { color: #fff; margin: 0 0 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 1.75rem; }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.post-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: box-shadow 0.2s ease;
}
.post-list li:hover { box-shadow: var(--shadow-md); }
.post-list time { color: var(--color-text-muted); font-size: 0.85rem; }
.post-list h3 { margin: 0.35rem 0 0.5rem; }

/* Legal pages */
.legal-content h2 { margin-top: 2rem; font-size: 1.2rem; }
.legal-content { max-width: 720px; }
.todo-marker {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #9d9dc0;
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer a { color: #9d9dc0; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6b6b8a;
}

@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; gap: 0.75rem; }
  .main-nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .app-hero { flex-direction: column; text-align: center; justify-content: center; }
  section { padding: 3.5rem 0; }
}

/* Kaufsektion: Store primär + Direktkauf sekundär */
.purchase-primary {
  background: linear-gradient(135deg, #f0f7ff, #eefcfb);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.purchase-primary .rec-flag {
  position: absolute;
  top: -12px; left: 2rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.purchase-primary h3 { margin: 0.4rem 0 0.4rem; font-size: 1.3rem; }
.purchase-primary .price { font-size: 1.9rem; font-weight: 800; font-family: var(--font-head); color: var(--color-dark); margin: 0.75rem 0 0.25rem; }
.purchase-primary .price-note { color: var(--color-text-muted); font-size: 0.88rem; margin: 0 0 1.4rem; }

.purchase-perks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.purchase-perks li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; color: var(--color-text); }
.purchase-perks li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.purchase-alt {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
  margin-top: 1.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.purchase-alt .alt-info { flex: 1; min-width: 240px; }
.purchase-alt h4 { margin: 0 0 0.35rem; font-size: 1.05rem; font-family: var(--font-head); color: var(--color-dark); }
.purchase-alt p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }
.purchase-alt .alt-price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--color-dark); white-space: nowrap; }

.btn-shop {
  background: var(--color-dark);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  white-space: nowrap;
}
.btn-shop:hover { background: var(--color-primary); text-decoration: none; }

.purchase-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.75rem;
  font-size: 0.9rem;
}
.purchase-compare th, .purchase-compare td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.purchase-compare th {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.85rem;
}
.purchase-compare td { color: var(--color-text-muted); }
.purchase-compare tr:last-child td { border-bottom: none; }

/* Testversion-Block */
.trial-box {
  background: linear-gradient(135deg, #0f3a5e, #0ea5e9);
  border-radius: var(--radius);
  padding: 2.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.trial-box::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  filter: blur(60px);
  top: -110px; right: -70px;
}
.trial-box > * { position: relative; z-index: 1; }
.trial-box h3 { color: #fff; margin: 0 0 0.5rem; font-size: 1.35rem; }
.trial-box p { color: rgba(255,255,255,0.88); margin: 0 0 1.5rem; max-width: 60ch; }
.trial-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.btn-download {
  background: #fff;
  color: var(--color-dark);
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.btn-download:hover { background: #eef6ff; text-decoration: none; }
.btn-download svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Store als kleine Nebenoption */
.store-alt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.store-alt strong { color: var(--color-text); font-weight: 600; }
.store-alt a { font-weight: 600; white-space: nowrap; }


/* Miniaturen bei mehreren Screenshots */
.shot-thumbs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.shot-thumbs img {
  width: 128px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  cursor: zoom-in;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.shot-thumbs img:hover { border-color: var(--color-primary); transform: translateY(-2px); }

/* Vollbild-Ansicht */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- Screenshot-Galerie ---------- */

.shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: var(--color-surface);
  line-height: 0;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.shot-gallery { margin: 2rem 0; }

.shot-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0.9rem 0 0;
  line-height: 1.5;
}

.shot-thumbs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.1rem;
}
.shot-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.65;
}
.shot-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.shot-thumbs button.is-active { border-color: var(--color-primary); opacity: 1; }
.shot-thumbs button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.shot-thumbs img { width: 132px; height: auto; display: block; }

/* Platzhalter, solange kein Screenshot da ist */
.screenshot-placeholder {
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  line-height: 1.6;
}

/* Vollbild-Ansicht */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,8,16,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 3rem 4.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,0.24); }
.lb-close { top: 1.25rem; right: 1.5rem; }
.lb-prev  { left: 1.25rem;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.lightbox.single .lb-prev,
.lightbox.single .lb-next,
.lightbox.single .lb-counter { display: none; }

@media (max-width: 640px) {
  .lightbox { padding: 3rem 1rem; }
  .lb-prev { left: 0.4rem; }
  .lb-next { right: 0.4rem; }
  .shot-thumbs img { width: 96px; }
}

/* ---------- Katalogseite /apps/ ---------- */

.page-head {
  background: linear-gradient(135deg, #0f2a5e, #1e3a8a 55%, #0f4c4c);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(70px);
  top: -140px; right: -80px;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.9rem; }
.page-head p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 65ch; margin: 0; }
.page-head .badge { background: rgba(255,255,255,0.16); color: #fff; margin-bottom: 1rem; }

/* Filterleiste */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.filter-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.filter-btn .count { opacity: 0.6; font-weight: 500; margin-left: 0.3rem; }

/* Kategorie-Abschnitte */
.cat-block { margin-bottom: 3.5rem; }
.cat-block:last-child { margin-bottom: 0; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-border);
}
.cat-head h2 { font-size: 1.4rem; margin: 0; }
.cat-head .cat-count { color: var(--color-text-muted); font-size: 0.9rem; }
.cat-intro { color: var(--color-text-muted); font-size: 0.98rem; margin: 0.9rem 0 1.75rem; max-width: 70ch; }

.cat-block[hidden] { display: none; }
.app-card[hidden] { display: none; }

.no-results {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem 1rem;
}

/* Karte: Status-Hinweis */
.app-card .card-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.badge.soon { color: #92400e; background: #fef3c7; }
.badge.os { color: var(--color-text-muted); background: #f1f1f7; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--color-primary); }

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-dark);
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
  border-color: var(--color-primary);
}
.faq-item summary:hover { color: var(--color-primary); }
.faq-item summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}
.faq-answer p { margin: 0 0 0.7rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { font-weight: 500; }

/* ---------- Preisstaffel (Mehrplatz-Lizenzen) ---------- */
.price-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.tier .tier-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tier .tier-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-dark);
  margin: 0.5rem 0 0.15rem;
  line-height: 1.1;
}
.tier .tier-unit { font-size: 0.85rem; color: var(--color-text-muted); }
.tier.best { border-color: var(--color-accent); border-width: 2px; }
.tier .tier-flag {
  display: inline-block;
  background: rgba(23,195,178,0.14);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.price-note-row {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

/* Staffelstufen, die nur auf Anfrage erhaeltlich sind */
.tier.on-request { border-style: dashed; background: transparent; }
.tier.on-request .tier-price { color: var(--color-text-muted); }
.tier .tier-flag.request {
  background: rgba(37,99,235,0.12);
  color: #1d4ed8;
}
.tier.direct { border-color: var(--color-primary); border-width: 2px; }
.tier .tier-flag.direct {
  background: rgba(37,99,235,0.14);
  color: #1d4ed8;
}
