:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #111218;
  --muted: #6c7380;
  --border: #d9dde5;
  --accent: #35e0d0;
  --accent-soft: rgba(53, 224, 208, 0.16);
  --shadow-soft: 0 18px 40px rgba(8, 19, 34, 0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

body {
  line-height: 1.6;
}

/* Layout */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.section-title.center {
  text-align: center;
}

.section-text {
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--muted);
}

.subheading {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 840px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 60px 0;
  }
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 221, 229, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.logo-mark {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  margin-right: 6px;
}

.logo-text {
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.9rem;
}

.nav-link {
  text-decoration: none;
  color: #30323a;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: rgba(217, 221, 229, 0.6);
}

.lang-switcher {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(217, 221, 229, 0.9);
  background-color: #f8fafc;
}

.lang-btn {
  border: none;
  background: none;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: #555b66;
}

.lang-btn.active {
  background-color: var(--accent);
  color: #041013;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 72px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.hero-subtitle strong {
  font-weight: 600;
}

.hero-text {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background-color: var(--accent);
  color: #041013;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(6, 38, 35, 0.25);
}

.btn.ghost {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: var(--border);
  color: #111218;
}

.btn.ghost:hover {
  background-color: #f4f6f8;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  max-width: 420px;
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* адаптив hero */

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero {
    padding-top: 52px;
  }
}

/* Lists & cards */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--accent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.step-card {
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 20, 34, 0.03);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-soft);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.step-title {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

@media (max-width: 840px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 20, 34, 0.03);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tech */

.tech-card {
  border-radius: var(--radius-xl);
  padding: 18px 18px 12px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(53, 224, 208, 0.12), #ffffff);
  box-shadow: var(--shadow-soft);
}

.tech-metric {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(130, 140, 156, 0.5);
  font-size: 0.93rem;
}

.tech-metric:last-child {
  border-bottom: none;
}

.tech-label {
  color: var(--muted);
}

.tech-value {
  font-weight: 600;
}

/* Climate metrics */

.climate-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  text-align: center;
}

.metric-value {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .climate-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Roadmap */

.roadmap {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.roadmap li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(217, 221, 229, 0.9);
  font-size: 0.93rem;
}

.roadmap li:last-child {
  border-bottom: none;
}

.roadmap-date {
  display: inline-block;
  min-width: 80px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.86rem;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: var(--accent-soft);
  margin-right: 6px;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
}

.team-card {
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 20, 34, 0.03);
}

.avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #c9ced4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #041013;
  margin-bottom: 10px;
}

.team-card h3 {
  margin: 0 0 2px;
}

.role {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.team-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.team-competencies ul {
  margin-top: 8px;
}

@media (max-width: 840px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact */

.contact-links p {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.contact-links a {
  color: #0067ff;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 20, 34, 0.03);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 0.86rem;
  margin-bottom: 4px;
  color: #444a55;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background-color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(53, 224, 208, 0.15);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(217, 221, 229, 0.9);
  background-color: #f8fafc;
  padding: 14px 0;
  font-size: 0.8rem;
  color: #6f7480;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-meta {
  opacity: 0.85;
}

/* Language visibility */

.lang {
  display: none;
}

body.lang-de .lang-de {
  display: inline;
}

body.lang-en .lang-en {
  display: inline;
}

/* Default if no class yet (DE) */
body:not(.lang-en) .lang-de {
  display: inline;
}

/* Make block elements with .lang behave correctly */
p .lang,
h1 .lang,
h2 .lang,
h3 .lang,
li .lang,
span .lang {
  display: none;
}

body.lang-de p .lang-de,
body.lang-de h1 .lang-de,
body.lang-de h2 .lang-de,
body.lang-de h3 .lang-de,
body.lang-de li .lang-de,
body.lang-de span .lang-de {
  display: inline;
}

body.lang-en p .lang-en,
body.lang-en h1 .lang-en,
body.lang-en h2 .lang-en,
body.lang-en h3 .lang-en,
body.lang-en li .lang-en,
body.lang-en span .lang-en {
  display: inline;
}
