/* Layout — asymmetric dark clean-tech */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

section, header, footer, main, article, aside, nav {
  max-width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin-top: 0;
}

p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-green {
  background: var(--bg-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.wide {
  max-width: 52rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-lg {
  gap: 1.5rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.media-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}

.media-split.offset {
  grid-template-columns: 0.92fr 1.08fr;
}

.media-split.reverse .media-visual {
  order: 2;
}

.media-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.media-visual.framed {
  padding: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.site-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  background: var(--surface-alt);
}

.site-img-hero {
  aspect-ratio: 5 / 4;
  min-height: 320px;
  object-position: 72% center;
}

.site-img-landscape {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.site-img-square {
  aspect-ratio: 1 / 1;
  min-height: 200px;
}

.site-img-article {
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

.site-img-doc {
  object-position: center 20%;
}

.site-img-face {
  object-position: center 15%;
}

.site-img-roof {
  object-position: center 35%;
}

.site-img-tech {
  object-position: center center;
}

@media (max-width: 640px) {
  .site-img-hero {
    aspect-ratio: 4 / 3;
    min-height: 240px;
    object-position: 65% center;
  }

  .site-img-doc,
  .site-img-face {
    object-position: center 12%;
  }
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}

.prose h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
}

.prose p, .prose ul, .prose ol {
  margin-bottom: 1.05rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--primary);
}

/* Header — floating pill style on desktop */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: inherit;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem;
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 550;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-strong);
  background: rgba(61, 155, 110, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-actions .nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(61, 155, 110, 0.25);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 999;
  padding: 1.25rem 1rem 2rem;
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--text-strong);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  min-height: 48px;
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 1.25rem;
}

/* Hero — editorial asymmetric */
.hero {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(61, 155, 110, 0.28), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 181, 106, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.5rem;
}

.hero-copy h1 {
  margin-bottom: 1.1rem;
}

.hero-copy h1 .line-accent {
  display: block;
  color: var(--accent);
}

.hero-copy .lead {
  margin-bottom: 1.75rem;
}

.hero-value {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-visual-wrap {
  position: relative;
}

.hero-visual-wrap .float-chip {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  max-width: 220px;
  box-shadow: var(--shadow-md);
}

.hero-visual-wrap .float-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-strong);
  margin-bottom: 0.2rem;
}

.hero-visual-wrap .float-chip span {
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-strip {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 155, 110, 0.2);
}

/* Pricing — stacked feature cards */
.pricing-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

.pricing-grid .card.featured {
  border-color: rgba(110, 201, 160, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 155, 110, 0.2), var(--shadow-md);
  position: relative;
}

.pricing-grid .card.featured::before {
  content: "Häufig gewählt";
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.pricing-grid ul {
  flex: 1;
  margin: 0.5rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Process zigzag */
.process-zigzag {
  display: grid;
  gap: 0;
}

.process-zigzag .process-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.process-zigzag .process-row:last-child {
  border-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-grid .card {
  padding: 1.2rem;
  background: var(--bg-elevated);
}

.process-grid.dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 1.25rem;
  min-height: 52px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-strong);
  font-family: var(--font-display);
}

.faq-q:hover {
  background: rgba(61, 155, 110, 0.08);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-a.is-open {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner > div {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%9bb0a4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-group option {
  background: var(--bg-elevated);
  color: var(--text);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 155, 110, 0.25);
}

.form-group .error {
  color: var(--danger);
  font-size: 0.85rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-privacy {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(61, 155, 110, 0.18), transparent 55%),
    var(--bg-elevated);
}

.page-hero h1 {
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.article-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card .site-img,
.article-card .placeholder-img {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.article-card .article-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.article-card .article-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Footer */
.footer-top {
  padding-block: 3.25rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

.footer-brand p {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  max-width: 30ch;
  color: var(--muted-soft);
}

.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--solar);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  font-size: 0.92rem;
}

.footer-contact a,
.contact-info a,
.legal-content a[href^="mailto:"],
.legal-content a[href^="https://firstcoin.info"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-mid {
  padding-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.footer-bottom button {
  background: none;
  border: 0;
  color: #c5d8cd;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 0;
  min-height: 44px;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 520px;
  padding: 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.cookie-panel.is-open {
  display: block;
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-cat:last-child {
  border-bottom: 0;
}

.cookie-cat strong {
  display: block;
  font-size: 0.9rem;
}

.cookie-cat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.cookie-cat input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(212, 181, 106, 0.15), transparent 50%),
    linear-gradient(120deg, #143528 0%, #1f5c45 55%, #0f2a1f 100%);
  color: #e8f0ec;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(110, 201, 160, 0.25);
  padding: clamp(1.85rem, 4vw, 2.85rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
  color: #b7cec2;
}

.cta-band .btn-primary {
  background: #fff;
  color: #134032;
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--solar);
  color: #0c1612;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.legal-content,
.article-content {
  max-width: 780px;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content ul {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--solar);
  margin-top: 1.1rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.3rem 0 0;
  color: var(--text-strong);
  font-weight: 550;
}

.thanks-box {
  max-width: 560px;
  margin: 4rem auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.factor-grid .card {
  padding: 1.2rem;
  background: var(--bg-elevated);
}

.factor-grid h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.factor-grid p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 3000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

h1, h2, h3, p, a, li, label, button, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Unique homepage modules */
.intro-deck {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.intro-deck .deck-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.service-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.service-ribbon article {
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  margin: 0;
}

.service-ribbon article h3 {
  margin-bottom: 0.5rem;
}

.service-ribbon article p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.dual-feature {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.15rem;
}

.dual-feature .main-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.dual-feature .main-block .copy {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dual-feature .side-stack {
  display: grid;
  gap: 1.15rem;
}

.number-list {
  counter-reset: how;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.number-list li {
  counter-increment: how;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.number-list li::before {
  content: counter(how, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 750;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.2;
}

.transparency-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-strong);
  background: rgba(61, 155, 110, 0.06);
}

@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header-actions .nav-cta {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento .b1,
  .bento .b2,
  .bento .b3,
  .bento .b4,
  .bento .b5,
  .bento .b-wide,
  .bento .b-side {
    grid-column: span 1;
  }

  .service-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .stat-rail {
    grid-template-columns: 1fr 1fr;
  }

  .stat-rail > div:nth-child(2) {
    border-right: 0;
  }

  .stat-rail > div:nth-child(1),
  .stat-rail > div:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .media-split,
  .media-split.reverse,
  .contact-grid,
  .intro-deck,
  .dual-feature,
  .dual-feature .main-block,
  .split-panel,
  .transparency-panel,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .media-split.reverse .media-visual {
    order: 0;
  }

  .split-panel .panel-side {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .grid-3,
  .pricing-grid,
  .process-grid,
  .process-grid.dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-deck .deck-aside {
    position: static;
  }

  .hero-visual-wrap .float-chip {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide {
    width: min(100% - 1.25rem, var(--container));
  }

  .grid-2,
  .grid-3,
  .pricing-grid,
  .process-grid,
  .process-grid.dense,
  .form-grid,
  .footer-grid,
  .factor-grid,
  .service-ribbon,
  .stat-rail,
  .bento {
    grid-template-columns: 1fr;
  }

  .stat-rail > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stat-rail > div:last-child {
    border-bottom: 0;
  }

  .flow-steps .flow-arrow {
    display: none;
  }

  .flow-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-steps .flow-item {
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    max-width: none;
  }

  .cookie-actions .btn {
    flex: 1 1 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn {
    width: 100%;
  }

  .page-hero h1 {
    max-width: none;
  }

  .diagonal-band {
    clip-path: none;
    padding-block: var(--section-space);
  }
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
