/* ── Font ──────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/major-mono-display-v12-latin-regular.woff2') format('woff2'),
       url('/assets/fonts/major-mono-display-v12-latin-regular.woff') format('woff');
}

/* ── Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Major Mono Display', monospace;
  font-weight: 400;
  color: #fff;
  background: #ff5e35;
  line-height: 1.2;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Layout helpers ────────────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-inner.narrow {
  max-width: 740px;
}

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ff5e35;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
}

.logo { height: 30px; width: auto; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 100px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #330136;
}

/* ── Section headings ──────────────────────────────────────────── */
h2 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: #330136;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  color: #330136;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

p {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

/* ── Services ──────────────────────────────────────────────────── */
.services {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 48px 40px;
}

/* ── Technologies ──────────────────────────────────────────────── */
.tech {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

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

.tech-group h3 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(51, 1, 54, 0.5);
  margin-bottom: 12px;
}

/* ── Sectors ───────────────────────────────────────────────────── */
.sectors {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ── Contact CTA ───────────────────────────────────────────────── */
.contact-cta {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-cta .section-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-cta a {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #330136;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.contact-cta a:hover { opacity: 0.6; }

.sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
}

/* ── Page hero (impressum) ─────────────────────────────────────── */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #330136;
  letter-spacing: -0.02em;
}

/* ── Legal section ─────────────────────────────────────────────── */
.legal-section {
  padding: 60px 0 80px;
}

.legal-section p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-section a {
  color: #330136;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.footer-inner a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-inner a:hover { color: #fff; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section-inner { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .sector-list { grid-template-columns: 1fr 1fr; }
  .sector-list .sector-item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero { padding: 72px 0 56px; }
  .services, .tech, .sectors, .contact-cta { padding: 56px 0; }
  .service-list { grid-template-columns: 1fr; gap: 36px; }
  .tech-grid { grid-template-columns: 1fr; }
  .sector-list { grid-template-columns: 1fr; }
  .sector-list .sector-item:last-child { grid-column: auto; }
}
