/* vf-workspace - premium dark design system (static, no build) */

:root {
  --bg: #000000;
  --bg-elevated: #1d1d1f;
  --bg-soft: #141416;
  --text: #f5f5f7;
  --text-muted: #9ca3af;
  --text-dim: #86868b;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #0071e3;
  --accent-cyan: #00c6fb;
  --accent-gradient: linear-gradient(135deg, #0071e3 0%, #00c6fb 100%);
  --glass-bg: rgba(29, 29, 31, 0.72);
  --glass-bg-strong: rgba(29, 29, 31, 0.88);
  --paper: #f5f5f7;
  --paper-text: #1d1d1f;
  --paper-muted: #4b5563;
  --paper-border: rgba(0, 0, 0, 0.08);
  --draft-bg: rgba(251, 191, 36, 0.12);
  --draft-border: rgba(251, 191, 36, 0.35);
  --draft-text: #fbbf24;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 68rem;
  --max-narrow: 42rem;
  --header-h: 4rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 16px 48px rgba(0, 0, 0, 0.45);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: #7dd3fc;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Layout shells --- */

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, var(--max-narrow));
}

/* --- Header / glass nav --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--text);
  opacity: 0.85;
}

.logo span {
  font-weight: 400;
  color: var(--text-dim);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle__bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

.nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 1.25rem;
  gap: 0.25rem;
}

.nav a {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav,
  .nav.is-open {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    padding: 0;
    gap: 0.15rem;
  }

  .nav a {
    padding: 0.45rem 0.85rem;
  }
}

/* --- Main --- */

.main {
  flex: 1;
  padding-block: 4.5rem 5.5rem;
}

@media (min-width: 768px) {
  .main {
    padding-block: 5.5rem 7rem;
  }
}

.main__inner {
  width: min(100% - 2rem, var(--max-narrow));
  margin-inline: auto;
}

.main__inner--wide {
  width: min(100% - 2rem, var(--max));
}

/* Legal paper card */
.main--legal {
  padding-block: 3.5rem 5rem;
}

.legal-card {
  width: min(100% - 2rem, 44rem);
  margin-inline: auto;
  background: var(--paper);
  color: var(--paper-muted);
  border-radius: 16px;
  border: 1px solid var(--paper-border);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .legal-card {
    padding: 2.75rem 3rem 3.25rem;
  }
}

.legal-card h1,
.legal-card h2,
.legal-card h3 {
  color: var(--paper-text);
}

.legal-card a {
  color: var(--accent);
}

.legal-card a:hover {
  color: #005bb5;
}

.legal-card .meta {
  color: var(--paper-muted);
}

.legal-card .placeholder {
  background: rgba(0, 113, 227, 0.1);
  color: var(--paper-text);
}

.legal-card .draft-banner {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #78350f;
}

/* --- Typography --- */

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-top: 0;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.section-muted {
  color: var(--text-dim);
  font-size: 0.95rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

li::marker {
  color: var(--accent);
}

/* --- Sections --- */

.section {
  margin-block: 4.5rem;
}

.section:first-child {
  margin-top: 0;
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head h2 {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section {
    margin-block: 5.5rem;
  }
}

/* --- Hero --- */

.hero {
  padding-bottom: 3.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  max-width: 18ch;
}

.hero .lead {
  max-width: 36rem;
}

.hero .actions {
  margin-top: 2rem;
}

/* --- Cards / glass --- */

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-block: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lift);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

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

.highlight {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-block: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent-gradient);
  border-radius: 3px 0 0 3px;
}

.highlight h2,
.highlight h3 {
  margin-top: 0;
}

.highlight p:last-child,
.highlight ul:last-child {
  margin-bottom: 0;
}

.price {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0.35rem 0 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .price {
    color: var(--accent-cyan);
    background: none;
  }
}

/* --- CTA band --- */

.cta-band {
  margin-block: 4.5rem 0;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 120% at 10% 0%, rgba(0, 113, 227, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 100%, rgba(0, 198, 251, 0.1), transparent 50%),
    var(--bg-elevated);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-band .actions {
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-band {
    margin-block: 5.5rem 0;
    padding: 3.75rem 3rem;
  }
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.45rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.35);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.45);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* --- Form --- */

.form {
  margin-top: 2rem;
  max-width: 28rem;
  padding: 1.75rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text-dim);
}

.form .field {
  margin-bottom: 1.15rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--text-dim);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.25);
}

.form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form .hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.form .btn {
  margin-top: 0.35rem;
  width: 100%;
}

@media (min-width: 480px) {
  .form .btn {
    width: auto;
  }
}

/* --- Draft / placeholders --- */

.draft-banner {
  background: var(--draft-bg);
  border: 1px solid var(--draft-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.draft-banner strong {
  color: var(--draft-text);
  font-weight: 650;
  letter-spacing: 0.06em;
}

.placeholder {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(0, 113, 227, 0.15);
  color: var(--accent-cyan);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

/* --- Feature list (Arbeitsweise) --- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.feature-list li:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: auto;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--text);
}

/* --- Utilities --- */

.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;
}

.contact-direct {
  margin-bottom: 0.5rem;
}

.contact-direct a {
  font-weight: 500;
}
