/* Topworx Theme Styles */
:root {
  --radius: 0.625rem;
  --background: #1a1a1f;
  --foreground: #f7f7f8;
  --card: #202026;
  --card-foreground: #f7f7f8;
  --primary: #b8f04a;
  --primary-foreground: #141416;
  --muted: #2a2a30;
  --muted-foreground: #a1a1aa;
  --border: rgba(255,255,255,0.10);
  --input: rgba(255,255,255,0.12);
  --ring: #b8f04a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}

.site-header.scrolled {
  background-color: rgba(26,26,31,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,247,248,0.75);
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--foreground);
}

.nav-cta {
  display: none;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-cta:hover {
  opacity: 0.85;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--foreground);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: rgba(26,26,31,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 15px;
  font-weight: 500;
  color: rgba(247,247,248,0.85);
  border-radius: 0.375rem;
}

.mobile-menu a:hover {
  background-color: rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
  .main-nav, .nav-cta { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Layout helpers */
.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.text-center { text-align: center; }

/* Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247,247,248,0.5);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero-title .muted { color: rgba(247,247,248,0.6); }
.hero-title .dim { color: rgba(247,247,248,0.5); }

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.card-title {
  font-size: 1.875rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .card-title { font-size: 2.25rem; }
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(247,247,248,0.65);
}

@media (min-width: 768px) {
  .lead { font-size: 1.25rem; }
}

.body-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247,247,248,0.65);
}

.small-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247,247,248,0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--foreground);
  background: transparent;
}

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

.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero { padding-top: 10rem; padding-bottom: 6rem; }
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 900px;
  height: 560px;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: rgba(247,247,248,0.04);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:text-right { text-align: right; }
  .md\:pt-32 { padding-top: 8rem; }
  .md\:pb-32 { padding-bottom: 8rem; }
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.02);
  padding: 2rem;
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.20);
  background-color: rgba(255,255,255,0.04);
}

.card-compact {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.02);
  padding: 1.75rem;
  transition: all 0.5s ease;
}

.card-compact:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.20);
  background-color: rgba(255,255,255,0.04);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Images */
.img-rounded {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}

.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.img-rounded:hover img {
  transform: scale(1.03);
}

/* Sections */
.value-strip {
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.02);
}

/* Forms */
.form-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.02);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .form-card { padding: 2rem; }
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 12px;
  font-weight: 500;
  color: rgba(247,247,248,0.7);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  background-color: var(--background);
  color: var(--foreground);
  padding: 0.625rem 0.875rem;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.40);
}

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

@media (min-width: 640px) {
  .form-row.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.honeypot { display: none; }

.form-message {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 14px;
  margin-bottom: 1rem;
}

.form-message.success {
  background-color: rgba(184,240,74,0.12);
  color: #d4f87a;
}

.form-message.error {
  background-color: rgba(239,68,68,0.12);
  color: #fca5a5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.10);
  background-color: var(--background);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo img {
  height: 65px;
  width: auto;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,247,248,0.5);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 13px;
  color: rgba(247,247,248,0.75);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 13px;
  color: rgba(247,247,248,0.6);
}

@media (min-width: 768px) {
  .footer-bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.footer-bottom a:hover { color: var(--foreground); }

/* Legal pages */
.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 2.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247,247,248,0.7);
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-section a:hover { opacity: 0.8; }

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto 3rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 0.25rem;
  background-color: rgba(255,255,255,0.02);
}

.tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,247,248,0.7);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Info rows (Kontakt) */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-row .icon-circle {
  flex-shrink: 0;
}

.info-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,247,248,0.5);
}

.info-value {
  margin-top: 0.25rem;
  font-size: 15px;
  color: var(--foreground);
  white-space: pre-line;
}

.info-value a:hover { opacity: 0.8; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* SVG icons */
.icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-sm svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Utility */
.hidden { display: none; }
.whitespace-pre-line { white-space: pre-line; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.bg-primary\/10 { background-color: rgba(184,240,74,0.10); }
.text-primary { color: var(--primary); }
.text-red { color: #fca5a5; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-muted { color: rgba(247,247,248,0.6); }
.text-dim { color: rgba(247,247,248,0.5); }
.text-center { text-align: center; }

/* Notice box */
.notice-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 36rem;
  margin: 2rem auto 0;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.10);
  background-color: rgba(255,255,255,0.02);
  padding: 1.25rem 1.5rem;
  font-size: 14px;
  color: rgba(247,247,248,0.6);
}

@media (min-width: 640px) {
  .notice-box { flex-direction: row; justify-content: center; }
}

/* Screen-reader-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Print */
@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { background: #fff; color: #000; }
}

/* ============ Cookie Consent Banner ============ */
.topworx-cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;max-width:960px;margin:0 auto;background:rgba(20,20,22,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.5);color:#e8e8ea;padding:18px 20px;transform:translateY(20px);opacity:0;transition:opacity .35s ease,transform .35s ease}
.topworx-cookie-banner.is-visible{opacity:1;transform:translateY(0)}
.topworx-cookie-inner{display:flex;flex-direction:column;gap:14px}
@media(min-width:720px){.topworx-cookie-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:24px}}
.topworx-cookie-text strong{display:block;font-size:14px;font-weight:600;color:#fff;margin-bottom:4px}
.topworx-cookie-text p{margin:0;font-size:13px;line-height:1.55;color:rgba(232,232,234,.78)}
.topworx-cookie-text a{color:#b6ff3c;text-decoration:underline;text-underline-offset:2px}
.topworx-cookie-actions{display:flex;gap:10px;flex-shrink:0}
.topworx-cookie-btn{border:0;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:500;cursor:pointer;transition:opacity .2s ease,background .2s ease}
.topworx-cookie-decline{background:rgba(255,255,255,.08);color:#e8e8ea}
.topworx-cookie-decline:hover{background:rgba(255,255,255,.14)}
.topworx-cookie-accept{background:#b6ff3c;color:#0a0a0b}
.topworx-cookie-accept:hover{opacity:.88}
