:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef3f8;
  --text: #142033;
  --muted: #5e6d80;
  --line: #d9e2ec;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #2563eb;
  --warning: #d97706;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.language-links {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
}

.language-code {
  display: none;
}

.language-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.hero {
  padding-top: 86px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero-content {
  container-type: inline-size;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1rem, 13cqi, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

html[lang="de"] .hero h1 {
  font-size: clamp(1rem, 11.5cqi, 5.4rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-text + .hero-text {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  flex: 0 0 auto;
}

.hero-visual {
  min-width: 0;
}

.drawing-gallery {
  padding: clamp(10px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.drawing-slide {
  margin: 0;
}

.drawing-preview {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-strong);
}

.drawing-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawing-slide figcaption {
  margin-top: 12px;
  text-align: center;
  font-weight: 700;
}

.drawing-caption-detail {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.drawing-controls:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.drawing-button {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.drawing-button:hover {
  border-color: var(--primary);
  background: var(--surface-strong);
}

.drawing-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: start;
}

.two-column p,
.section-heading p,
.demo-copy p,
.contact p,
.footer-grid p {
  color: var(--muted);
}

.issue-list {
  display: grid;
  gap: 14px;
}

.issue-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.issue-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent);
  font-weight: 800;
  flex: 0 0 auto;
}

.issue-item p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.solution {
  background: var(--surface);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 620px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-examples {
  margin-top: 48px;
}

.step-card,
.benefit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-card {
  padding: 26px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
}

.step-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: 24px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-weight: 800;
}

.audience {
  background: #ffffff;
}

.audience-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.audience-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-panel li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.audience-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.demo-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: center;
}

.demo-video {
  min-width: 0;
  margin: 0;
}

.demo-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--text);
}

.demo-video figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.contact {
  background: var(--surface);
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.contact-form label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.form-message.is-error {
  color: #b42318;
}

.contact-form button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-help,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-privacy a,
.privacy-page a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-page {
  max-width: 760px;
}

.privacy-page h1 {
  margin: 20px 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.privacy-page h2 {
  margin: 30px 0 8px;
  font-size: 1.25rem;
}

.privacy-page p {
  margin: 0 0 12px;
}

.privacy-draft {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-footer {
  padding: 42px 0;
  color: #dbe7f3;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  color: #ffffff;
}

.footer-grid p {
  margin: 6px 0;
  color: #b7c4d2;
}

.copyright {
  justify-self: end;
}

@media (max-width: 1180px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .hero-grid,
  .two-column,
  .demo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .steps,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    min-height: 68px;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: var(--surface-strong);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .steps,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 440px) {
  .language-link {
    justify-content: center;
    min-width: 40px;
    padding: 0 8px;
  }

  .language-name {
    display: none;
  }

  .language-code {
    display: inline;
  }

  .btn {
    width: 100%;
    padding: 0 16px;
  }

  .hero-benefit {
    align-items: flex-start;
  }

  .issue-item {
    align-items: flex-start;
  }

  .contact-form {
    padding: 20px;
  }
}
