@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: block;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: block;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --navy: #0f0c74;
  --navy-dark: #0b0960;
  --gray-bg: #f3f6fb;
  --text: #313131;
  --text-light: #555;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
}

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-img {
  width: 200px;
  height: 42px;
  display: block;
  color: transparent;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav .nav-item {
  position: relative;
}

nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity .2s;
  padding: 4px 0;
}

nav a:hover { opacity: .65; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 200px;
  background: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(11,9,96,0.13), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  padding: 8px;
  z-index: 200;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text);
  padding: 10px 14px;
  display: block;
  text-transform: none;
  border-radius: 4px;
  transition: background .15s, color .15s;
}

.dropdown a:hover {
  background: #f0f2fa;
  color: var(--navy);
  opacity: 1;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all .25s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 420px;
  background: #2a2a2a;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -8deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 28px
    ),
    linear-gradient(135deg, #111111 0%, #2e2e2e 40%, #4a4a4a 70%, #3a3a3a 100%);
}

.hero-waves {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 68%;
  height: 145%;
  opacity: 0.5;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}

.hero-content p.tagline {
  font-size: 15.5px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 20px;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.hero-content p.tagline strong {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-content p.body {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 500px;
}

/* ── HOME CARDS ── */
.cards-section {
  padding: 72px 60px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.card {
  background: var(--gray-bg);
  padding: 36px 32px 40px;
  flex: 1;
  max-width: 380px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.card h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card .divider {
  width: 100%;
  height: 1px;
  background: #c8cdd8;
  margin-bottom: 22px;
}

.card p {
  font-size: 13.5px;
  color: #444;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--navy);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
  transition: background .2s;
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* ── PAGE CONTENT ── */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0 80px;
}

.page-content h1 {
  color: var(--navy);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
}

.page-content h2 {
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 48px;
}

.page-content h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 32px;
}

.page-content p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}

.page-content a {
  color: var(--navy);
}

.page-content ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.page-content ul li {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 10px;
  color: var(--text);
}

/* ── MEDIA TEXT ── */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.media-text.media-right .media-text__media { order: 2; }
.media-text.media-right .media-text__content { order: 1; }

.media-text__media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.media-text__content {
  padding: 8px 0;
}

/* ── SEPARATOR ── */
.separator {
  border: none;
  border-top: 1px solid #d0d5e0;
  margin: 40px 0 28px;
}

/* ── CTA BLOCK ── */
.cta-block {
  margin-top: 8px;
}

.cta-block p {
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text);
}

/* ── PRODUKTE GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.product-tile {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}

.product-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tile .tile-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.product-tile .tile-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s;
}

.product-tile .tile-btn:hover { background: var(--navy-dark); }

/* ── DOWNLOADS ── */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ── CONTACT LAYOUT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 8px;
}

.contact-info h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 20px;
  margin-top: 0;
}

.contact-info p {
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 6px;
}

.contact-info a {
  color: var(--navy);
  text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 4px;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  min-height: 16px;
}

/* ── NEWS ITEMS ── */
.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e8e8e8;
}

.news-item:last-of-type {
  border-bottom: none;
}

.news-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-item h2 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 0;
}

.news-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 56px 60px 34px;
  color: rgba(255,255,255,0.85);
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
}

.footer-address {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
  margin-bottom: 22px;
}

.footer-address a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

.footer-address a:hover { text-decoration: underline; }

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
  margin-bottom: 40px;
  text-decoration: none;
}

.linkedin-icon:hover { background: rgba(255,255,255,0.28); }

.linkedin-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 0 24px; }

  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8e8e8; padding: 16px 24px 24px; gap: 0; z-index: 200; }
  nav.open .nav-item { width: 100%; }
  nav.open .nav-item > a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  nav.open .dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; border-radius: 0; }

  .hamburger { display: flex; }

  .hero { height: auto; padding: 48px 24px; }
  .hero-content { padding: 0; max-width: 100%; }
  .hero-waves { display: none; }

  .cards-section { flex-direction: column; padding: 40px 24px; align-items: center; }
  .card { max-width: 100%; width: 100%; }

  .page-content { padding: 36px 24px 60px; }
  .page-header { padding: 32px 24px 24px; }

  .media-text { grid-template-columns: 1fr; gap: 24px; }
  .media-text.media-right .media-text__media { order: 0; }
  .media-text.media-right .media-text__content { order: 0; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .news-item { grid-template-columns: 1fr; gap: 20px; }

  footer { padding: 40px 24px 24px; }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
