/* ============================================================
   Blueprint3D — Main Stylesheet
   ============================================================ */

/* ---- Reset ---- */

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

html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }

img, svg { display: block; max-width: 100%; }

ul, ol { list-style: none; }

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

/* ---- Design Tokens ---- */

:root {
  --accent:      #443fde;
  --accent-dark: #3530c4;
  --accent-bg:   #eeeeff;

  --text:        #0f0f1a;
  --text-muted:  #5e5e72;

  --bg:          #ffffff;
  --bg-alt:      #f7f7fb;
  --border:      #e3e3ef;

  --footer-bg:   #0f0f1a;

  --font-heading: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --max-w: 1160px;
  --px: clamp(1.25rem, 5vw, 3rem);
}

/* ---- Base ---- */

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body { line-height: 1.6; }

/* ---- Container ---- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 4.25rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.nav__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 18px rgba(68, 63, 222, 0.32);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.375rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__title .accent { color: var(--accent); }

.hero__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 430px;
  margin-bottom: 2.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img-wrap::before {
  content: none;
}

.hero__img-wrap img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  padding: 0;
  border-radius: var(--r-md);
  box-shadow: 0 18px 42px rgba(15, 15, 26, 0.08);
}

/* ============================================================
   Section Shared
   ============================================================ */

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ============================================================
   Feature Cards
   ============================================================ */

.features {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--bg-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   Process / Ablauf
   ============================================================ */

.process {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--bg);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process__step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
}

.process__num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-bg);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process__step h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   Contact
   ============================================================ */

.contact {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 440px;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.18s;
}

.contact__link:hover { color: var(--accent-dark); }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--footer-bg);
  padding-block: 1.75rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #70708a;
}

.footer__link {
  color: #70708a;
  transition: color 0.18s;
}

.footer__link:hover { color: #ffffff; }

/* ============================================================
   Impressum / Prose
   ============================================================ */

.prose-page {
  padding-block: clamp(3rem, 7vw, 5rem);
  max-width: 720px;
}

.back-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 0.875rem 0.4rem 0.625rem;
  margin-bottom: 2.5rem;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.back-link:hover {
  color: var(--accent);
  background: var(--accent-bg);
  border-color: var(--accent-bg);
}

.prose-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.prose-page .page-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* Contact info card on impressum */
.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  line-height: 1.9;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.prose-page h2 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.25rem;
  margin-bottom: 0.625rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.prose-page h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose-page h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.375rem;
}

.prose-page p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.875rem;
}

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

.prose-page strong { color: var(--text); font-weight: 600; }

.prose-page a:not(.back-link) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-page .footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__img-wrap {
    order: -1;
  }

  .hero__img-wrap img {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero__lead { max-width: 100%; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .features__grid,
  .process__steps {
    grid-template-columns: 1fr;
  }

  .hero__ctas {
    flex-direction: column;
  }

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